Build Information
Failed to build Edge, reference 0.4.0 (82d0b4), with Swift 6.3 for Linux on 10 Apr 2026 17:47:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skylab-inc/lightning.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/skylab-inc/lightning
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 82d0b41 Middleware tests seem to be passing now on Linux.
Cloned https://github.com/skylab-inc/lightning.git
Revision (git rev-parse @):
82d0b416e11c422ea7ee072f89a794c5d8a60cf3
SUCCESS checkout https://github.com/skylab-inc/lightning.git at 0.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/skylab-inc/lightning.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/skylab-inc/StreamKit.git
[1/316] Fetching streamkit
Fetched https://github.com/skylab-inc/StreamKit.git from cache (0.31s)
Computing version for https://github.com/skylab-inc/StreamKit.git
Computed https://github.com/skylab-inc/StreamKit.git at 0.7.0 (1.27s)
Creating working copy for https://github.com/skylab-inc/StreamKit.git
Working copy of https://github.com/skylab-inc/StreamKit.git resolved at 0.7.0
Building for debugging...
[0/10] Write sources
[8/10] Write swift-version-24593BA9C3E375BF.txt
[9/10] Compiling CHTTPParser http_parser.c
[11/24] Compiling StreamKit Disposable.swift
[12/24] Emitting module StreamKit
[13/24] Compiling StreamKit Bag.swift
[14/24] Emitting module RunLoop
[15/24] Compiling RunLoop RunLoop.swift
[17/25] Compiling POSIX SystemError.swift
[18/25] Compiling POSIX Socket.swift
[19/25] Emitting module POSIX
[20/25] Compiling POSIX FileDescriptor.swift
[22/26] Compiling StreamKit Source.swift
[23/26] Compiling StreamKit Observer.swift
[24/26] Compiling StreamKit Error.swift
[25/26] Compiling StreamKit Event.swift
[26/26] Compiling StreamKit Signal.swift
[28/30] Emitting module IOStream
[29/30] Compiling IOStream Pipe.swift
[30/30] Compiling IOStream IOStream.swift
[32/34] Compiling TCP Socket.swift
[33/34] Emitting module TCP
[34/34] Compiling TCP Server.swift
[36/46] Compiling HTTP Serializable.swift
[37/46] Compiling HTTP Server.swift
[38/46] Compiling HTTP Status.swift
/host/spi-builder-workspace/Sources/HTTP/Status.swift:324:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
322 |
323 | extension Status: Hashable {
324 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
325 | return code
326 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[39/47] Compiling HTTP Response.swift
[40/47] Compiling HTTP Version.swift
[41/47] Compiling HTTP Message.swift
/host/spi-builder-workspace/Sources/HTTP/Message.swift:24:66: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
22 | /// of `rawHeaders`, the last value will be discarded.
23 | var rawHeaderPairs: [(String, String)] {
24 | return stride(from: 0, to: self.rawHeaders.count, by: 2).flatMap {
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
| `- note: use 'compactMap(_:)' instead
25 | let chunk = rawHeaders[$0..<min($0 + 2, rawHeaders.count)]
26 | if let first = chunk.first, let last = chunk.last {
/host/spi-builder-workspace/Sources/HTTP/Method.swift:70:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Method' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
68 |
69 | extension Method: Hashable {
70 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Method' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
71 | switch self {
72 | case .delete: return 0
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[42/47] Compiling HTTP Method.swift
/host/spi-builder-workspace/Sources/HTTP/Message.swift:24:66: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
22 | /// of `rawHeaders`, the last value will be discarded.
23 | var rawHeaderPairs: [(String, String)] {
24 | return stride(from: 0, to: self.rawHeaders.count, by: 2).flatMap {
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
| `- note: use 'compactMap(_:)' instead
25 | let chunk = rawHeaders[$0..<min($0 + 2, rawHeaders.count)]
26 | if let first = chunk.first, let last = chunk.last {
/host/spi-builder-workspace/Sources/HTTP/Method.swift:70:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Method' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
68 |
69 | extension Method: Hashable {
70 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Method' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
71 | switch self {
72 | case .delete: return 0
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[43/47] Emitting module HTTP
/host/spi-builder-workspace/Sources/HTTP/Method.swift:70:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Method' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
68 |
69 | extension Method: Hashable {
70 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Method' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
71 | switch self {
72 | case .delete: return 0
/host/spi-builder-workspace/Sources/HTTP/Status.swift:324:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
322 |
323 | extension Status: Hashable {
324 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
325 | return code
326 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[44/47] Compiling HTTP ClientConnection.swift
[45/47] Compiling HTTP Error.swift
[46/47] Compiling HTTP Parser.swift
/host/spi-builder-workspace/Sources/HTTP/Parser.swift:246:54: error: cannot pass immutable value as inout argument: 'parser' is a 'let' constant
235 | // Here I create a constant private pointer to our "constant" http_parser
236 | // The can be therefore mutated through the pointer, but only within the RawParser.
237 | let parser = http_parser()
| `- note: change 'let' to 'var' to make it mutable
238 | private let parserPointer: UnsafeMutablePointer<http_parser>
239 |
:
244 | self.type = type
245 | self.delegate = delegate
246 | parserPointer = withUnsafeMutablePointer(to: &parser) { $0 }
| `- error: cannot pass immutable value as inout argument: 'parser' is a 'let' constant
247 | reset()
248 | }
/host/spi-builder-workspace/Sources/HTTP/Parser.swift:258:13: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer [#TemporaryPointers]
256 |
257 | public func parse(_ data: [UInt8]) throws {
258 | try UnsafePointer(data).withMemoryRebound(to: Int8.self,
| | |- note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer [#TemporaryPointers]
259 | capacity: data.count) { convertedPointer in
260 | let bytesParsed = http_parser_execute(
/host/spi-builder-workspace/Sources/HTTP/Parser.swift:390:15: warning: assuming you mean 'Optional<HeadersCompleteDirective>.none'; did you mean 'HeadersCompleteDirective.none' instead?
388 | )
389 | switch directive {
390 | case .none: return 0
| |- warning: assuming you mean 'Optional<HeadersCompleteDirective>.none'; did you mean 'HeadersCompleteDirective.none' instead?
| |- note: use 'nil' to silence this warning
| `- note: use 'none?' instead
391 | case .none?: return 0
392 | case .noBody?: return 1
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[47/47] Compiling HTTP Request.swift
/host/spi-builder-workspace/Sources/HTTP/Parser.swift:246:54: error: cannot pass immutable value as inout argument: 'parser' is a 'let' constant
235 | // Here I create a constant private pointer to our "constant" http_parser
236 | // The can be therefore mutated through the pointer, but only within the RawParser.
237 | let parser = http_parser()
| `- note: change 'let' to 'var' to make it mutable
238 | private let parserPointer: UnsafeMutablePointer<http_parser>
239 |
:
244 | self.type = type
245 | self.delegate = delegate
246 | parserPointer = withUnsafeMutablePointer(to: &parser) { $0 }
| `- error: cannot pass immutable value as inout argument: 'parser' is a 'let' constant
247 | reset()
248 | }
/host/spi-builder-workspace/Sources/HTTP/Parser.swift:258:13: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer [#TemporaryPointers]
256 |
257 | public func parse(_ data: [UInt8]) throws {
258 | try UnsafePointer(data).withMemoryRebound(to: Int8.self,
| | |- note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer [#TemporaryPointers]
259 | capacity: data.count) { convertedPointer in
260 | let bytesParsed = http_parser_execute(
/host/spi-builder-workspace/Sources/HTTP/Parser.swift:390:15: warning: assuming you mean 'Optional<HeadersCompleteDirective>.none'; did you mean 'HeadersCompleteDirective.none' instead?
388 | )
389 | switch directive {
390 | case .none: return 0
| |- warning: assuming you mean 'Optional<HeadersCompleteDirective>.none'; did you mean 'HeadersCompleteDirective.none' instead?
| |- note: use 'nil' to silence this warning
| `- note: use 'none?' instead
391 | case .none?: return 0
392 | case .noBody?: return 1
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
BUILD FAILURE 6.3 linux