The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Edge with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.19.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/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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 into spi-builder-workspace
82d0b416e11c422ea7ee072f89a794c5d8a60cf3
SUCCESS checkout https://github.com/skylab-inc/lightning.git at 0.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/skylab-inc/StreamKit.git from cache
Fetched https://github.com/skylab-inc/StreamKit.git (0.19s)
Computing version for https://github.com/skylab-inc/StreamKit.git
Computed https://github.com/skylab-inc/StreamKit.git at 0.7.0 (0.42s)
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/15] Compiling CHTTPParser http_parser.c
[2/15] Emitting module RunLoop
[3/15] Compiling POSIX SystemError.swift
[4/15] Compiling RunLoop RunLoop.swift
[5/15] Compiling POSIX FileDescriptor.swift
[6/15] Emitting module POSIX
[7/15] Compiling POSIX Socket.swift
[8/15] Compiling StreamKit Observer.swift
[9/15] Compiling StreamKit Event.swift
[10/15] Compiling StreamKit Signal.swift
[11/15] Compiling StreamKit Error.swift
[12/15] Compiling StreamKit Bag.swift
[13/15] Emitting module StreamKit
[14/15] Compiling StreamKit Disposable.swift
[15/15] Compiling StreamKit Source.swift
[16/18] Emitting module IOStream
[17/18] Compiling IOStream Pipe.swift
[18/18] Compiling IOStream IOStream.swift
[19/21] Compiling TCP Socket.swift
[20/21] Compiling TCP Server.swift
[21/21] Emitting module TCP
[22/32] Compiling HTTP Serializable.swift
[23/32] Compiling HTTP Server.swift
[24/33] Compiling HTTP Status.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
    public var hashValue: Int {
               ^
[25/33] Compiling HTTP Response.swift
[26/33] Compiling HTTP Message.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
        return stride(from: 0, to: self.rawHeaders.count, by: 2).flatMap {
                                                                 ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Message.swift:24:66: note: use 'compactMap(_:)' instead
        return stride(from: 0, to: self.rawHeaders.count, by: 2).flatMap {
                                                                 ^~~~~~~
                                                                 compactMap
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
    public var hashValue: Int {
               ^
[27/33] Compiling HTTP Method.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
        return stride(from: 0, to: self.rawHeaders.count, by: 2).flatMap {
                                                                 ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Message.swift:24:66: note: use 'compactMap(_:)' instead
        return stride(from: 0, to: self.rawHeaders.count, by: 2).flatMap {
                                                                 ^~~~~~~
                                                                 compactMap
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
    public var hashValue: Int {
               ^
[28/33] Compiling HTTP ClientConnection.swift
[29/33] Compiling HTTP Error.swift
[30/33] Emitting module HTTP
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
    public var hashValue: Int {
               ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
    public var hashValue: Int {
               ^
[31/33] Compiling HTTP Parser.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:258:13: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
        try UnsafePointer(data).withMemoryRebound(to: Int8.self,
            ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:258:27: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
        try UnsafePointer(data).withMemoryRebound(to: Int8.self,
                          ^~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:258:27: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        try UnsafePointer(data).withMemoryRebound(to: Int8.self,
                          ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:390:15: warning: assuming you mean 'Optional<HeadersCompleteDirective>.none'; did you mean 'HeadersCompleteDirective.none' instead?
        case .none: return 0
              ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:390:15: note: use 'nil' to silence this warning
        case .none: return 0
             ~^~~~
             nil
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:390:15: note: use 'none?' instead
        case .none: return 0
              ^~~~
              none?
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:246:25: error: immutable value 'self.parser' must not be passed inout
        parserPointer = withUnsafeMutablePointer(to: &parser) { $0 }
                        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:237:5: note: change 'let' to 'var' to make it mutable
    let parser = http_parser()
    ^~~
    var
[32/33] Compiling HTTP Request.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:258:13: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
        try UnsafePointer(data).withMemoryRebound(to: Int8.self,
            ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:258:27: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
        try UnsafePointer(data).withMemoryRebound(to: Int8.self,
                          ^~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:258:27: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        try UnsafePointer(data).withMemoryRebound(to: Int8.self,
                          ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:390:15: warning: assuming you mean 'Optional<HeadersCompleteDirective>.none'; did you mean 'HeadersCompleteDirective.none' instead?
        case .none: return 0
              ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:390:15: note: use 'nil' to silence this warning
        case .none: return 0
             ~^~~~
             nil
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:390:15: note: use 'none?' instead
        case .none: return 0
              ^~~~
              none?
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:246:25: error: immutable value 'self.parser' must not be passed inout
        parserPointer = withUnsafeMutablePointer(to: &parser) { $0 }
                        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:237:5: note: change 'let' to 'var' to make it mutable
    let parser = http_parser()
    ^~~
    var
[33/33] Compiling HTTP Version.swift
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[1/3] Compiling HTTP Request.swift
[2/3] Emitting module HTTP
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
    public var hashValue: Int {
               ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
    public var hashValue: Int {
               ^
[3/3] Compiling HTTP Parser.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:258:13: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
        try UnsafePointer(data).withMemoryRebound(to: Int8.self,
            ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:258:27: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
        try UnsafePointer(data).withMemoryRebound(to: Int8.self,
                          ^~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:258:27: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        try UnsafePointer(data).withMemoryRebound(to: Int8.self,
                          ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:390:15: warning: assuming you mean 'Optional<HeadersCompleteDirective>.none'; did you mean 'HeadersCompleteDirective.none' instead?
        case .none: return 0
              ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:390:15: note: use 'nil' to silence this warning
        case .none: return 0
             ~^~~~
             nil
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:390:15: note: use 'none?' instead
        case .none: return 0
              ^~~~
              none?
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:246:25: error: immutable value 'self.parser' must not be passed inout
        parserPointer = withUnsafeMutablePointer(to: &parser) { $0 }
                        ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HTTP/Parser.swift:237:5: note: change 'let' to 'var' to make it mutable
    let parser = http_parser()
    ^~~
    var
[4/5] Compiling HTTP Server.swift
[5/5] Compiling HTTP ClientConnection.swift
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm