The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftQuests, reference 0.4.0 (18d8aa), with Swift 6.4 for Linux on 18 Sep 2026 17:07:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ast3r10n/swiftquests.git
Reference: 0.4.0
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/Ast3r10n/swiftquests
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 18d8aa0 Merge pull request #35 from Ast3r10n/release/0.4.0
Cloned https://github.com/Ast3r10n/swiftquests.git
Revision (git rev-parse @):
18d8aa018ce6d3a91c55a78f116312018703c5ac
SUCCESS checkout https://github.com/Ast3r10n/swiftquests.git at 0.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Ast3r10n/swiftquests.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:34:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |     /// The default `URLSession` used for all `Request`s.
34 |     var defaultURLSession: URLSession { get }
   |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | }
36 |
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/SwiftQuests/DefaultRequestConfiguration.swift:40:26: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 |     /// The URLProtectionSpace generated by the configuration properties.
40 |     var protectionSpace: URLProtectionSpace {
   |                          `- error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |         URLProtectionSpace(host: baseURL,
42 |                            port: port,
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' 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 URLProtectionSpace = AnyObject
  |                  `- note: 'URLProtectionSpace' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:78:37: error: cannot find 'NSURLAuthenticationMethodDefault' in scope
76 |     open var authenticationRealm = "Restricted"
77 |
78 |     open var authenticationMethod = NSURLAuthenticationMethodDefault
   |                                     `- error: cannot find 'NSURLAuthenticationMethodDefault' in scope
79 |
80 |     open var defaultURLSession = URLSession(configuration: .ephemeral)
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:34: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
78 |     open var authenticationMethod = NSURLAuthenticationMethodDefault
79 |
80 |     open var defaultURLSession = URLSession(configuration: .ephemeral)
   |                                  `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
81 |
82 |     public init() {
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:41:9: error: 'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |     /// The URLProtectionSpace generated by the configuration properties.
40 |     var protectionSpace: URLProtectionSpace {
41 |         URLProtectionSpace(host: baseURL,
   |         `- error: 'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
42 |                            port: port,
43 |                            protocol: requestProtocol,
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:41:9: error: return expression of type '_' expected to be an instance of a class or class-constrained type
39 |     /// The URLProtectionSpace generated by the configuration properties.
40 |     var protectionSpace: URLProtectionSpace {
41 |         URLProtectionSpace(host: baseURL,
   |         `- error: return expression of type '_' expected to be an instance of a class or class-constrained type
42 |                            port: port,
43 |                            protocol: requestProtocol,
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:20:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 18 |
 19 | /// A typealias of a successful response.
 20 | public typealias Response = (data: Data?, urlResponse: URLResponse?)
    |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 21 |
 22 | /// A common interface for `Request`s and `RequestDecorator`s.
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:69:28: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |     /// If not provided, the request will use the default credential
 68 |     /// stored in the `URLCredentialStorage` `shared` instance.
 69 |     public let credential: URLCredential?
    |                            `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |
 71 |     /// The request `URLSession`.
Foundation.URLCredential:2:18: note: 'URLCredential' 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 URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:74:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 72 |     ///
 73 |     /// Defaults to a session with a `default` `URLSessionConfiguration` unless otherwise specified.
 74 |     public var session = URLSession(configuration: .ephemeral)
    |                          `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 75 |
 76 |     /// The wrapped `URLRequest` object.
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:77:28: error: cannot find type 'URLRequest' in scope
 75 |
 76 |     /// The wrapped `URLRequest` object.
 77 |     public var urlRequest: URLRequest!
    |                            `- error: cannot find type 'URLRequest' in scope
 78 |
 79 |     /// The request configuration.
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:102:35: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 |                 body: Data? = nil,
101 |                 headers: [String: String]? = nil,
102 |                 using credential: URLCredential? = nil,
    |                                   `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |                 onSession session: URLSession? = nil,
104 |                 configuration: RequestConfiguration? = nil) throws {
Foundation.URLCredential:2:18: note: 'URLCredential' 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 URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:103:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |                 headers: [String: String]? = nil,
102 |                 using credential: URLCredential? = nil,
103 |                 onSession session: URLSession? = nil,
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |                 configuration: RequestConfiguration? = nil) throws {
105 |
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/SwiftQuests/Request.swift:183:84: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
181 |     ///   - result: The response result.
182 |     @available(macOS 12, iOS 13, watchOS 8, tvOS 15, *)
183 |     public func perform<T: Decodable>(decoding object: T.Type) async throws -> (T, URLResponse?) {
    |                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
184 |         let result = try await perform()
185 |         guard let data = result.data,
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:204:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 |         decoding object: T.Type,
203 |         _ completionHandler: @escaping (
204 |             _ result: Result<(T, URLResponse?), Error>) throws -> Void) {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 |
206 |                 perform { result in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:231:38: error: cannot find type 'URLRequest' in scope
229 |
230 |     // MARK: - Private Methods
231 |     private func prepare() throws -> URLRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
232 |         guard let url = requestComponents.url else {
233 |             throw NSError(domain: "Request",
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift /host/spi-builder-workspace/Sources/SwiftQuests/NetworkError.swift /host/spi-builder-workspace/Sources/SwiftQuests/Request.swift /host/spi-builder-workspace/Sources/SwiftQuests/RequestConfigurationHolder.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftQuests.build/Debug-linux-x86_64/SwiftQuests-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftQuests.build/Debug-linux-x86_64/SwiftQuests-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftQuests.build/Debug-linux-x86_64/SwiftQuests-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftQuests -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftQuests.build/Debug-linux-x86_64/SwiftQuests-t.build/Objects-normal/x86_64/SwiftQuests_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftQuests.build/Debug-linux-x86_64/SwiftQuests-t.build/Objects-normal/x86_64/Modules/SwiftQuests.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftQuests.build/Debug-linux-x86_64/SwiftQuests-t.build/Objects-normal/x86_64/Modules/SwiftQuests.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftQuests.build/Debug-linux-x86_64/SwiftQuests-t.build/Objects-normal/x86_64/SwiftQuests-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftQuests.build/Debug-linux-x86_64/SwiftQuests-t.build/Objects-normal/x86_64/SwiftQuests-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftQuests.build/Debug-linux-x86_64/SwiftQuests-t.build/Objects-normal/x86_64/SwiftQuests-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftQuests.build/Debug-linux-x86_64/SwiftQuests-t.build/Objects-normal/x86_64/Modules/SwiftQuests.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux