Build Information
Failed to build YouTubeKit, reference v2.4.0 (1f963c
), with Swift 6.1 for Wasm on 7 Jun 2025 22:34:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
332 | override func start() {
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
336 | data, response, error in
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:25: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:52: error: cannot infer contextual base in reference to member 'ephemeral'
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: cannot infer contextual base in reference to member 'ephemeral'
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:344:24: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
342 | semaphore.signal()
343 | })
344 | self.task?.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
345 | semaphore.wait()
346 | }
[21/108] Compiling YouTubeKit DownloadFormat.swift
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:308:50: error: cannot find type 'Operation' in scope
306 |
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
| `- error: cannot find type 'Operation' in scope
309 | override var isAsynchronous: Bool { true }
310 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:309:22: error: property does not override any property from its superclass
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
309 | override var isAsynchronous: Bool { true }
| `- error: property does not override any property from its superclass
310 |
311 | override var isExecuting: Bool { result == nil }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:311:22: error: property does not override any property from its superclass
309 | override var isAsynchronous: Bool { true }
310 |
311 | override var isExecuting: Bool { result == nil }
| `- error: property does not override any property from its superclass
312 |
313 | override var isFinished: Bool { !isExecuting }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:313:22: error: property does not override any property from its superclass
311 | override var isExecuting: Bool { result == nil }
312 |
313 | override var isFinished: Bool { !isExecuting }
| `- error: property does not override any property from its superclass
314 |
315 | private let playerURL: URL
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:317:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
315 | private let playerURL: URL
316 |
317 | private var task: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
318 |
319 | var result: Result<Data, Error>? {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:332:23: error: method does not override any method from its superclass
330 | }
331 |
332 | override func start() {
| `- error: method does not override any method from its superclass
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:273:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
271 | }
272 | do {
273 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
274 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).ab",
275 | contents: try JSONEncoder().encode(instructionsArray)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:278:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
276 | )
277 |
278 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
279 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).abn",
280 | contents: nParameterFunctionData
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:295:27: error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
293 | let downloadOperation = DownloadPlayerOperation(playerURL: playerURL)
294 | downloadOperation.start()
295 | downloadOperation.waitUntilFinished()
| `- error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
296 |
297 | guard let result = downloadOperation.result else { throw ResponseError(step: .downloadPlayer, reason: "Download operation did not return a result.") }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:329:13: error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
327 | init(playerURL: URL) {
328 | self.playerURL = playerURL
329 | super.init()
| `- error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
330 | }
331 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:333:20: error: cannot find 'isCancelled' in scope
331 |
332 | override func start() {
333 | guard !isCancelled else { return }
| `- error: cannot find 'isCancelled' in scope
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:334:29: error: cannot find 'DispatchSemaphore' in scope
332 | override func start() {
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
336 | data, response, error in
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:25: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:52: error: cannot infer contextual base in reference to member 'ephemeral'
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: cannot infer contextual base in reference to member 'ephemeral'
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:344:24: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
342 | semaphore.signal()
343 | })
344 | self.task?.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
345 | semaphore.wait()
346 | }
[22/108] Compiling YouTubeKit MediaType.swift
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:308:50: error: cannot find type 'Operation' in scope
306 |
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
| `- error: cannot find type 'Operation' in scope
309 | override var isAsynchronous: Bool { true }
310 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:309:22: error: property does not override any property from its superclass
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
309 | override var isAsynchronous: Bool { true }
| `- error: property does not override any property from its superclass
310 |
311 | override var isExecuting: Bool { result == nil }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:311:22: error: property does not override any property from its superclass
309 | override var isAsynchronous: Bool { true }
310 |
311 | override var isExecuting: Bool { result == nil }
| `- error: property does not override any property from its superclass
312 |
313 | override var isFinished: Bool { !isExecuting }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:313:22: error: property does not override any property from its superclass
311 | override var isExecuting: Bool { result == nil }
312 |
313 | override var isFinished: Bool { !isExecuting }
| `- error: property does not override any property from its superclass
314 |
315 | private let playerURL: URL
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:317:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
315 | private let playerURL: URL
316 |
317 | private var task: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
318 |
319 | var result: Result<Data, Error>? {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:332:23: error: method does not override any method from its superclass
330 | }
331 |
332 | override func start() {
| `- error: method does not override any method from its superclass
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:273:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
271 | }
272 | do {
273 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
274 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).ab",
275 | contents: try JSONEncoder().encode(instructionsArray)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:278:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
276 | )
277 |
278 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
279 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).abn",
280 | contents: nParameterFunctionData
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:295:27: error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
293 | let downloadOperation = DownloadPlayerOperation(playerURL: playerURL)
294 | downloadOperation.start()
295 | downloadOperation.waitUntilFinished()
| `- error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
296 |
297 | guard let result = downloadOperation.result else { throw ResponseError(step: .downloadPlayer, reason: "Download operation did not return a result.") }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:329:13: error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
327 | init(playerURL: URL) {
328 | self.playerURL = playerURL
329 | super.init()
| `- error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
330 | }
331 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:333:20: error: cannot find 'isCancelled' in scope
331 |
332 | override func start() {
333 | guard !isCancelled else { return }
| `- error: cannot find 'isCancelled' in scope
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:334:29: error: cannot find 'DispatchSemaphore' in scope
332 | override func start() {
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
336 | data, response, error in
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:25: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:52: error: cannot infer contextual base in reference to member 'ephemeral'
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: cannot infer contextual base in reference to member 'ephemeral'
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:344:24: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
342 | semaphore.signal()
343 | })
344 | self.task?.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
345 | semaphore.wait()
346 | }
[23/108] Compiling YouTubeKit MoreVideoInfosResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:308:50: error: cannot find type 'Operation' in scope
306 |
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
| `- error: cannot find type 'Operation' in scope
309 | override var isAsynchronous: Bool { true }
310 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:309:22: error: property does not override any property from its superclass
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
309 | override var isAsynchronous: Bool { true }
| `- error: property does not override any property from its superclass
310 |
311 | override var isExecuting: Bool { result == nil }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:311:22: error: property does not override any property from its superclass
309 | override var isAsynchronous: Bool { true }
310 |
311 | override var isExecuting: Bool { result == nil }
| `- error: property does not override any property from its superclass
312 |
313 | override var isFinished: Bool { !isExecuting }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:313:22: error: property does not override any property from its superclass
311 | override var isExecuting: Bool { result == nil }
312 |
313 | override var isFinished: Bool { !isExecuting }
| `- error: property does not override any property from its superclass
314 |
315 | private let playerURL: URL
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:317:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
315 | private let playerURL: URL
316 |
317 | private var task: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
318 |
319 | var result: Result<Data, Error>? {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:332:23: error: method does not override any method from its superclass
330 | }
331 |
332 | override func start() {
| `- error: method does not override any method from its superclass
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:273:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
271 | }
272 | do {
273 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
274 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).ab",
275 | contents: try JSONEncoder().encode(instructionsArray)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:278:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
276 | )
277 |
278 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
279 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).abn",
280 | contents: nParameterFunctionData
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:295:27: error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
293 | let downloadOperation = DownloadPlayerOperation(playerURL: playerURL)
294 | downloadOperation.start()
295 | downloadOperation.waitUntilFinished()
| `- error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
296 |
297 | guard let result = downloadOperation.result else { throw ResponseError(step: .downloadPlayer, reason: "Download operation did not return a result.") }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:329:13: error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
327 | init(playerURL: URL) {
328 | self.playerURL = playerURL
329 | super.init()
| `- error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
330 | }
331 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:333:20: error: cannot find 'isCancelled' in scope
331 |
332 | override func start() {
333 | guard !isCancelled else { return }
| `- error: cannot find 'isCancelled' in scope
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:334:29: error: cannot find 'DispatchSemaphore' in scope
332 | override func start() {
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
336 | data, response, error in
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:25: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:52: error: cannot infer contextual base in reference to member 'ephemeral'
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: cannot infer contextual base in reference to member 'ephemeral'
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:344:24: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
342 | semaphore.signal()
343 | })
344 | self.task?.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
345 | semaphore.wait()
346 | }
[24/108] Compiling YouTubeKit VideoCaptionsResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:308:50: error: cannot find type 'Operation' in scope
306 |
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
| `- error: cannot find type 'Operation' in scope
309 | override var isAsynchronous: Bool { true }
310 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:309:22: error: property does not override any property from its superclass
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
309 | override var isAsynchronous: Bool { true }
| `- error: property does not override any property from its superclass
310 |
311 | override var isExecuting: Bool { result == nil }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:311:22: error: property does not override any property from its superclass
309 | override var isAsynchronous: Bool { true }
310 |
311 | override var isExecuting: Bool { result == nil }
| `- error: property does not override any property from its superclass
312 |
313 | override var isFinished: Bool { !isExecuting }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:313:22: error: property does not override any property from its superclass
311 | override var isExecuting: Bool { result == nil }
312 |
313 | override var isFinished: Bool { !isExecuting }
| `- error: property does not override any property from its superclass
314 |
315 | private let playerURL: URL
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:317:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
315 | private let playerURL: URL
316 |
317 | private var task: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
318 |
319 | var result: Result<Data, Error>? {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:332:23: error: method does not override any method from its superclass
330 | }
331 |
332 | override func start() {
| `- error: method does not override any method from its superclass
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:273:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
271 | }
272 | do {
273 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
274 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).ab",
275 | contents: try JSONEncoder().encode(instructionsArray)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:278:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
276 | )
277 |
278 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
279 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).abn",
280 | contents: nParameterFunctionData
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:295:27: error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
293 | let downloadOperation = DownloadPlayerOperation(playerURL: playerURL)
294 | downloadOperation.start()
295 | downloadOperation.waitUntilFinished()
| `- error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
296 |
297 | guard let result = downloadOperation.result else { throw ResponseError(step: .downloadPlayer, reason: "Download operation did not return a result.") }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:329:13: error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
327 | init(playerURL: URL) {
328 | self.playerURL = playerURL
329 | super.init()
| `- error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
330 | }
331 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:333:20: error: cannot find 'isCancelled' in scope
331 |
332 | override func start() {
333 | guard !isCancelled else { return }
| `- error: cannot find 'isCancelled' in scope
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:334:29: error: cannot find 'DispatchSemaphore' in scope
332 | override func start() {
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
336 | data, response, error in
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:25: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:52: error: cannot infer contextual base in reference to member 'ephemeral'
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: cannot infer contextual base in reference to member 'ephemeral'
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:344:24: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
342 | semaphore.signal()
343 | })
344 | self.task?.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
345 | semaphore.wait()
346 | }
[25/108] Compiling YouTubeKit VideoCommentsResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:308:50: error: cannot find type 'Operation' in scope
306 |
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
| `- error: cannot find type 'Operation' in scope
309 | override var isAsynchronous: Bool { true }
310 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:309:22: error: property does not override any property from its superclass
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
309 | override var isAsynchronous: Bool { true }
| `- error: property does not override any property from its superclass
310 |
311 | override var isExecuting: Bool { result == nil }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:311:22: error: property does not override any property from its superclass
309 | override var isAsynchronous: Bool { true }
310 |
311 | override var isExecuting: Bool { result == nil }
| `- error: property does not override any property from its superclass
312 |
313 | override var isFinished: Bool { !isExecuting }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:313:22: error: property does not override any property from its superclass
311 | override var isExecuting: Bool { result == nil }
312 |
313 | override var isFinished: Bool { !isExecuting }
| `- error: property does not override any property from its superclass
314 |
315 | private let playerURL: URL
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:317:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
315 | private let playerURL: URL
316 |
317 | private var task: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
318 |
319 | var result: Result<Data, Error>? {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:332:23: error: method does not override any method from its superclass
330 | }
331 |
332 | override func start() {
| `- error: method does not override any method from its superclass
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:273:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
271 | }
272 | do {
273 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
274 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).ab",
275 | contents: try JSONEncoder().encode(instructionsArray)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:278:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
276 | )
277 |
278 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
279 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).abn",
280 | contents: nParameterFunctionData
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:295:27: error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
293 | let downloadOperation = DownloadPlayerOperation(playerURL: playerURL)
294 | downloadOperation.start()
295 | downloadOperation.waitUntilFinished()
| `- error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
296 |
297 | guard let result = downloadOperation.result else { throw ResponseError(step: .downloadPlayer, reason: "Download operation did not return a result.") }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:329:13: error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
327 | init(playerURL: URL) {
328 | self.playerURL = playerURL
329 | super.init()
| `- error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
330 | }
331 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:333:20: error: cannot find 'isCancelled' in scope
331 |
332 | override func start() {
333 | guard !isCancelled else { return }
| `- error: cannot find 'isCancelled' in scope
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:334:29: error: cannot find 'DispatchSemaphore' in scope
332 | override func start() {
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
336 | data, response, error in
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:25: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:52: error: cannot infer contextual base in reference to member 'ephemeral'
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: cannot infer contextual base in reference to member 'ephemeral'
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:344:24: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
342 | semaphore.signal()
343 | })
344 | self.task?.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
345 | semaphore.wait()
346 | }
[26/108] Compiling YouTubeKit VideoInfosResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:308:50: error: cannot find type 'Operation' in scope
306 |
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
| `- error: cannot find type 'Operation' in scope
309 | override var isAsynchronous: Bool { true }
310 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:309:22: error: property does not override any property from its superclass
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
309 | override var isAsynchronous: Bool { true }
| `- error: property does not override any property from its superclass
310 |
311 | override var isExecuting: Bool { result == nil }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:311:22: error: property does not override any property from its superclass
309 | override var isAsynchronous: Bool { true }
310 |
311 | override var isExecuting: Bool { result == nil }
| `- error: property does not override any property from its superclass
312 |
313 | override var isFinished: Bool { !isExecuting }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:313:22: error: property does not override any property from its superclass
311 | override var isExecuting: Bool { result == nil }
312 |
313 | override var isFinished: Bool { !isExecuting }
| `- error: property does not override any property from its superclass
314 |
315 | private let playerURL: URL
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:317:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
315 | private let playerURL: URL
316 |
317 | private var task: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
318 |
319 | var result: Result<Data, Error>? {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:332:23: error: method does not override any method from its superclass
330 | }
331 |
332 | override func start() {
| `- error: method does not override any method from its superclass
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:273:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
271 | }
272 | do {
273 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
274 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).ab",
275 | contents: try JSONEncoder().encode(instructionsArray)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:278:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
276 | )
277 |
278 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
279 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).abn",
280 | contents: nParameterFunctionData
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:295:27: error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
293 | let downloadOperation = DownloadPlayerOperation(playerURL: playerURL)
294 | downloadOperation.start()
295 | downloadOperation.waitUntilFinished()
| `- error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
296 |
297 | guard let result = downloadOperation.result else { throw ResponseError(step: .downloadPlayer, reason: "Download operation did not return a result.") }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:329:13: error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
327 | init(playerURL: URL) {
328 | self.playerURL = playerURL
329 | super.init()
| `- error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
330 | }
331 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:333:20: error: cannot find 'isCancelled' in scope
331 |
332 | override func start() {
333 | guard !isCancelled else { return }
| `- error: cannot find 'isCancelled' in scope
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:334:29: error: cannot find 'DispatchSemaphore' in scope
332 | override func start() {
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
336 | data, response, error in
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:25: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:52: error: cannot infer contextual base in reference to member 'ephemeral'
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: cannot infer contextual base in reference to member 'ephemeral'
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:344:24: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
342 | semaphore.signal()
343 | })
344 | self.task?.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
345 | semaphore.wait()
346 | }
[27/108] Compiling YouTubeKit VideoInfosWithDownloadFormatsResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:308:50: error: cannot find type 'Operation' in scope
306 |
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
| `- error: cannot find type 'Operation' in scope
309 | override var isAsynchronous: Bool { true }
310 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:309:22: error: property does not override any property from its superclass
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
309 | override var isAsynchronous: Bool { true }
| `- error: property does not override any property from its superclass
310 |
311 | override var isExecuting: Bool { result == nil }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:311:22: error: property does not override any property from its superclass
309 | override var isAsynchronous: Bool { true }
310 |
311 | override var isExecuting: Bool { result == nil }
| `- error: property does not override any property from its superclass
312 |
313 | override var isFinished: Bool { !isExecuting }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:313:22: error: property does not override any property from its superclass
311 | override var isExecuting: Bool { result == nil }
312 |
313 | override var isFinished: Bool { !isExecuting }
| `- error: property does not override any property from its superclass
314 |
315 | private let playerURL: URL
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:317:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
315 | private let playerURL: URL
316 |
317 | private var task: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
318 |
319 | var result: Result<Data, Error>? {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:332:23: error: method does not override any method from its superclass
330 | }
331 |
332 | override func start() {
| `- error: method does not override any method from its superclass
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:273:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
271 | }
272 | do {
273 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
274 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).ab",
275 | contents: try JSONEncoder().encode(instructionsArray)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:278:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
276 | )
277 |
278 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
279 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).abn",
280 | contents: nParameterFunctionData
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:295:27: error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
293 | let downloadOperation = DownloadPlayerOperation(playerURL: playerURL)
294 | downloadOperation.start()
295 | downloadOperation.waitUntilFinished()
| `- error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
296 |
297 | guard let result = downloadOperation.result else { throw ResponseError(step: .downloadPlayer, reason: "Download operation did not return a result.") }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:329:13: error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
327 | init(playerURL: URL) {
328 | self.playerURL = playerURL
329 | super.init()
| `- error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
330 | }
331 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:333:20: error: cannot find 'isCancelled' in scope
331 |
332 | override func start() {
333 | guard !isCancelled else { return }
| `- error: cannot find 'isCancelled' in scope
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:334:29: error: cannot find 'DispatchSemaphore' in scope
332 | override func start() {
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
336 | data, response, error in
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:25: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:52: error: cannot infer contextual base in reference to member 'ephemeral'
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: cannot infer contextual base in reference to member 'ephemeral'
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:344:24: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
342 | semaphore.signal()
343 | })
344 | self.task?.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
345 | semaphore.wait()
346 | }
[28/108] Compiling YouTubeKit [URLQueryItem]+makeUnique.swift
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:308:50: error: cannot find type 'Operation' in scope
306 |
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
| `- error: cannot find type 'Operation' in scope
309 | override var isAsynchronous: Bool { true }
310 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:309:22: error: property does not override any property from its superclass
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
309 | override var isAsynchronous: Bool { true }
| `- error: property does not override any property from its superclass
310 |
311 | override var isExecuting: Bool { result == nil }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:311:22: error: property does not override any property from its superclass
309 | override var isAsynchronous: Bool { true }
310 |
311 | override var isExecuting: Bool { result == nil }
| `- error: property does not override any property from its superclass
312 |
313 | override var isFinished: Bool { !isExecuting }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:313:22: error: property does not override any property from its superclass
311 | override var isExecuting: Bool { result == nil }
312 |
313 | override var isFinished: Bool { !isExecuting }
| `- error: property does not override any property from its superclass
314 |
315 | private let playerURL: URL
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:317:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
315 | private let playerURL: URL
316 |
317 | private var task: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
318 |
319 | var result: Result<Data, Error>? {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:332:23: error: method does not override any method from its superclass
330 | }
331 |
332 | override func start() {
| `- error: method does not override any method from its superclass
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:273:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
271 | }
272 | do {
273 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
274 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).ab",
275 | contents: try JSONEncoder().encode(instructionsArray)
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:278:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
276 | )
277 |
278 | FileManager.default.createFile(
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
279 | atPath: documentDirectoryPath + "YouTubeKitPlayers-\(playerName).abn",
280 | contents: nParameterFunctionData
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:295:27: error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
293 | let downloadOperation = DownloadPlayerOperation(playerURL: playerURL)
294 | downloadOperation.start()
295 | downloadOperation.waitUntilFinished()
| `- error: value of type 'VideoInfosWithDownloadFormatsResponse.DownloadPlayerOperation' has no member 'waitUntilFinished'
296 |
297 | guard let result = downloadOperation.result else { throw ResponseError(step: .downloadPlayer, reason: "Download operation did not return a result.") }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:329:13: error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
327 | init(playerURL: URL) {
328 | self.playerURL = playerURL
329 | super.init()
| `- error: 'super' cannot be used in class 'DownloadPlayerOperation' because it has no superclass
330 | }
331 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:333:20: error: cannot find 'isCancelled' in scope
331 |
332 | override func start() {
333 | guard !isCancelled else { return }
| `- error: cannot find 'isCancelled' in scope
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:334:29: error: cannot find 'DispatchSemaphore' in scope
332 | override func start() {
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
336 | data, response, error in
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:25: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:335:52: error: cannot infer contextual base in reference to member 'ephemeral'
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
335 | self.task = URLSession(configuration: .ephemeral).dataTask(with: self.playerURL, completionHandler: {
| `- error: cannot infer contextual base in reference to member 'ephemeral'
336 | data, response, error in
337 | if let data = data {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:344:24: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
342 | semaphore.signal()
343 | })
344 | self.task?.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
345 | semaphore.wait()
346 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/108] Compiling YouTubeKit YouTubeVideo+fetchStreamingInfosWithDownloadFormats.swift
[30/108] Compiling YouTubeKit YouTubeVideo+getCaptions.swift
[31/108] Compiling YouTubeKit YouTubeVideo+likeActions.swift
[32/108] Compiling YouTubeKit YouTubeVideo.swift
[33/108] Compiling YouTubeKit YTCaption.swift
[34/108] Compiling YouTubeKit YTChannel.swift
[35/108] Compiling YouTubeKit YTComment+actions.swift
[36/108] Compiling YouTubeKit YTComment.swift
[37/108] Compiling YouTubeKit YTLittleChannelInfos.swift
[38/108] Compiling YouTubeKit YTPlaylist+canShowBeDecoded.swift
[39/108] Compiling YouTubeKit YTPlaylist+decodeShowFromJSON.swift
[40/108] Compiling YouTubeKit YTPlaylist+fetchVideos.swift
[41/108] Compiling YouTubeKit YTPlaylist.swift
[42/108] Compiling YouTubeKit YTThumbnail.swift
[43/108] Emitting module YouTubeKit
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:308:50: error: cannot find type 'Operation' in scope
306 |
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
| `- error: cannot find type 'Operation' in scope
309 | override var isAsynchronous: Bool { true }
310 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:309:22: error: property does not override any property from its superclass
307 | /// Operation used to download the player.
308 | private final class DownloadPlayerOperation: Operation, @unchecked Sendable {
309 | override var isAsynchronous: Bool { true }
| `- error: property does not override any property from its superclass
310 |
311 | override var isExecuting: Bool { result == nil }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:311:22: error: property does not override any property from its superclass
309 | override var isAsynchronous: Bool { true }
310 |
311 | override var isExecuting: Bool { result == nil }
| `- error: property does not override any property from its superclass
312 |
313 | override var isFinished: Bool { !isExecuting }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:313:22: error: property does not override any property from its superclass
311 | override var isExecuting: Bool { result == nil }
312 |
313 | override var isFinished: Bool { !isExecuting }
| `- error: property does not override any property from its superclass
314 |
315 | private let playerURL: URL
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:317:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
315 | private let playerURL: URL
316 |
317 | private var task: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
318 |
319 | var result: Result<Data, Error>? {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeResponseTypes/VideoInfos/VideoInfosWithDownloadFormatsResponse.swift:332:23: error: method does not override any method from its superclass
330 | }
331 |
332 | override func start() {
| `- error: method does not override any method from its superclass
333 | guard !isCancelled else { return }
334 | let semaphore = DispatchSemaphore(value: 0)
[44/108] Compiling YouTubeKit RequestLogger+defaultImplementations.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[45/108] Compiling YouTubeKit RequestsLogger.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[46/108] Compiling YouTubeKit SwiftyJSON.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[47/108] Compiling YouTubeKit URL+AppendQueryItems.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[48/108] Compiling YouTubeKit String+ytkRegexMatches.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[49/108] Compiling YouTubeKit YouTubeModel.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[50/108] Compiling YouTubeKit YouTubeResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[51/108] Compiling YouTubeKit AccountInfosResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[52/108] Compiling YouTubeKit AccountLibraryResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[53/108] Compiling YouTubeKit AccountPlaylistsResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[54/108] Compiling YouTubeKit AccountSubscriptionsFeedResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[55/108] Compiling YouTubeKit AccountSubscriptionsResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[56/108] Compiling YouTubeKit AuthenticatedResponse.swift
/host/spi-builder-workspace/Sources/YouTubeKit/SwiftyJSON/SwiftyJSON.swift:1272:51: error: ambiguous use of operator '<'
1270 |
1271 | switch (lhs.type, rhs.type) {
1272 | case (.number, .number): return lhs.rawNumber < rhs.rawNumber
| `- error: ambiguous use of operator '<'
1273 | case (.string, .string): return lhs.rawString < rhs.rawString
1274 | default: return false
:
1306 | }
1307 |
1308 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
| `- note: found this candidate
1309 |
1310 | switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
| `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:1794:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
1792 | }
1793 | #else
1794 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
1795 | public var errorDescription: String? { self }
1796 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:128:26: error: cannot find type 'URLRequest' in scope
126 |
127 | /// Create request
128 | let request: URLRequest = HeadersList.setHeadersAgentFor(
| `- error: cannot find type 'URLRequest' in scope
129 | content: headers,
130 | data: data
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:36: error: generic parameter 'ResponseType' could not be inferred
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| |- error: generic parameter 'ResponseType' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:39:26: note: 'ResponseType' declared as parameter to type 'RequestLog'
37 |
38 | /// A structure representing a log.
39 | public struct RequestLog<ResponseType: YouTubeResponse>: Identifiable, GenericRequestLog {
| `- note: 'ResponseType' declared as parameter to type 'RequestLog'
40 | public typealias LogType = ResponseType
41 |
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:137:128: error: cannot infer contextual base in reference to member 'success'
135 | switch responseResult {
136 | case .success(let success):
137 | logger?.addLog(RequestLog(providedParameters: data, request: request, responseData: responseData, result: .success(success)))
| `- error: cannot infer contextual base in reference to member 'success'
138 | case .failure(let error):
139 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: request, responseData: responseData, result: .failure(error)))
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:145:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 | /// Create task with the request
145 | let task = URLSession.shared.dataTask(with: request) { responseData, _, error in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 | /// Check if the task worked and gave back data.
147 | if let responseData = responseData {
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:88: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:107: error: 'nil' requires a contextual type
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: 'nil' requires a contextual type
167 | result(.failure(error))
168 | }
/host/spi-builder-workspace/Sources/YouTubeKit/YouTubeModel.swift:166:121: error: cannot infer contextual base in reference to member 'failure'
164 | task.resume()
165 | } catch {
166 | logger?.addLog(RequestLog<ResponseType>(providedParameters: data, request: nil, responseData: nil, result: .failure(error)))
| `- error: cannot infer contextual base in reference to member 'failure'
167 | result(.failure(error))
168 | }
[57/108] Compiling YouTubeKit YTVideo+decodeShortFromJSON.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[58/108] Compiling YouTubeKit YTVideo+decodeVideoFromPlaylist.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[59/108] Compiling YouTubeKit YTVideo.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[60/108] Compiling YouTubeKit BadRequestDataError.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[61/108] Compiling YouTubeKit NetworkError.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[62/108] Compiling YouTubeKit ResponseExtractionError.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[63/108] Compiling YouTubeKit ParameterValidator+commonValidators.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[64/108] Compiling YouTubeKit ParameterValidator.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[65/108] Compiling YouTubeKit HeaderTypes+Hashable.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[66/108] Compiling YouTubeKit HeaderTypes+RawRepresentable.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[67/108] Compiling YouTubeKit HeaderTypes.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[68/108] Compiling YouTubeKit HeadersList.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[69/108] Compiling YouTubeKit RequestLog.swift
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:182:10: error: cannot find type 'URLRequest' in scope
180 | content: HeadersList,
181 | data: YouTubeResponse.RequestData
182 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
183 | var url = URL(string: data[.customURL] ?? "") ?? content.url
184 | if content.parameters != nil {
/host/spi-builder-workspace/Sources/YouTubeKit/HeadersList.swift:210:23: error: cannot find 'URLRequest' in scope
208 | url.append(queryItems: parametersToAppend)
209 | }
210 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
211 |
212 | /// Looping each header and add it to the request
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:26:18: error: cannot find type 'URLRequest' in scope
24 |
25 | /// The request that has been sent over the network, can be nil if the request couldn't even be made, for example if one of the given RequestParameter didn't pass the verification tests.
26 | var request: URLRequest? { get }
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | /// The raw data from the response.
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:48:25: error: cannot find type 'URLRequest' in scope
46 | public let providedParameters: RequestParameters
47 |
48 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
49 |
50 | public let responseData: Data?
/host/spi-builder-workspace/Sources/YouTubeKit/Logging/RequestLog.swift:56:65: error: cannot find type 'URLRequest' in scope
54 | public let result: Result<LogType, Error>
55 |
56 | public init(providedParameters: RequestParameters, request: URLRequest?, responseData: Data?, result: Result<LogType, Error>) {
| `- error: cannot find type 'URLRequest' in scope
57 | self.providedParameters = providedParameters
58 | self.request = request
[70/108] Compiling YouTubeKit SubscribeChannelResponse.swift
[71/108] Compiling YouTubeKit UnsubscribeChannelResponse.swift
[72/108] Compiling YouTubeKit CreateCommentResponse.swift
[73/108] Compiling YouTubeKit DeleteCommentResponse.swift
[74/108] Compiling YouTubeKit DislikeCommentResponse.swift
[75/108] Compiling YouTubeKit EditCommentResponse.swift
[76/108] Compiling YouTubeKit EditReplyCommandResponse.swift
[77/108] Compiling YouTubeKit LikeCommentResponse.swift
[78/108] Compiling YouTubeKit RemoveDislikeCommentResponse.swift
[79/108] Compiling YouTubeKit RemoveLikeCommentResponse.swift
[80/108] Compiling YouTubeKit ReplyCommentResponse.swift
[81/108] Compiling YouTubeKit HistoryBlockContent.swift
[82/108] Compiling YouTubeKit HistoryReponse+removeVideo.swift
[83/108] Compiling YouTubeKit AutoCompletionResponse.swift
[84/108] Compiling YouTubeKit ChannelContent+canDecode.swift
[85/108] Compiling YouTubeKit ChannelContent+decodeJSONFromTab.swift
[86/108] Compiling YouTubeKit ChannelContent+getContinuationFromTab.swift
[87/108] Compiling YouTubeKit ChannelContent.swift
[88/108] Compiling YouTubeKit ChannelInfosResponse.swift
[89/108] Compiling YouTubeKit ListableChannelContent+addChannelInfos.swift
[90/108] Compiling YouTubeKit ListableChannelContent.swift
[91/108] Compiling YouTubeKit HomeScreenResponse.swift
[92/108] Compiling YouTubeKit PlaylistInfosResponse.swift
[93/108] Compiling YouTubeKit SearchResponse.swift
[94/108] Compiling YouTubeKit YTSearchResult+canBeDecoded.swift
[95/108] Compiling YouTubeKit YTSearchResult+decodeJSON.swift
[96/108] Compiling YouTubeKit HistoryResponse.swift
[97/108] Compiling YouTubeKit RemoveVideoFromHistroryResponse.swift
[98/108] Compiling YouTubeKit AddVideoToPlaylistResponse.swift
[99/108] Compiling YouTubeKit AllPossibleHostPlaylistsResponse.swift
[100/108] Compiling YouTubeKit CreatePlaylistResponse.swift
[101/108] Compiling YouTubeKit DeletePlaylistResponse.swift
[102/108] Compiling YouTubeKit MoveVideoInPlaylistResponse.swift
[103/108] Compiling YouTubeKit RemoveVideoByIdFromPlaylistResponse.swift
[104/108] Compiling YouTubeKit RemoveVideoFromPlaylistResponse.swift
[105/108] Compiling YouTubeKit SimpleOperationAuthenticatedResponse.swift
[106/108] Compiling YouTubeKit DislikeVideoResponse.swift
[107/108] Compiling YouTubeKit LikeVideoResponse.swift
[108/108] Compiling YouTubeKit RemoveLikeFromVideoResponse.swift
BUILD FAILURE 6.1 wasm