Build Information
Failed to build Light, reference 0.3.0 (6c3557), with Swift 6.4 for Linux on 19 Sep 2026 00:17:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/dreymonde/light.git
Reference: 0.3.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/dreymonde/light
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at 6c3557b rename to HTTPProxy
Cloned https://github.com/dreymonde/light.git
Revision (git rev-parse @):
6c3557b2618ac629160aa21bac85e6f44857c208
SUCCESS checkout https://github.com/dreymonde/light.git at 0.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/dreymonde/light.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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
Fetching https://github.com/dreymonde/Shallows.git
[1/1076] Fetching shallows
Fetched https://github.com/dreymonde/Shallows.git (0.49s)
Computing version for https://github.com/dreymonde/Shallows.git
Computed https://github.com/dreymonde/Shallows.git at 0.13.4 (1.58s)
Creating working copy for https://github.com/dreymonde/Shallows.git
Working copy of https://github.com/dreymonde/Shallows.git resolved at 0.13.4
Building for debugging...
[Pre-planning 1 / 96]
[34 / 49] Shallows
[43 / 55] Light
[44 / 55] Light
[45 / 55] Shallows
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/Light/URLSession+WebAPI.swift:11:1: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m9 |[0;0m import Shallows
[0;36m10 |[0;0m
[0;36m11 |[0;0m extension [4;39mURLSession[0;0m : ReadOnlyStorageProtocol {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m12 |[0;0m
[0;36m13 |[0;0m public typealias Request = WebAPI.Request
/host/spi-builder-workspace/Sources/Light/URLSession+WebAPI.swift:55:56: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m53 |[0;0m }
[0;36m54 |[0;0m
[0;36m55 |[0;0m public func mapURLRequestKeys() -> ReadOnlyStorage<[4;39mURLRequest[0;0m, Value> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m56 |[0;0m return mapKeys({ .urlRequest($0) })
[0;36m57 |[0;0m }
/host/spi-builder-workspace/Sources/Light/URLSession+WebAPI.swift:79:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m77 |[0;0m extension WebAPIProtocol {
[0;36m78 |[0;0m
[0;36m79 |[0;0m public init(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;36m80 |[0;0m let webAPI = WebAPI(provider: urlSession.asReadOnlyStorage())
[0;36m81 |[0;0m self.init(webAPI: webAPI)
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/Light/URLSession+WebAPI.swift:84:42: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m82 |[0;0m }
[0;36m83 |[0;0m
[0;36m84 |[0;0m public init(urlSessionConfiguration: [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;36m85 |[0;0m let urlSession = URLSession(configuration: urlSessionConfiguration)
[0;36m86 |[0;0m self.init(urlSession: urlSession)
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/Light/URLSession+WebAPI.swift:113:1: [1;31merror: [1;39mnon-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m111 |[0;0m }
[0;36m112 |[0;0m
[0;36m113 |[0;0m extension [4;39mURLSessionConfiguration[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m114 |[0;0m public func setHTTPProxy(_ httpProxy: HTTPProxy) {
[0;36m115 |[0;0m connectionProxyDictionary = [
/host/spi-builder-workspace/Sources/Light/URLSession+WebAPI.swift:132:83: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m130 |[0;0m
[0;36m131 |[0;0m extension WebAPIProtocol {
[0;36m132 |[0;0m public static func withProxy(_ httpProxy: HTTPProxy, urlSessionConfiguration: [4;39mURLSessionConfiguration[0;0m) -> Self {
[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;36m133 |[0;0m urlSessionConfiguration.setHTTPProxy(httpProxy)
[0;36m134 |[0;0m return Self(urlSessionConfiguration: urlSessionConfiguration)
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/Light/WebAPI.swift:15:25: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m public enum Request {
[0;36m14 |[0;0m case url(URL)
[0;36m15 |[0;0m case urlRequest([4;39mURLRequest[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
/host/spi-builder-workspace/Sources/Light/WebAPI.swift:19:37: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m
[0;36m18 |[0;0m public struct Response {
[0;36m19 |[0;0m public var httpUrlResponse: [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;36m20 |[0;0m public var data: Data
[0;36m21 |[0;0m }
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/Light/WebAPI.swift:49:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[0;0m public func retrieve(forKey url: [4;39mURLRequest[0;0m, completion: @escaping (ShallowsResult<Value>) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m50 |[0;0m retrieve(forKey: .urlRequest(url), completion: completion)
[0;36m51 |[0;0m }
[#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/Light/Light.swift /host/spi-builder-workspace/Sources/Light/URLSession+WebAPI.swift /host/spi-builder-workspace/Sources/Light/WebAPI.swift /host/spi-builder-workspace/Sources/Light/WebAPIProtocol.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/Light.build/Debug-linux-x86_64/Light-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Light.build/Debug-linux-x86_64/Light-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Light.build/Debug-linux-x86_64/Light-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Light -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Light.build/Debug-linux-x86_64/Light-t.build/Objects-normal/x86_64/Light_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/Light.build/Debug-linux-x86_64/Light-t.build/Objects-normal/x86_64/Modules/Light.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Light.build/Debug-linux-x86_64/Light-t.build/Objects-normal/x86_64/Modules/Light.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Light.build/Debug-linux-x86_64/Light-t.build/Objects-normal/x86_64/Light-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Light.build/Debug-linux-x86_64/Light-t.build/Objects-normal/x86_64/Light-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Light.build/Debug-linux-x86_64/Light-t.build/Objects-normal/x86_64/Light-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Light.build/Debug-linux-x86_64/Light-t.build/Objects-normal/x86_64/Modules/Light.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux