The Swift Package Index logo.Swift Package Index

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>&1

Build 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: warning: extension 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
20 | }
21 |
22 | extension Result: CustomDebugStringConvertible {
   | |- warning: extension 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
   | `- note: add '@retroactive' to silence this warning
23 |     public var debugDescription: String {
24 |         switch self {
/host/spi-builder-workspace/Sources/Nappa/Extensions/URLRequestExtension.swift:4:18: error: cannot find type 'URLRequest' in scope
 2 | import Foundation
 3 |
 4 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 5 |     /**
 6 |      Returns a cURL command representation of this URL request.
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:16:31: error: 'State' is not a member type of type 'Foundation.URLSessionTask' (aka 'AnyObject')
14 |     func suspend()
15 |
16 |     var state: URLSessionTask.State { get }
   |                               `- error: 'State' is not a member type of type 'Foundation.URLSessionTask' (aka 'AnyObject')
17 | }
18 |
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:19:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
17 | }
18 |
19 | extension URLSessionDataTask: RequestTask {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
20 |
21 | public protocol HTTPRequestAdapter {
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:22:24: error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | public protocol HTTPRequestAdapter {
22 |     var cookieStorage: HTTPCookieStorage { get }
   |                        `- error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     func performRequest(request: URLRequest, completionHandler: @escaping (DataResponse) -> Void) -> RequestTask?
24 | }
Foundation.HTTPCookieStorage:2:18: note: 'HTTPCookieStorage' 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 HTTPCookieStorage = AnyObject
  |                  `- note: 'HTTPCookieStorage' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:23:34: error: cannot find type 'URLRequest' in scope
21 | public protocol HTTPRequestAdapter {
22 |     var cookieStorage: HTTPCookieStorage { get }
23 |     func performRequest(request: URLRequest, completionHandler: @escaping (DataResponse) -> Void) -> RequestTask?
   |                                  `- error: cannot find type 'URLRequest' in scope
24 | }
25 |
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:27:24: error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | public extension HTTPRequestAdapter {
27 |     var cookieStorage: HTTPCookieStorage {
   |                        `- error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         return HTTPCookieStorage.shared
29 |     }
Foundation.HTTPCookieStorage:2:18: note: 'HTTPCookieStorage' 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 HTTPCookieStorage = AnyObject
  |                  `- note: 'HTTPCookieStorage' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:33:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |
32 | public struct SimpleRequestAdapter: HTTPRequestAdapter {
33 |     var urlSession: URLSession
   |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |
35 |     public var cookieStorage: HTTPCookieStorage {
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/Nappa/HTTPRequestAdapter.swift:35:31: error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |     var urlSession: URLSession
34 |
35 |     public var cookieStorage: HTTPCookieStorage {
   |                               `- error: 'HTTPCookieStorage' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |         return urlSession.configuration.httpCookieStorage ?? HTTPCookieStorage.shared
37 |     }
Foundation.HTTPCookieStorage:2:18: note: 'HTTPCookieStorage' 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 HTTPCookieStorage = AnyObject
  |                  `- note: 'HTTPCookieStorage' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:39:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |     }
38 |
39 |     public init(configuration: URLSessionConfiguration) {
   |                                `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |         urlSession = URLSession(configuration: configuration)
41 |     }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Nappa/HTTPRequestAdapter.swift:43:41: error: cannot find type 'URLRequest' in scope
41 |     }
42 |
43 |     public func performRequest(request: URLRequest, completionHandler: @escaping (DataResponse) -> Void) -> RequestTask? {
   |                                         `- error: cannot find type 'URLRequest' in scope
44 |         let dataTask = urlSession.dataTask(with: request) { data, response, error in
45 |             let httpResponse = response as? HTTPURLResponse
/host/spi-builder-workspace/Sources/Nappa/HTTPResponse.swift:59:25: error: cannot find type 'URLRequest' in scope
 57 | public class Response {
 58 |     /// The URL request sent to the server.
 59 |     public var request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
 60 |
 61 |     /// The server's response to the URL request.
/host/spi-builder-workspace/Sources/Nappa/HTTPResponse.swift:62:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |
 61 |     /// The server's response to the URL request.
 62 |     public var response: HTTPURLResponse?
    |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     /// The data returned by the server.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Nappa/HTTPResponse.swift:70:26: error: cannot find type 'URLRequest' in scope
 68 |     public var error: HTTPResponseError?
 69 |
 70 |     public init(request: URLRequest? = nil, response: HTTPURLResponse? = nil, data: Data? = nil, error: HTTPResponseError? = nil) {
    |                          `- error: cannot find type 'URLRequest' in scope
 71 |         self.request = request
 72 |         self.response = response
/host/spi-builder-workspace/Sources/Nappa/HTTPResponse.swift:70:55: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     public var error: HTTPResponseError?
 69 |
 70 |     public init(request: URLRequest? = nil, response: HTTPURLResponse? = nil, data: Data? = nil, error: HTTPResponseError? = nil) {
    |                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         self.request = request
 72 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Nappa/HTTPService.swift:193:61: error: cannot find type 'URLRequest' in scope
191 |     // MARK: Request
192 |
193 |     private func buildRequest(forUrl url: String) -> Result<URLRequest, HTTPResponseError> {
    |                                                             `- error: cannot find type 'URLRequest' in scope
194 |         guard var urlComponents = URLComponents(string: url) else {
195 |             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