Build Information
Failed to build Edge, reference 0.4.0 (82d0b4
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 07:13:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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
Fetching https://github.com/skylab-inc/StreamKit.git
[7/316] Fetching streamkit
Fetched https://github.com/skylab-inc/StreamKit.git from cache (0.80s)
Computing version for https://github.com/skylab-inc/StreamKit.git
Computed https://github.com/skylab-inc/StreamKit.git at 0.7.0 (0.65s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "lightning",
"name": "Edge",
"url": "https://github.com/skylab-inc/lightning.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/lightning",
"dependencies": [
{
"identity": "streamkit",
"name": "StreamKit",
"url": "https://github.com/skylab-inc/StreamKit.git",
"version": "0.7.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/StreamKit",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/skylab-inc/lightning.git
[1/1619] Fetching lightning
Fetched https://github.com/skylab-inc/lightning.git from cache (0.95s)
Fetching https://github.com/skylab-inc/StreamKit.git from cache
Fetched https://github.com/skylab-inc/StreamKit.git from cache (0.50s)
Computing version for https://github.com/skylab-inc/StreamKit.git
Computed https://github.com/skylab-inc/StreamKit.git at 0.7.0 (0.02s)
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
Creating working copy for https://github.com/skylab-inc/lightning.git
Working copy of https://github.com/skylab-inc/lightning.git resolved at 0.4.0 (82d0b41)
warning: '.resolve-product-dependencies': dependency 'lightning' is not used by any target
Found 1 product dependencies
- StreamKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/skylab-inc/lightning.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/10] Write sources
[8/10] Write swift-version--7754E27361AE5C74.txt
[9/24] Compiling CHTTPParser http_parser.c
[11/24] Compiling POSIX Socket.swift
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:21:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public typealias Port = UInt16
18 |
19 | public struct SocketType {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
20 |
21 | public static let stream = SocketType(rawValue: sockStream)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let datagram = SocketType(rawValue: sockDgram)
23 | public static let seqPacket = SocketType(rawValue: sockSeqPacket)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:22:23: warning: static property 'datagram' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public typealias Port = UInt16
18 |
19 | public struct SocketType {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
20 |
21 | public static let stream = SocketType(rawValue: sockStream)
22 | public static let datagram = SocketType(rawValue: sockDgram)
| |- warning: static property 'datagram' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datagram' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let seqPacket = SocketType(rawValue: sockSeqPacket)
24 | public static let raw = SocketType(rawValue: sockRaw)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:23:23: warning: static property 'seqPacket' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public typealias Port = UInt16
18 |
19 | public struct SocketType {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
20 |
21 | public static let stream = SocketType(rawValue: sockStream)
22 | public static let datagram = SocketType(rawValue: sockDgram)
23 | public static let seqPacket = SocketType(rawValue: sockSeqPacket)
| |- warning: static property 'seqPacket' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seqPacket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let raw = SocketType(rawValue: sockRaw)
25 | public static let reliableDatagram = SocketType(rawValue: sockRDM)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:24:23: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public typealias Port = UInt16
18 |
19 | public struct SocketType {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
20 |
21 | public static let stream = SocketType(rawValue: sockStream)
22 | public static let datagram = SocketType(rawValue: sockDgram)
23 | public static let seqPacket = SocketType(rawValue: sockSeqPacket)
24 | public static let raw = SocketType(rawValue: sockRaw)
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let reliableDatagram = SocketType(rawValue: sockRDM)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:25:23: warning: static property 'reliableDatagram' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public typealias Port = UInt16
18 |
19 | public struct SocketType {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
20 |
21 | public static let stream = SocketType(rawValue: sockStream)
:
23 | public static let seqPacket = SocketType(rawValue: sockSeqPacket)
24 | public static let raw = SocketType(rawValue: sockRaw)
25 | public static let reliableDatagram = SocketType(rawValue: sockRDM)
| |- warning: static property 'reliableDatagram' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'reliableDatagram' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public let rawValue: Int32
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:35:23: warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct AddressFamily {
| `- note: consider making struct 'AddressFamily' conform to the 'Sendable' protocol
35 | public static let unix = AddressFamily(rawValue: AF_UNIX)
| |- warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unix' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let inet = AddressFamily(rawValue: AF_INET)
37 | public static let inet6 = AddressFamily(rawValue: AF_INET6)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:36:23: warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct AddressFamily {
| `- note: consider making struct 'AddressFamily' conform to the 'Sendable' protocol
35 | public static let unix = AddressFamily(rawValue: AF_UNIX)
36 | public static let inet = AddressFamily(rawValue: AF_INET)
| |- warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let inet6 = AddressFamily(rawValue: AF_INET6)
38 | public static let ipx = AddressFamily(rawValue: AF_IPX)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:37:23: warning: static property 'inet6' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct AddressFamily {
| `- note: consider making struct 'AddressFamily' conform to the 'Sendable' protocol
35 | public static let unix = AddressFamily(rawValue: AF_UNIX)
36 | public static let inet = AddressFamily(rawValue: AF_INET)
37 | public static let inet6 = AddressFamily(rawValue: AF_INET6)
| |- warning: static property 'inet6' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inet6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let ipx = AddressFamily(rawValue: AF_IPX)
39 | public static let netlink = AddressFamily(rawValue: AF_APPLETALK)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:38:23: warning: static property 'ipx' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct AddressFamily {
| `- note: consider making struct 'AddressFamily' conform to the 'Sendable' protocol
35 | public static let unix = AddressFamily(rawValue: AF_UNIX)
36 | public static let inet = AddressFamily(rawValue: AF_INET)
37 | public static let inet6 = AddressFamily(rawValue: AF_INET6)
38 | public static let ipx = AddressFamily(rawValue: AF_IPX)
| |- warning: static property 'ipx' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ipx' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let netlink = AddressFamily(rawValue: AF_APPLETALK)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:39:23: warning: static property 'netlink' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct AddressFamily {
| `- note: consider making struct 'AddressFamily' conform to the 'Sendable' protocol
35 | public static let unix = AddressFamily(rawValue: AF_UNIX)
36 | public static let inet = AddressFamily(rawValue: AF_INET)
37 | public static let inet6 = AddressFamily(rawValue: AF_INET6)
38 | public static let ipx = AddressFamily(rawValue: AF_IPX)
39 | public static let netlink = AddressFamily(rawValue: AF_APPLETALK)
| |- warning: static property 'netlink' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'netlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public let rawValue: Int32
[12/24] Compiling POSIX SystemError.swift
[13/24] Emitting module POSIX
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:21:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public typealias Port = UInt16
18 |
19 | public struct SocketType {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
20 |
21 | public static let stream = SocketType(rawValue: sockStream)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let datagram = SocketType(rawValue: sockDgram)
23 | public static let seqPacket = SocketType(rawValue: sockSeqPacket)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:22:23: warning: static property 'datagram' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public typealias Port = UInt16
18 |
19 | public struct SocketType {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
20 |
21 | public static let stream = SocketType(rawValue: sockStream)
22 | public static let datagram = SocketType(rawValue: sockDgram)
| |- warning: static property 'datagram' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datagram' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let seqPacket = SocketType(rawValue: sockSeqPacket)
24 | public static let raw = SocketType(rawValue: sockRaw)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:23:23: warning: static property 'seqPacket' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public typealias Port = UInt16
18 |
19 | public struct SocketType {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
20 |
21 | public static let stream = SocketType(rawValue: sockStream)
22 | public static let datagram = SocketType(rawValue: sockDgram)
23 | public static let seqPacket = SocketType(rawValue: sockSeqPacket)
| |- warning: static property 'seqPacket' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seqPacket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let raw = SocketType(rawValue: sockRaw)
25 | public static let reliableDatagram = SocketType(rawValue: sockRDM)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:24:23: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public typealias Port = UInt16
18 |
19 | public struct SocketType {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
20 |
21 | public static let stream = SocketType(rawValue: sockStream)
22 | public static let datagram = SocketType(rawValue: sockDgram)
23 | public static let seqPacket = SocketType(rawValue: sockSeqPacket)
24 | public static let raw = SocketType(rawValue: sockRaw)
| |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raw' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let reliableDatagram = SocketType(rawValue: sockRDM)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:25:23: warning: static property 'reliableDatagram' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public typealias Port = UInt16
18 |
19 | public struct SocketType {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
20 |
21 | public static let stream = SocketType(rawValue: sockStream)
:
23 | public static let seqPacket = SocketType(rawValue: sockSeqPacket)
24 | public static let raw = SocketType(rawValue: sockRaw)
25 | public static let reliableDatagram = SocketType(rawValue: sockRDM)
| |- warning: static property 'reliableDatagram' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'reliableDatagram' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public let rawValue: Int32
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:35:23: warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct AddressFamily {
| `- note: consider making struct 'AddressFamily' conform to the 'Sendable' protocol
35 | public static let unix = AddressFamily(rawValue: AF_UNIX)
| |- warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unix' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let inet = AddressFamily(rawValue: AF_INET)
37 | public static let inet6 = AddressFamily(rawValue: AF_INET6)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:36:23: warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct AddressFamily {
| `- note: consider making struct 'AddressFamily' conform to the 'Sendable' protocol
35 | public static let unix = AddressFamily(rawValue: AF_UNIX)
36 | public static let inet = AddressFamily(rawValue: AF_INET)
| |- warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let inet6 = AddressFamily(rawValue: AF_INET6)
38 | public static let ipx = AddressFamily(rawValue: AF_IPX)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:37:23: warning: static property 'inet6' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct AddressFamily {
| `- note: consider making struct 'AddressFamily' conform to the 'Sendable' protocol
35 | public static let unix = AddressFamily(rawValue: AF_UNIX)
36 | public static let inet = AddressFamily(rawValue: AF_INET)
37 | public static let inet6 = AddressFamily(rawValue: AF_INET6)
| |- warning: static property 'inet6' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inet6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let ipx = AddressFamily(rawValue: AF_IPX)
39 | public static let netlink = AddressFamily(rawValue: AF_APPLETALK)
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:38:23: warning: static property 'ipx' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct AddressFamily {
| `- note: consider making struct 'AddressFamily' conform to the 'Sendable' protocol
35 | public static let unix = AddressFamily(rawValue: AF_UNIX)
36 | public static let inet = AddressFamily(rawValue: AF_INET)
37 | public static let inet6 = AddressFamily(rawValue: AF_INET6)
38 | public static let ipx = AddressFamily(rawValue: AF_IPX)
| |- warning: static property 'ipx' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ipx' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let netlink = AddressFamily(rawValue: AF_APPLETALK)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/POSIX/Socket.swift:39:23: warning: static property 'netlink' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct AddressFamily {
| `- note: consider making struct 'AddressFamily' conform to the 'Sendable' protocol
35 | public static let unix = AddressFamily(rawValue: AF_UNIX)
36 | public static let inet = AddressFamily(rawValue: AF_INET)
37 | public static let inet6 = AddressFamily(rawValue: AF_INET6)
38 | public static let ipx = AddressFamily(rawValue: AF_IPX)
39 | public static let netlink = AddressFamily(rawValue: AF_APPLETALK)
| |- warning: static property 'netlink' is not concurrency-safe because non-'Sendable' type 'AddressFamily' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'netlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public let rawValue: Int32
[14/24] Compiling POSIX FileDescriptor.swift
[15/24] Compiling RunLoop RunLoop.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/RunLoop/RunLoop.swift:18:16: warning: let 'systemSignal' is not concurrency-safe because non-'Sendable' type '(Int32, (@convention(c) (Int32) -> Void)?) -> (@convention(c) (Int32) -> Void)?' may have shared mutable state; this is an error in the Swift 6 language mode
16 | #else
17 | import Darwin
18 | public let systemSignal = Darwin.signal
| |- warning: let 'systemSignal' is not concurrency-safe because non-'Sendable' type '(Int32, (@convention(c) (Int32) -> Void)?) -> (@convention(c) (Int32) -> Void)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemSignal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public let SIGPIPE = Darwin.SIGPIPE
20 | public let SIG_IGN = Darwin.SIG_IGN
[16/24] Emitting module RunLoop
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/RunLoop/RunLoop.swift:18:16: warning: let 'systemSignal' is not concurrency-safe because non-'Sendable' type '(Int32, (@convention(c) (Int32) -> Void)?) -> (@convention(c) (Int32) -> Void)?' may have shared mutable state; this is an error in the Swift 6 language mode
16 | #else
17 | import Darwin
18 | public let systemSignal = Darwin.signal
| |- warning: let 'systemSignal' is not concurrency-safe because non-'Sendable' type '(Int32, (@convention(c) (Int32) -> Void)?) -> (@convention(c) (Int32) -> Void)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemSignal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public let SIGPIPE = Darwin.SIGPIPE
20 | public let SIG_IGN = Darwin.SIG_IGN
[17/24] Compiling StreamKit Bag.swift
[18/24] Compiling StreamKit Source.swift
[19/24] Compiling StreamKit Observer.swift
[20/24] Compiling StreamKit Signal.swift
[21/24] Compiling StreamKit Disposable.swift
[22/24] Emitting module StreamKit
[23/24] Compiling StreamKit Event.swift
[24/24] Compiling StreamKit Error.swift
[25/27] Emitting module IOStream
[26/27] Compiling IOStream Pipe.swift
[27/27] Compiling IOStream IOStream.swift
[28/30] Compiling TCP Socket.swift
[29/30] Emitting module TCP
[30/30] Compiling TCP Server.swift
[31/41] 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
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
71 | switch self {
72 | case .delete: return 0
/Users/admin/builder/spi-builder-workspace/Sources/HTTP/Parser.swift:281:5: warning: var 'requestSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
279 | }
280 |
281 | var requestSettings: http_parser_settings = {
| |- warning: var 'requestSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requestSettings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'requestSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
282 | var settings = http_parser_settings()
283 | http_parser_settings_init(&settings)
/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
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
325 | return code
326 | }
[32/41] 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
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
| `- note: use 'compactMap(_:)' instead
25 | let chunk = rawHeaders[$0..<min($0 + 2, rawHeaders.count)]
26 | if let first = chunk.first, let last = chunk.last {
[33/41] Compiling HTTP ClientConnection.swift
[34/41] Compiling HTTP Error.swift
[35/42] Compiling HTTP Request.swift
[36/42] 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
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
325 | return code
326 | }
[37/42] Compiling HTTP Server.swift
[38/42] Compiling HTTP Version.swift
[39/42] Compiling HTTP Response.swift
[40/42] 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
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
71 | switch self {
72 | case .delete: return 0
[41/42] Compiling HTTP Serializable.swift
[42/42] Compiling HTTP Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTP/Parser.swift:281:5: warning: var 'requestSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
279 | }
280 |
281 | var requestSettings: http_parser_settings = {
| |- warning: var 'requestSettings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requestSettings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'requestSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
282 | var settings = http_parser_settings()
283 | http_parser_settings_init(&settings)
/Users/admin/builder/spi-builder-workspace/Sources/HTTP/Parser.swift:258:13: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
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
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?
391 | case .none?: return 0
392 | case .noBody?: return 1
/Users/admin/builder/spi-builder-workspace/Sources/HTTP/Parser.swift:246:25: error: immutable value 'self.parser' must not be passed inout
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: immutable value 'self.parser' must not be passed inout
247 | reset()
248 | }
BUILD FAILURE 6.0 macosSpm