Build Information
Failed to build transmission-rpc, reference v0.1.1 (39d8fc), with Swift 6.2 for Linux on 29 Jun 2026 14:45:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mogeko/transmission-rpc.git
Reference: v0.1.1
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/mogeko/transmission-rpc
* tag v0.1.1 -> FETCH_HEAD
HEAD is now at 39d8fcd Merge pull request #2 from mogeko/dev
Cloned https://github.com/mogeko/transmission-rpc.git
Revision (git rev-parse @):
39d8fcd41d41e709c69e85b59899a4d43e079c16
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mogeko/transmission-rpc.git at v0.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/mogeko/transmission-rpc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:146297aca0eb7f3e338453cbf4c0aa72424647d7d0d3f35fda2f7ef7698dd3aa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling TransmissionRPC TorrentAction.swift
[4/14] Compiling TransmissionRPC CommonTypes.swift
[5/14] Compiling TransmissionRPC MiscMethods.swift
[6/14] Compiling TransmissionRPC Client.swift
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:24:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | /// The `URLSession` used for HTTP requests.
24 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | /// The JSON encoder used for request serialization.
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:46:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | /// - baseURL: The base URL of the Transmission web interface.
45 | /// - session: The `URLSession` to use. Defaults to `.shared`.
46 | public init(baseURL: URL, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | self.baseURL = baseURL
48 | self.session = session
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:46:52: error: value of type '_' expected to be instance of class or class-constrained type
44 | /// - baseURL: The base URL of the Transmission web interface.
45 | /// - session: The `URLSession` to use. Defaults to `.shared`.
46 | public init(baseURL: URL, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
47 | self.baseURL = baseURL
48 | self.session = session
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:46:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | /// - baseURL: The base URL of the Transmission web interface.
45 | /// - session: The `URLSession` to use. Defaults to `.shared`.
46 | public init(baseURL: URL, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | self.baseURL = baseURL
48 | self.session = session
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:70:22: error: cannot find 'URLRequest' in scope
68 | ) async throws -> Args {
69 | let url = baseURL.appendingPathComponent("transmission/rpc")
70 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
71 | urlRequest.httpMethod = "POST"
72 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
85 |
86 | // Perform the HTTP request
87 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
88 |
89 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:106:58: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 | // Retry with the new session ID
105 | urlRequest.setValue(newSessionId, forHTTPHeaderField: "X-Transmission-Session-Id")
106 | let (retryData, retryResponse) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
107 |
108 | guard let retryHttpResponse = retryResponse as? HTTPURLResponse else {
[7/14] Compiling TransmissionRPC Client+Convenience.swift
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:24:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | /// The `URLSession` used for HTTP requests.
24 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | /// The JSON encoder used for request serialization.
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:46:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | /// - baseURL: The base URL of the Transmission web interface.
45 | /// - session: The `URLSession` to use. Defaults to `.shared`.
46 | public init(baseURL: URL, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | self.baseURL = baseURL
48 | self.session = session
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:46:52: error: value of type '_' expected to be instance of class or class-constrained type
44 | /// - baseURL: The base URL of the Transmission web interface.
45 | /// - session: The `URLSession` to use. Defaults to `.shared`.
46 | public init(baseURL: URL, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
47 | self.baseURL = baseURL
48 | self.session = session
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:46:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | /// - baseURL: The base URL of the Transmission web interface.
45 | /// - session: The `URLSession` to use. Defaults to `.shared`.
46 | public init(baseURL: URL, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | self.baseURL = baseURL
48 | self.session = session
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:70:22: error: cannot find 'URLRequest' in scope
68 | ) async throws -> Args {
69 | let url = baseURL.appendingPathComponent("transmission/rpc")
70 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
71 | urlRequest.httpMethod = "POST"
72 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:87:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
85 |
86 | // Perform the HTTP request
87 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
88 |
89 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:106:58: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 | // Retry with the new session ID
105 | urlRequest.setValue(newSessionId, forHTTPHeaderField: "X-Transmission-Session-Id")
106 | let (retryData, retryResponse) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
107 |
108 | guard let retryHttpResponse = retryResponse as? HTTPURLResponse else {
[8/14] Compiling TransmissionRPC TorrentAdd.swift
[9/14] Compiling TransmissionRPC TorrentLocation.swift
[10/14] Compiling TransmissionRPC TorrentGet.swift
[11/14] Compiling TransmissionRPC RPCEnvelope.swift
[12/14] Compiling TransmissionRPC Session.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/14] Emitting module TransmissionRPC
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:24:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | /// The `URLSession` used for HTTP requests.
24 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | /// The JSON encoder used for request serialization.
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:46:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | /// - baseURL: The base URL of the Transmission web interface.
45 | /// - session: The `URLSession` to use. Defaults to `.shared`.
46 | public init(baseURL: URL, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | self.baseURL = baseURL
48 | self.session = session
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:46:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | /// - baseURL: The base URL of the Transmission web interface.
45 | /// - session: The `URLSession` to use. Defaults to `.shared`.
46 | public init(baseURL: URL, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | self.baseURL = baseURL
48 | self.session = session
/host/spi-builder-workspace/Sources/TransmissionRPC/Client.swift:46:52: error: value of type '_' expected to be instance of class or class-constrained type
44 | /// - baseURL: The base URL of the Transmission web interface.
45 | /// - session: The `URLSession` to use. Defaults to `.shared`.
46 | public init(baseURL: URL, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
47 | self.baseURL = baseURL
48 | self.session = session
[14/14] Compiling TransmissionRPC TorrentSet.swift
BUILD FAILURE 6.2 linux