Build Information
Failed to build SURL, reference main (c04f94), with Swift 6.4 for Linux on 17 Sep 2026 22:35:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLet/SURL.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/0xLet/SURL
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c04f941 Added canImport(Combine)
Cloned https://github.com/0xLet/SURL.git
Revision (git rev-parse @):
c04f941eea250f78f5c7151c03cd2489ca9ffc2b
SUCCESS checkout https://github.com/0xLet/SURL.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/0xLet/SURL.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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/SURL/URL+.swift:14:19: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m // MARK: URLSession DataTasks
[0;36m13 |[0;0m
[0;36m14 |[0;0m var dataTask: [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m URLSession.shared.dataTask(with: self)
[0;36m16 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URL+.swift:18:58: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
[0;36m18 |[0;0m func dataTask(withHandler handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m URLSession.shared.dataTask(with: self, completionHandler: handler)
[0;36m20 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URL+.swift:18:92: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
[0;36m18 |[0;0m func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m URLSession.shared.dataTask(with: self, completionHandler: handler)
[0;36m20 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URL+.swift:28:10: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m26 |[0;0m cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
[0;36m27 |[0;0m timeoutInterval: TimeInterval = 60.0
[0;36m28 |[0;0m ) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m29 |[0;0m var request = URLRequest(url: self,
[0;36m30 |[0;0m cachePolicy: cachePolicy,
/host/spi-builder-workspace/Sources/SURL/URL+.swift:25:35: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m func urlRequest(
[0;36m25 |[0;0m forHTTPMethod httpMethod: [4;39mURLRequest[0;0m.HTTPRequestMethod? = .GET,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m26 |[0;0m cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
[0;36m27 |[0;0m timeoutInterval: TimeInterval = 60.0
/host/spi-builder-workspace/Sources/SURL/URL+.swift:26:22: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m func urlRequest(
[0;36m25 |[0;0m forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
[0;36m26 |[0;0m cachePolicy: [4;39mURLRequest[0;0m.CachePolicy = .useProtocolCachePolicy,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m27 |[0;0m timeoutInterval: TimeInterval = 60.0
[0;36m28 |[0;0m ) -> URLRequest {
/host/spi-builder-workspace/Sources/SURL/URL+.swift:43:48: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m
[0;36m42 |[0;0m func get(
[0;36m43 |[0;0m withHandler handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m ) {
[0;36m45 |[0;0m urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URL+.swift:49:41: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m
[0;36m48 |[0;0m func head(
[0;36m49 |[0;0m withHandler handler: @escaping ([4;39mURLResponse[0;0m?, Error?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m ) {
[0;36m51 |[0;0m urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URL+.swift:57:48: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m func connect(
[0;36m57 |[0;0m withHandler handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m ) {
[0;36m59 |[0;0m urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URL+.swift:63:48: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m func options(
[0;36m63 |[0;0m withHandler handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m64 |[0;0m ) {
[0;36m65 |[0;0m urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URL+.swift:69:41: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m func trace(
[0;36m69 |[0;0m withHandler handler: @escaping ([4;39mURLResponse[0;0m?, Error?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m ) {
[0;36m71 |[0;0m urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URL+.swift:78:48: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m76 |[0;0m func post(
[0;36m77 |[0;0m data: Data?,
[0;36m78 |[0;0m withHandler handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m ) {
[0;36m80 |[0;0m var request = urlRequest(forHTTPMethod: .POST)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URL+.swift:89:41: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m87 |[0;0m func put(
[0;36m88 |[0;0m data: Data?,
[0;36m89 |[0;0m withHandler handler: @escaping ([4;39mURLResponse[0;0m?, Error?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m90 |[0;0m ) {
[0;36m91 |[0;0m var request = urlRequest(forHTTPMethod: .PUT)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URL+.swift:102:48: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m100 |[0;0m func patch(
[0;36m101 |[0;0m data: Data?,
[0;36m102 |[0;0m withHandler handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m103 |[0;0m ) {
[0;36m104 |[0;0m var request = urlRequest(forHTTPMethod: .PATCH)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URL+.swift:113:48: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m111 |[0;0m func delete(
[0;36m112 |[0;0m data: Data?,
[0;36m113 |[0;0m withHandler handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m114 |[0;0m ) {
[0;36m115 |[0;0m var request = urlRequest(forHTTPMethod: .DELETE)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' 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 URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SURL/URLRequest+.swift:10:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m8 |[0;0m import Foundation
[0;36m9 |[0;0m
[0;36m10 |[0;0m public extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m // MARK: HTTPRequestMethod
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SURL/String+.swift /host/spi-builder-workspace/Sources/SURL/URL+.swift /host/spi-builder-workspace/Sources/SURL/URLRequest+.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/SURL.build/Debug-linux-x86_64/SURL-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SURL.build/Debug-linux-x86_64/SURL-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SURL.build/Debug-linux-x86_64/SURL-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SURL -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SURL.build/Debug-linux-x86_64/SURL-t.build/Objects-normal/x86_64/SURL_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/SURL.build/Debug-linux-x86_64/SURL-t.build/Objects-normal/x86_64/Modules/SURL.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SURL.build/Debug-linux-x86_64/SURL-t.build/Objects-normal/x86_64/Modules/SURL.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SURL.build/Debug-linux-x86_64/SURL-t.build/Objects-normal/x86_64/SURL-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SURL.build/Debug-linux-x86_64/SURL-t.build/Objects-normal/x86_64/SURL-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SURL.build/Debug-linux-x86_64/SURL-t.build/Objects-normal/x86_64/SURL-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SURL.build/Debug-linux-x86_64/SURL-t.build/Objects-normal/x86_64/Modules/SURL.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux