Build Information
Failed to build Nappa, reference 4.0.0 (6078a3), with Swift 6.4 for Linux on 16 Sep 2026 06:03:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlTavares/Nappa.git
Reference: 4.0.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/AlTavares/Nappa
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 6078a37 ci: update task name
Cloned https://github.com/AlTavares/Nappa.git
Revision (git rev-parse @):
6078a37aeb0ca1376c83580b9f5f7dda03c80f4d
SUCCESS checkout https://github.com/AlTavares/Nappa.git at 4.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/AlTavares/Nappa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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/Nappa/Extensions/ResultExtension.swift:22:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Result' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m20 |[0;0m }
[0;36m21 |[0;0m
[0;36m22 |[0;0m extension Result: CustomDebugStringConvertible {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Result' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m23 |[0;0m public var debugDescription: String {
[0;36m24 |[0;0m switch self {
/host/spi-builder-workspace/Sources/Nappa/Extensions/URLRequestExtension.swift:4:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m2 |[0;0m import Foundation
[0;36m3 |[0;0m
[0;36m4 |[0;0m public extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m5 |[0;0m /**
[0;36m6 |[0;0m Returns a cURL command representation of this URL request.
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:16:31: [1;31merror: [1;39m'State' is not a member type of type 'Foundation.URLSessionTask' (aka 'AnyObject')[0;0m
[0;36m14 |[0;0m func suspend()
[0;36m15 |[0;0m
[0;36m16 |[0;0m var state: [4;39mURLSessionTask[0;0m.State { get }
[0;36m|[0;0m `- [1;31merror: [1;39m'State' is not a member type of type 'Foundation.URLSessionTask' (aka 'AnyObject')[0;0m
[0;36m17 |[0;0m }
[0;36m18 |[0;0m
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:19:1: [1;31merror: [1;39mnon-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m17 |[0;0m }
[0;36m18 |[0;0m
[0;36m19 |[0;0m extension [4;39mURLSessionDataTask[0;0m: RequestTask {}
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m20 |[0;0m
[0;36m21 |[0;0m public protocol HTTPRequestAdapter {
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:22:24: [1;31merror: [1;39m'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m public protocol HTTPRequestAdapter {
[0;36m22 |[0;0m var cookieStorage: [4;39mHTTPCookieStorage[0;0m { get }
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m func performRequest(request: URLRequest, completionHandler: @escaping (DataResponse) -> Void) -> RequestTask?
[0;36m24 |[0;0m }
Foundation.HTTPCookieStorage:2:18: [1;39mnote: [1;39m'HTTPCookieStorage' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPCookieStorage = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPCookieStorage' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:23:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m21 |[0;0m public protocol HTTPRequestAdapter {
[0;36m22 |[0;0m var cookieStorage: HTTPCookieStorage { get }
[0;36m23 |[0;0m func performRequest(request: [4;39mURLRequest[0;0m, completionHandler: @escaping (DataResponse) -> Void) -> RequestTask?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m }
[0;36m25 |[0;0m
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:27:24: [1;31merror: [1;39m'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m public extension HTTPRequestAdapter {
[0;36m27 |[0;0m var cookieStorage: [4;39mHTTPCookieStorage[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m28 |[0;0m return HTTPCookieStorage.shared
[0;36m29 |[0;0m }
Foundation.HTTPCookieStorage:2:18: [1;39mnote: [1;39m'HTTPCookieStorage' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPCookieStorage = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPCookieStorage' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:33:21: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m public struct SimpleRequestAdapter: HTTPRequestAdapter {
[0;36m33 |[0;0m var urlSession: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m34 |[0;0m
[0;36m35 |[0;0m public var cookieStorage: HTTPCookieStorage {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:35:31: [1;31merror: [1;39m'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m var urlSession: URLSession
[0;36m34 |[0;0m
[0;36m35 |[0;0m public var cookieStorage: [4;39mHTTPCookieStorage[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m36 |[0;0m return urlSession.configuration.httpCookieStorage ?? HTTPCookieStorage.shared
[0;36m37 |[0;0m }
Foundation.HTTPCookieStorage:2:18: [1;39mnote: [1;39m'HTTPCookieStorage' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPCookieStorage = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPCookieStorage' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:39:32: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m37 |[0;0m }
[0;36m38 |[0;0m
[0;36m39 |[0;0m public init(configuration: [4;39mURLSessionConfiguration[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m urlSession = URLSession(configuration: configuration)
[0;36m41 |[0;0m }
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:43:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m41 |[0;0m }
[0;36m42 |[0;0m
[0;36m43 |[0;0m public func performRequest(request: [4;39mURLRequest[0;0m, completionHandler: @escaping (DataResponse) -> Void) -> RequestTask? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m44 |[0;0m let dataTask = urlSession.dataTask(with: request) { data, response, error in
[0;36m45 |[0;0m let httpResponse = response as? HTTPURLResponse
/host/spi-builder-workspace/Sources/Nappa/HTTPResponse.swift:59:25: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m57 |[0;0m public class Response {
[0;36m58 |[0;0m /// The URL request sent to the server.
[0;36m59 |[0;0m public var request: [4;39mURLRequest[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m /// The server's response to the URL request.
/host/spi-builder-workspace/Sources/Nappa/HTTPResponse.swift:62:26: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m /// The server's response to the URL request.
[0;36m62 |[0;0m public var response: [4;39mHTTPURLResponse[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m
[0;36m64 |[0;0m /// The data returned by the server.
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Nappa/HTTPResponse.swift:70:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m68 |[0;0m public var error: HTTPResponseError?
[0;36m69 |[0;0m
[0;36m70 |[0;0m public init(request: [4;39mURLRequest[0;0m? = nil, response: HTTPURLResponse? = nil, data: Data? = nil, error: HTTPResponseError? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m71 |[0;0m self.request = request
[0;36m72 |[0;0m self.response = response
/host/spi-builder-workspace/Sources/Nappa/HTTPResponse.swift:70:55: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m public var error: HTTPResponseError?
[0;36m69 |[0;0m
[0;36m70 |[0;0m public init(request: URLRequest? = nil, response: [4;39mHTTPURLResponse[0;0m? = nil, data: Data? = nil, error: HTTPResponseError? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m71 |[0;0m self.request = request
[0;36m72 |[0;0m self.response = response
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Nappa/HTTPService.swift:193:61: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m191 |[0;0m // MARK: Request
[0;36m192 |[0;0m
[0;36m193 |[0;0m private func buildRequest(forUrl url: String) -> Result<[4;39mURLRequest[0;0m, HTTPResponseError> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m194 |[0;0m guard var urlComponents = URLComponents(string: url) else {
[0;36m195 |[0;0m return .failure(.invalidURL(url))
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Nappa/AnyEncodable.swift /host/spi-builder-workspace/Sources/Nappa/DispatchQueueExtension.swift /host/spi-builder-workspace/Sources/Nappa/Extensions/ResultExtension.swift /host/spi-builder-workspace/Sources/Nappa/Extensions/URLRequestExtension.swift /host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift /host/spi-builder-workspace/Sources/Nappa/HTTPResponse.swift /host/spi-builder-workspace/Sources/Nappa/HTTPService.swift /host/spi-builder-workspace/Sources/Nappa/HTTPServiceErrors.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 4 -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/Nappa.build/Debug-linux-x86_64/Nappa-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Nappa.build/Debug-linux-x86_64/Nappa-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Nappa.build/Debug-linux-x86_64/Nappa-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Nappa -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Nappa.build/Debug-linux-x86_64/Nappa-t.build/Objects-normal/x86_64/Nappa_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/Nappa.build/Debug-linux-x86_64/Nappa-t.build/Objects-normal/x86_64/Modules/Nappa.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Nappa.build/Debug-linux-x86_64/Nappa-t.build/Objects-normal/x86_64/Modules/Nappa.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Nappa.build/Debug-linux-x86_64/Nappa-t.build/Objects-normal/x86_64/Nappa-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Nappa.build/Debug-linux-x86_64/Nappa-t.build/Objects-normal/x86_64/Nappa-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Nappa.build/Debug-linux-x86_64/Nappa-t.build/Objects-normal/x86_64/Nappa-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Nappa.build/Debug-linux-x86_64/Nappa-t.build/Objects-normal/x86_64/Modules/Nappa.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux