Build Information
Failed to build Tapsilat, reference main (abf8cd), with Swift 6.0 for Linux on 26 Apr 2026 07:15:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tapsilat/tapsilat-swift.git
Reference: main
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/tapsilat/tapsilat-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at abf8cd1 init spm package for ios
Cloned https://github.com/tapsilat/tapsilat-swift.git
Revision (git rev-parse @):
abf8cd14eea1c00430af5dc6bf125fda7b3c968c
SUCCESS checkout https://github.com/tapsilat/tapsilat-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/tapsilat/tapsilat-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling Tapsilat TapsilatConstants.swift
[4/12] Compiling Tapsilat Tapsilat.swift
[5/12] Compiling Tapsilat SharedAPIClient.swift
/host/spi-builder-workspace/Sources/Tapsilat/SharedAPIClient.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | private let endpoint: URL
24 | private let token: String
25 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | private let encoder: JSONEncoder
27 | private let decoder: JSONDecoder
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/Tapsilat/SharedAPIClient.swift:109:123: error: cannot find type 'URLRequest' in scope
107 | }
108 |
109 | private func buildRequest<P: Encodable>(path: String, method: String, query: [String: String], payload: P?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
110 | guard var components = URLComponents(url: endpoint, resolvingAgainstBaseURL: false) else {
111 | throw ValidationError("Invalid endpoint configuration")
/host/spi-builder-workspace/Sources/Tapsilat/SharedAPIClient.swift:37:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
35 | self.token = token
36 |
37 | let config = URLSessionConfiguration.ephemeral
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
38 | config.timeoutIntervalForRequest = timeout
39 | config.timeoutIntervalForResource = timeout
/host/spi-builder-workspace/Sources/Tapsilat/SharedAPIClient.swift:40:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 | config.timeoutIntervalForRequest = timeout
39 | config.timeoutIntervalForResource = timeout
40 | self.session = URLSession(configuration: config)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
41 |
42 | let encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/Tapsilat/SharedAPIClient.swift:83:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
81 | ) async throws -> T {
82 | let request = try buildRequest(path: path, method: method, query: query, payload: payload)
83 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
84 |
85 | guard let http = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Tapsilat/SharedAPIClient.swift:95:60: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
93 | throw APIError(
94 | statusCode: http.statusCode,
95 | status: payload?.status ?? HTTPURLResponse.localizedString(forStatusCode: http.statusCode),
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
96 | code: payload?.code,
97 | messageText: payload?.message ?? payload?.error,
/host/spi-builder-workspace/Sources/Tapsilat/SharedAPIClient.swift:129:23: error: cannot find 'URLRequest' in scope
127 | }
128 |
129 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
130 | request.httpMethod = method
131 | request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
[6/12] Compiling Tapsilat Validators.swift
[7/12] Compiling Tapsilat Services.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Compiling Tapsilat JSONValue.swift
[9/12] Emitting module Tapsilat
/host/spi-builder-workspace/Sources/Tapsilat/SharedAPIClient.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | private let endpoint: URL
24 | private let token: String
25 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | private let encoder: JSONEncoder
27 | private let decoder: JSONDecoder
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/Tapsilat/SharedAPIClient.swift:109:123: error: cannot find type 'URLRequest' in scope
107 | }
108 |
109 | private func buildRequest<P: Encodable>(path: String, method: String, query: [String: String], payload: P?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
110 | guard var components = URLComponents(url: endpoint, resolvingAgainstBaseURL: false) else {
111 | throw ValidationError("Invalid endpoint configuration")
[10/12] Compiling Tapsilat CurrencyReferenceResolver.swift
[11/12] Compiling Tapsilat Errors.swift
[12/12] Compiling Tapsilat Models.swift
BUILD FAILURE 6.0 linux