The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Edge, reference 0.4.0 (82d0b4), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 20:59:03 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skylab-inc/lightning.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/skylab-inc/lightning.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[8/10] Write swift-version-1EA4D86E10B52AF.txt
[9/24] Compiling CHTTPParser http_parser.c
[11/24] Compiling POSIX Socket.swift
[12/24] Emitting module POSIX
[13/24] Compiling POSIX SystemError.swift
[14/24] Compiling POSIX FileDescriptor.swift
[15/24] Compiling RunLoop RunLoop.swift
[16/24] Emitting module RunLoop
[17/24] Compiling StreamKit Source.swift
[18/24] Compiling StreamKit Observer.swift
[19/24] Compiling StreamKit Error.swift
[20/24] Compiling StreamKit Disposable.swift
[21/24] Compiling StreamKit Bag.swift
[22/24] Emitting module StreamKit
[23/24] Compiling StreamKit Signal.swift
[24/24] Compiling StreamKit Event.swift
[25/27] Compiling IOStream Pipe.swift
[26/27] Emitting module IOStream
[27/27] Compiling IOStream IOStream.swift
[28/30] Compiling TCP Socket.swift
[29/30] Compiling TCP Server.swift
[30/30] Emitting module TCP
[31/41] Compiling HTTP Status.swift
/Users/admin/builder/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>
[32/41] Compiling HTTP Method.swift
/Users/admin/builder/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>
[33/41] Compiling HTTP Serializable.swift
[34/41] Compiling HTTP Request.swift
[35/42] Compiling HTTP Message.swift
/Users/admin/builder/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 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[36/42] Compiling HTTP ClientConnection.swift
[37/42] Compiling HTTP Error.swift
[38/42] Emitting module HTTP
/Users/admin/builder/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
/Users/admin/builder/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/42] Compiling HTTP Server.swift
[40/42] Compiling HTTP Response.swift
[41/42] Compiling HTTP Parser.swift
/Users/admin/builder/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 |     }
/Users/admin/builder/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(
/Users/admin/builder/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>
[42/42] Compiling HTTP Version.swift
Fetching https://github.com/skylab-inc/StreamKit.git
[1/316] Fetching streamkit
Fetched https://github.com/skylab-inc/StreamKit.git from cache (0.64s)
Computing version for https://github.com/skylab-inc/StreamKit.git
Computed https://github.com/skylab-inc/StreamKit.git at 0.7.0 (1.16s)
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
BUILD FAILURE 6.2 macosSpm