The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RealDentalCostsAPI, reference main (2e6ea9), with Swift 6.1 for Linux on 4 Sep 2026 08:34:43 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shoopeur-eng/realdentalcosts-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/shoopeur-eng/realdentalcosts-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2e6ea95 Add .spi.yml (Swift Package Index external documentation link)
Cloned https://github.com/shoopeur-eng/realdentalcosts-swift.git
Revision (git rev-parse @):
2e6ea95b1a9df4ff4267c83b80d4ce16928cc5bc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/shoopeur-eng/realdentalcosts-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/shoopeur-eng/realdentalcosts-swift.git
https://github.com/shoopeur-eng/realdentalcosts-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:dff62030f4387a2d827d2b365d39a91716bd1d13650763ccbcbfe23419000563
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module RealDentalCostsAPI
/host/spi-builder-workspace/Sources/RealDentalCostsAPI/RealDentalCostsAPI.swift:18:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 |     private let baseURL: URL
18 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |     /// Creates a new client.
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/RealDentalCostsAPI/RealDentalCostsAPI.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     ///   - session: URLSession to use for requests; defaults to `.shared`
24 |     public init(baseURL: URL = URL(string: "https://realdentalcosts.com")!,
25 |                 session: URLSession = .shared) {
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         self.baseURL = baseURL
27 |         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/RealDentalCostsAPI/RealDentalCostsAPI.swift:25:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |     ///   - session: URLSession to use for requests; defaults to `.shared`
24 |     public init(baseURL: URL = URL(string: "https://realdentalcosts.com")!,
25 |                 session: URLSession = .shared) {
   |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 |         self.baseURL = baseURL
27 |         self.session = session
[4/4] Compiling RealDentalCostsAPI RealDentalCostsAPI.swift
/host/spi-builder-workspace/Sources/RealDentalCostsAPI/RealDentalCostsAPI.swift:18:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 |     private let baseURL: URL
18 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |     /// Creates a new client.
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/RealDentalCostsAPI/RealDentalCostsAPI.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     ///   - session: URLSession to use for requests; defaults to `.shared`
24 |     public init(baseURL: URL = URL(string: "https://realdentalcosts.com")!,
25 |                 session: URLSession = .shared) {
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         self.baseURL = baseURL
27 |         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/RealDentalCostsAPI/RealDentalCostsAPI.swift:25:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |     ///   - session: URLSession to use for requests; defaults to `.shared`
24 |     public init(baseURL: URL = URL(string: "https://realdentalcosts.com")!,
25 |                 session: URLSession = .shared) {
   |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 |         self.baseURL = baseURL
27 |         self.session = session
/host/spi-builder-workspace/Sources/RealDentalCostsAPI/RealDentalCostsAPI.swift:56:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
54 |
55 |     private func fetch(_ url: URL) async throws -> Data {
56 |         let (data, response) = try await session.data(from: url)
   |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
57 |         guard let http = response as? HTTPURLResponse else {
58 |             throw APIError.invalidResponse
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:dff62030f4387a2d827d2b365d39a91716bd1d13650763ccbcbfe23419000563
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module RealDentalCostsAPI
/host/spi-builder-workspace/Sources/RealDentalCostsAPI/RealDentalCostsAPI.swift:18:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 |     private let baseURL: URL
18 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |     /// Creates a new client.
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/RealDentalCostsAPI/RealDentalCostsAPI.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     ///   - session: URLSession to use for requests; defaults to `.shared`
24 |     public init(baseURL: URL = URL(string: "https://realdentalcosts.com")!,
25 |                 session: URLSession = .shared) {
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         self.baseURL = baseURL
27 |         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/RealDentalCostsAPI/RealDentalCostsAPI.swift:25:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |     ///   - session: URLSession to use for requests; defaults to `.shared`
24 |     public init(baseURL: URL = URL(string: "https://realdentalcosts.com")!,
25 |                 session: URLSession = .shared) {
   |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 |         self.baseURL = baseURL
27 |         self.session = session
[3/3] Compiling RealDentalCostsAPI RealDentalCostsAPI.swift
/host/spi-builder-workspace/Sources/RealDentalCostsAPI/RealDentalCostsAPI.swift:18:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 |     private let baseURL: URL
18 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |     /// Creates a new client.
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/RealDentalCostsAPI/RealDentalCostsAPI.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     ///   - session: URLSession to use for requests; defaults to `.shared`
24 |     public init(baseURL: URL = URL(string: "https://realdentalcosts.com")!,
25 |                 session: URLSession = .shared) {
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         self.baseURL = baseURL
27 |         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/RealDentalCostsAPI/RealDentalCostsAPI.swift:25:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |     ///   - session: URLSession to use for requests; defaults to `.shared`
24 |     public init(baseURL: URL = URL(string: "https://realdentalcosts.com")!,
25 |                 session: URLSession = .shared) {
   |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 |         self.baseURL = baseURL
27 |         self.session = session
/host/spi-builder-workspace/Sources/RealDentalCostsAPI/RealDentalCostsAPI.swift:56:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
54 |
55 |     private func fetch(_ url: URL) async throws -> Data {
56 |         let (data, response) = try await session.data(from: url)
   |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
57 |         guard let http = response as? HTTPURLResponse else {
58 |             throw APIError.invalidResponse
BUILD FAILURE 6.1 linux