The Swift Package Index logo.Swift Package Index

Build Information

Failed to build YTLiveStreaming, reference 1.1.3 (a7e22b), with Swift 6.2 for Android on 25 Sep 2026 23:03:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SKrotkih/YTLiveStreaming.git
Reference: 1.1.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/SKrotkih/YTLiveStreaming
 * tag               1.1.3      -> FETCH_HEAD
HEAD is now at a7e22b1 purgeBroadcast: delete the broadcast left behind after videos.delete
Cloned https://github.com/SKrotkih/YTLiveStreaming.git
Revision (git rev-parse @):
a7e22b1000c6b4290eb316695a4a508c17d7cf50
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SKrotkih/YTLiveStreaming.git at 1.1.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SKrotkih/YTLiveStreaming.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:f47b2a33897778fb58ca39c1139e193fa7f391fa362fe0d23c00db9747030994
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/16] Compiling YTLiveStreaming TokenProvider.swift
[4/16] Compiling YTLiveStreaming BroadcastMonitor.swift
[5/16] Emitting module YTLiveStreaming
/host/spi-builder-workspace/Sources/YTLiveStreaming/Networking/Endpoint.swift:22:104: error: cannot find type 'URLRequest' in scope
20 |
21 |     /// Builds the request. `parts` are appended as the `part` query item, `apiKey` as `key`.
22 |     func urlRequest(baseURL: URL, apiKey: String?, bundleIdentifier: String?, token: String) throws -> URLRequest {
   |                                                                                                        `- error: cannot find type 'URLRequest' in scope
23 |         let base = baseURLOverride ?? baseURL
24 |         guard var components = URLComponents(url: base.appendingPathComponent(path), resolvingAgainstBaseURL: false) else {
[6/17] Compiling YTLiveStreaming LiveChat.swift
[7/17] Compiling YTLiveStreaming LiveStream.swift
[8/17] Compiling YTLiveStreaming Enums.swift
[9/17] Compiling YTLiveStreaming LiveBroadcast.swift
[10/17] Compiling YTLiveStreaming YouTubeLiveError.swift
[11/17] Compiling YTLiveStreaming Cuepoint.swift
[12/17] Compiling YTLiveStreaming JSONCoding.swift
[13/17] Compiling YTLiveStreaming YouTubeLiveClient+Chat.swift
[14/17] Compiling YTLiveStreaming YouTubeLiveClient+Purge.swift
[15/17] Compiling YTLiveStreaming Endpoint.swift
/host/spi-builder-workspace/Sources/YTLiveStreaming/Networking/Endpoint.swift:22:104: error: cannot find type 'URLRequest' in scope
20 |
21 |     /// Builds the request. `parts` are appended as the `part` query item, `apiKey` as `key`.
22 |     func urlRequest(baseURL: URL, apiKey: String?, bundleIdentifier: String?, token: String) throws -> URLRequest {
   |                                                                                                        `- error: cannot find type 'URLRequest' in scope
23 |         let base = baseURLOverride ?? baseURL
24 |         guard var components = URLComponents(url: base.appendingPathComponent(path), resolvingAgainstBaseURL: false) else {
/host/spi-builder-workspace/Sources/YTLiveStreaming/Networking/Endpoint.swift:34:23: error: cannot find 'URLRequest' in scope
32 |         guard let url = components.url else { throw YouTubeLiveError.invalidResponse }
33 |
34 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
35 |         request.httpMethod = method.rawValue
36 |         request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
[16/17] Compiling YTLiveStreaming HTTPTransport.swift
/host/spi-builder-workspace/Sources/YTLiveStreaming/Networking/Endpoint.swift:22:104: error: cannot find type 'URLRequest' in scope
20 |
21 |     /// Builds the request. `parts` are appended as the `part` query item, `apiKey` as `key`.
22 |     func urlRequest(baseURL: URL, apiKey: String?, bundleIdentifier: String?, token: String) throws -> URLRequest {
   |                                                                                                        `- error: cannot find type 'URLRequest' in scope
23 |         let base = baseURLOverride ?? baseURL
24 |         guard var components = URLComponents(url: base.appendingPathComponent(path), resolvingAgainstBaseURL: false) else {
/host/spi-builder-workspace/Sources/YTLiveStreaming/Networking/Endpoint.swift:34:23: error: cannot find 'URLRequest' in scope
32 |         guard let url = components.url else { throw YouTubeLiveError.invalidResponse }
33 |
34 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
35 |         request.httpMethod = method.rawValue
36 |         request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
[17/17] Compiling YTLiveStreaming YouTubeLiveClient.swift
/host/spi-builder-workspace/Sources/YTLiveStreaming/Networking/Endpoint.swift:22:104: error: cannot find type 'URLRequest' in scope
20 |
21 |     /// Builds the request. `parts` are appended as the `part` query item, `apiKey` as `key`.
22 |     func urlRequest(baseURL: URL, apiKey: String?, bundleIdentifier: String?, token: String) throws -> URLRequest {
   |                                                                                                        `- error: cannot find type 'URLRequest' in scope
23 |         let base = baseURLOverride ?? baseURL
24 |         guard var components = URLComponents(url: base.appendingPathComponent(path), resolvingAgainstBaseURL: false) else {
BUILD FAILURE 6.2 android