The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Edge, reference 0.4.0 (82d0b4), with Swift 6.4 for Linux on 16 Sep 2026 06:15:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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/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.4
Building package at path:  $PWD
https://github.com/skylab-inc/lightning.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/skylab-inc/StreamKit.git
[1/316] Fetching streamkit
Fetched https://github.com/skylab-inc/StreamKit.git (0.46s)
Computing version for https://github.com/skylab-inc/StreamKit.git
Computed https://github.com/skylab-inc/StreamKit.git at 0.7.0 (0.67s)
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...
[Computing dependencies]
[Pre-planning 1 / 271]
[75 / 138] StreamKit
[75 / 138] RunLoop
[78 / 138] POSIX
[85 / 138] POSIX
[94 / 138] StreamKit-product
[95 / 138] StreamKit-product
[96 / 138] RunLoop
[98 / 139] RunLoop
[105 / 144] POSIX
[117 / 149] TCP
[132 / 160] IOStream
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
325 |         return code
326 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[136 / 160]
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |                                                                  `- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 71 |         switch self {
 72 |         case .delete:            return 0
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[152 / 165]
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
325 |         return code
326 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/HTTP/Parser.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
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>
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/HTTP/ClientConnection.swift /host/spi-builder-workspace/Sources/HTTP/Error.swift /host/spi-builder-workspace/Sources/HTTP/Message.swift /host/spi-builder-workspace/Sources/HTTP/Method.swift -primary-file /host/spi-builder-workspace/Sources/HTTP/Parser.swift -primary-file /host/spi-builder-workspace/Sources/HTTP/Request.swift /host/spi-builder-workspace/Sources/HTTP/Response.swift /host/spi-builder-workspace/Sources/HTTP/Serializable.swift /host/spi-builder-workspace/Sources/HTTP/Server.swift /host/spi-builder-workspace/Sources/HTTP/Status.swift /host/spi-builder-workspace/Sources/HTTP/Version.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Parser.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Parser.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Parser.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Parser.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Request.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Request.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Request.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Request.dia -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 -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CHTTPParser.modulemap -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/Sources/CHTTPParser/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name HTTP -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/HTTP_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Parser.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Request.o -index-unit-output-path /Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Parser.o -index-unit-output-path /Edge.build/Debug-linux-x86_64/HTTP-t.build/Objects-normal/x86_64/Request.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux