Build Information
Successful build of NozeIO with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 212
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- note: annotate 'getsockname' 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
64 | public let getpeername = Darwin.getpeername
65 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:59:14: warning: let 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
57 | public let bind = Darwin.bind
58 | public let connect = Darwin.connect
59 | public let listen = Darwin.listen
| |- warning: let 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'listen' 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
60 | public let accept = Darwin.accept
61 | public let shutdown = Darwin.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:60:14: warning: let 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
58 | public let connect = Darwin.connect
59 | public let listen = Darwin.listen
60 | public let accept = Darwin.accept
| |- warning: let 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accept' 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
61 | public let shutdown = Darwin.shutdown
62 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:57:14: warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
55 | public let socket = Darwin.socket
56 | public let poll = Darwin.poll
57 | public let bind = Darwin.bind
| |- warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bind' 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
58 | public let connect = Darwin.connect
59 | public let listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:66:14: warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
64 | public let getpeername = Darwin.getpeername
65 |
66 | public let setsockopt = Darwin.setsockopt
| |- warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setsockopt' 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
67 |
68 | public let getaddrinfo = Darwin.getaddrinfo
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:55:14: warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
53 | import Darwin
54 |
55 | public let socket = Darwin.socket
| |- warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'socket' 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
56 | public let poll = Darwin.poll
57 | public let bind = Darwin.bind
[187/199] Compiling net DNS.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:68:14: warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
66 | public let setsockopt = Darwin.setsockopt
67 |
68 | public let getaddrinfo = Darwin.getaddrinfo
| |- warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getaddrinfo' 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
69 | public let freeaddrinfo = Darwin.freeaddrinfo
70 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:69:14: warning: let 'freeaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<addrinfo>?) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | public let getaddrinfo = Darwin.getaddrinfo
69 | public let freeaddrinfo = Darwin.freeaddrinfo
| |- warning: let 'freeaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<addrinfo>?) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'freeaddrinfo' 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
70 |
71 | public let SOCK_STREAM = Darwin.SOCK_STREAM
[188/199] Compiling net Module.swift
/Users/admin/builder/spi-builder-workspace/Sources/net/Module.swift:15:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeNet' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import xsys
12 |
13 | public class NozeNet : NozeModule {
| `- note: class 'NozeNet' does not conform to the 'Sendable' protocol
14 | }
15 | public let module = NozeNet()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeNet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| |- warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Q' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Q' 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 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:71:51: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | public init(_ fd : FileDescriptor = nil,
71 | queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 | enableLogger : Bool = false)
73 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/net/Server.swift:39:53: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | public init(allowHalfOpen : Bool = false,
38 | pauseOnConnect : Bool = false,
39 | queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | enableLogger : Bool = false)
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
[189/199] Emitting module net
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:68:14: warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
66 | public let setsockopt = Darwin.setsockopt
67 |
68 | public let getaddrinfo = Darwin.getaddrinfo
| |- warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getaddrinfo' 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
69 | public let freeaddrinfo = Darwin.freeaddrinfo
70 |
/Users/admin/builder/spi-builder-workspace/Sources/net/Module.swift:15:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeNet' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import xsys
12 |
13 | public class NozeNet : NozeModule {
| `- note: class 'NozeNet' does not conform to the 'Sendable' protocol
14 | }
15 | public let module = NozeNet()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeNet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| |- warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Q' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Q' 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 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/net/Server.swift:39:53: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | public init(allowHalfOpen : Bool = false,
38 | pauseOnConnect : Bool = false,
39 | queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | enableLogger : Bool = false)
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:28:8: warning: associated value 'ConnectionRefused' of 'Sendable'-conforming enum 'SocketError' has non-sendable type 'sockaddr_any'; this is an error in the Swift 6 language mode
26 | public enum SocketError : Error {
27 | case Generic(POSIXErrorCode)
28 | case ConnectionRefused(sockaddr_any)
| `- warning: associated value 'ConnectionRefused' of 'Sendable'-conforming enum 'SocketError' has non-sendable type 'sockaddr_any'; this is an error in the Swift 6 language mode
29 |
30 | public init(_ errno: Int32, _ address: sockaddr_any) {
/Users/admin/builder/spi-builder-workspace/Sources/xsys/sockaddr_any.swift:17:13: note: enum 'sockaddr_any' does not conform to the 'Sendable' protocol
15 | // Note: This cannot conform to SocketAddress because it doesn't have a static
16 | // domain.
17 | public enum sockaddr_any {
| `- note: enum 'sockaddr_any' does not conform to the 'Sendable' protocol
18 |
19 | case AF_INET (sockaddr_in)
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'xsys'
14 | #endif
15 |
16 | import xsys
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'xsys'
17 | import core
18 | import events
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:71:51: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | public init(_ fd : FileDescriptor = nil,
71 | queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 | enableLogger : Bool = false)
73 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:80:1: warning: extension declares a conformance of imported type 'in_addr' to imported protocols 'Equatable', 'Hashable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
78 | }
79 |
80 | extension in_addr : Equatable, Hashable {
| |- warning: extension declares a conformance of imported type 'in_addr' to imported protocols 'Equatable', 'Hashable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
81 |
82 | #if swift(>=5) || compiler(>=5.1)
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:96:1: warning: extension declares a conformance of imported type 'in_addr' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
94 | }
95 |
96 | extension in_addr: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'in_addr' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | // this allows you to do: let addr : in_addr = "192.168.0.1"
98 |
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:113:1: warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
111 | }
112 |
113 | extension in_addr: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
114 |
115 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:121:1: warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
119 | }
120 |
121 | extension sockaddr_in: SocketAddress {
| |- warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
122 |
123 | public static var domain = xsys.AF_INET // if you make this a let, swiftc segfaults
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:123:21: warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
121 | extension sockaddr_in: SocketAddress {
122 |
123 | public static var domain = xsys.AF_INET // if you make this a let, swiftc segfaults
| |- warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'domain' 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
124 | public static var size = __uint8_t(MemoryLayout<sockaddr_in>.stride)
125 | // how to refer to self?
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:124:21: warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
122 |
123 | public static var domain = xsys.AF_INET // if you make this a let, swiftc segfaults
124 | public static var size = __uint8_t(MemoryLayout<sockaddr_in>.stride)
| |- warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
125 | // how to refer to self?
126 |
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:234:1: warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocols 'Equatable', 'Hashable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
232 | }
233 |
234 | extension sockaddr_in: Equatable, Hashable {
| |- warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocols 'Equatable', 'Hashable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
235 |
236 | #if swift(>=5) || compiler(>=5.1)
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:258:1: warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
256 | * StringInterpolationConvertible
257 | */
258 | extension sockaddr_in: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
259 |
260 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:274:1: warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
272 | }
273 |
274 | extension sockaddr_in: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
275 |
276 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:282:1: warning: extension declares a conformance of imported type 'sockaddr_in6' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
280 | }
281 |
282 | extension sockaddr_in6: SocketAddress {
| |- warning: extension declares a conformance of imported type 'sockaddr_in6' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
283 |
284 | public static var domain = xsys.AF_INET6
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:284:21: warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
282 | extension sockaddr_in6: SocketAddress {
283 |
284 | public static var domain = xsys.AF_INET6
| |- warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'domain' 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
285 | public static var size = __uint8_t(MemoryLayout<sockaddr_in6>.stride)
286 |
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:285:21: warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
283 |
284 | public static var domain = xsys.AF_INET6
285 | public static var size = __uint8_t(MemoryLayout<sockaddr_in6>.stride)
| |- warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
286 |
287 | public static func make() -> sockaddr_in6 {
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:320:1: warning: extension declares a conformance of imported type 'sockaddr_un' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
318 | }
319 |
320 | extension sockaddr_un: SocketAddress {
| |- warning: extension declares a conformance of imported type 'sockaddr_un' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
321 | // TBD: sockaddr_un would be interesting as the size of the structure is
322 | // technically dynamic (embedded string)
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:324:21: warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
322 | // technically dynamic (embedded string)
323 |
324 | public static var domain = AF_UNIX
| |- warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'domain' 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
325 | public static var size = __uint8_t(MemoryLayout<sockaddr_un>.stride) //CAREFUL
326 |
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:325:21: warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
323 |
324 | public static var domain = AF_UNIX
325 | public static var size = __uint8_t(MemoryLayout<sockaddr_un>.stride) //CAREFUL
| |- warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
326 |
327 | // DO NOT USE, this is actually non-sense
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:457:1: warning: extension declares a conformance of imported type 'addrinfo' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
455 | }
456 |
457 | extension addrinfo : CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'addrinfo' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
458 |
459 | public var description : String {
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:517:1: warning: extension declares a conformance of imported type 'addrinfo' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
515 | }
516 |
517 | extension addrinfo : Sequence {
| |- warning: extension declares a conformance of imported type 'addrinfo' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
518 |
519 | public func makeIterator() -> AnyIterator<addrinfo> {
[190/199] Compiling net Socket.swift
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:28:8: warning: associated value 'ConnectionRefused' of 'Sendable'-conforming enum 'SocketError' has non-sendable type 'sockaddr_any'; this is an error in the Swift 6 language mode
26 | public enum SocketError : Error {
27 | case Generic(POSIXErrorCode)
28 | case ConnectionRefused(sockaddr_any)
| `- warning: associated value 'ConnectionRefused' of 'Sendable'-conforming enum 'SocketError' has non-sendable type 'sockaddr_any'; this is an error in the Swift 6 language mode
29 |
30 | public init(_ errno: Int32, _ address: sockaddr_any) {
/Users/admin/builder/spi-builder-workspace/Sources/xsys/sockaddr_any.swift:17:13: note: enum 'sockaddr_any' does not conform to the 'Sendable' protocol
15 | // Note: This cannot conform to SocketAddress because it doesn't have a static
16 | // domain.
17 | public enum sockaddr_any {
| `- note: enum 'sockaddr_any' does not conform to the 'Sendable' protocol
18 |
19 | case AF_INET (sockaddr_in)
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'xsys'
14 | #endif
15 |
16 | import xsys
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'xsys'
17 | import core
18 | import events
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| |- warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Q' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Q' 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 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:71:51: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | public init(_ fd : FileDescriptor = nil,
71 | queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 | enableLogger : Bool = false)
73 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:11:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeCore' may have shared mutable state; this is an error in the Swift 6 language mode
9 | @_exported import Dispatch
10 |
11 | public let module = NozeCore()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeCore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
12 |
13 |
/Users/admin/builder/spi-builder-workspace/Sources/core/NozeCore.swift:23:14: note: class 'NozeCore' does not conform to the 'Sendable' protocol
21 | private let debugRetain = false
22 |
23 | public class NozeCore : NozeModule {
| `- note: class 'NozeCore' does not conform to the 'Sendable' protocol
24 |
25 | init() {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:55:14: warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
53 | import Darwin
54 |
55 | public let socket = Darwin.socket
| |- warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'socket' 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
56 | public let poll = Darwin.poll
57 | public let bind = Darwin.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:58:14: warning: let 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
56 | public let poll = Darwin.poll
57 | public let bind = Darwin.bind
58 | public let connect = Darwin.connect
| |- warning: let 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'connect' 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
59 | public let listen = Darwin.listen
60 | public let accept = Darwin.accept
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:257:20: warning: capture of 'self' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 |
54 | /// TODO: doc
55 | open class Socket : Duplex<SocketSourceTarget, SocketSourceTarget>,
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
56 | DuplexByteStreamType, FileDescriptorStream
57 | {
:
255 |
256 | connectQueue.async {
257 | let perrno = self._primaryConnect(address: address)
| `- warning: capture of 'self' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
258 |
259 | // check if connect failed
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:257:50: warning: capture of 'address' with non-sendable type 'AT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 | }
231 |
232 | public func connect<AT: SocketAddress>(_ address: AT) {
| `- note: consider making generic parameter 'AT' conform to the 'Sendable' protocol
233 | let log = self.log
234 | log.enter(); defer { log.leave() }
:
255 |
256 | connectQueue.async {
257 | let perrno = self._primaryConnect(address: address)
| `- warning: capture of 'address' with non-sendable type 'AT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
258 |
259 | // check if connect failed
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:263:11: warning: capture of 'log' with non-sendable type 'Logger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
261 | guard perrno == 0 else {
262 | nextTick {
263 | log.debug(" failed, put back to disconnect.")
| `- warning: capture of 'log' with non-sendable type 'Logger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
264 | self.connectionState = .Disconnected
265 |
/Users/admin/builder/spi-builder-workspace/Sources/core/Logger.swift:14:14: note: class 'Logger' does not conform to the 'Sendable' protocol
12 | /// be replaced.
13 | /// In userland code use the `console` module.
14 | public class Logger : LoggerType {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
15 |
16 | public typealias LogCB = ( Logger ) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'core'
15 |
16 | import xsys
17 | import core
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'core'
18 | import events
19 | import streams
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:263:11: warning: capture of 'log' with non-sendable type 'Logger' in an isolated closure; this is an error in the Swift 6 language mode
261 | guard perrno == 0 else {
262 | nextTick {
263 | log.debug(" failed, put back to disconnect.")
| `- warning: capture of 'log' with non-sendable type 'Logger' in an isolated closure; this is an error in the Swift 6 language mode
264 | self.connectionState = .Disconnected
265 |
/Users/admin/builder/spi-builder-workspace/Sources/core/Logger.swift:14:14: note: class 'Logger' does not conform to the 'Sendable' protocol
12 | /// be replaced.
13 | /// In userland code use the `console` module.
14 | public class Logger : LoggerType {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
15 |
16 | public typealias LogCB = ( Logger ) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:264:11: warning: capture of 'self' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
53 |
54 | /// TODO: doc
55 | open class Socket : Duplex<SocketSourceTarget, SocketSourceTarget>,
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
56 | DuplexByteStreamType, FileDescriptorStream
57 | {
:
262 | nextTick {
263 | log.debug(" failed, put back to disconnect.")
264 | self.connectionState = .Disconnected
| `- warning: capture of 'self' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
265 |
266 | self.log.debug("Could not connect \(self) to \(address)") // TODO: log
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:266:58: warning: capture of 'address' with non-sendable type 'AT' in an isolated closure; this is an error in the Swift 6 language mode
230 | }
231 |
232 | public func connect<AT: SocketAddress>(_ address: AT) {
| `- note: consider making generic parameter 'AT' conform to the 'Sendable' protocol
233 | let log = self.log
234 | log.enter(); defer { log.leave() }
:
264 | self.connectionState = .Disconnected
265 |
266 | self.log.debug("Could not connect \(self) to \(address)") // TODO: log
| `- warning: capture of 'address' with non-sendable type 'AT' in an isolated closure; this is an error in the Swift 6 language mode
267 | self.errorListeners.emit(SocketError(perrno, sockaddr_any(address)!))
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:266:47: warning: implicit capture of 'self' requires that 'Socket' conforms to `Sendable`; this is an error in the Swift 6 language mode
53 |
54 | /// TODO: doc
55 | open class Socket : Duplex<SocketSourceTarget, SocketSourceTarget>,
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
56 | DuplexByteStreamType, FileDescriptorStream
57 | {
:
264 | self.connectionState = .Disconnected
265 |
266 | self.log.debug("Could not connect \(self) to \(address)") // TODO: log
| `- warning: implicit capture of 'self' requires that 'Socket' conforms to `Sendable`; this is an error in the Swift 6 language mode
267 | self.errorListeners.emit(SocketError(perrno, sockaddr_any(address)!))
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:266:58: warning: implicit capture of 'address' requires that 'AT' conforms to `Sendable`; this is an error in the Swift 6 language mode
230 | }
231 |
232 | public func connect<AT: SocketAddress>(_ address: AT) {
| `- note: consider making generic parameter 'AT' conform to the 'Sendable' protocol
233 | let log = self.log
234 | log.enter(); defer { log.leave() }
:
264 | self.connectionState = .Disconnected
265 |
266 | self.log.debug("Could not connect \(self) to \(address)") // TODO: log
| `- warning: implicit capture of 'address' requires that 'AT' conforms to `Sendable`; this is an error in the Swift 6 language mode
267 | self.errorListeners.emit(SocketError(perrno, sockaddr_any(address)!))
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:275:9: warning: capture of 'self' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
53 |
54 | /// TODO: doc
55 | open class Socket : Duplex<SocketSourceTarget, SocketSourceTarget>,
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
56 | DuplexByteStreamType, FileDescriptorStream
57 | {
:
273 | log.debug(" connected, tick ...")
274 | nextTick {
275 | self._onDidConnect(address: address)
| `- warning: capture of 'self' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
276 | }
277 | }
/Users/admin/builder/spi-builder-workspace/Sources/net/Socket.swift:275:37: warning: capture of 'address' with non-sendable type 'AT' in an isolated closure; this is an error in the Swift 6 language mode
230 | }
231 |
232 | public func connect<AT: SocketAddress>(_ address: AT) {
| `- note: consider making generic parameter 'AT' conform to the 'Sendable' protocol
233 | let log = self.log
234 | log.enter(); defer { log.leave() }
:
273 | log.debug(" connected, tick ...")
274 | nextTick {
275 | self._onDidConnect(address: address)
| `- warning: capture of 'address' with non-sendable type 'AT' in an isolated closure; this is an error in the Swift 6 language mode
276 | }
277 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:66:14: warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
64 | public let getpeername = Darwin.getpeername
65 |
66 | public let setsockopt = Darwin.setsockopt
| |- warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setsockopt' 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
67 |
68 | public let getaddrinfo = Darwin.getaddrinfo
[191/199] Compiling net SocketAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:80:1: warning: extension declares a conformance of imported type 'in_addr' to imported protocols 'Equatable', 'Hashable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
78 | }
79 |
80 | extension in_addr : Equatable, Hashable {
| |- warning: extension declares a conformance of imported type 'in_addr' to imported protocols 'Equatable', 'Hashable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
81 |
82 | #if swift(>=5) || compiler(>=5.1)
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:96:1: warning: extension declares a conformance of imported type 'in_addr' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
94 | }
95 |
96 | extension in_addr: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'in_addr' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | // this allows you to do: let addr : in_addr = "192.168.0.1"
98 |
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:113:1: warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
111 | }
112 |
113 | extension in_addr: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'in_addr' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
114 |
115 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:121:1: warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
119 | }
120 |
121 | extension sockaddr_in: SocketAddress {
| |- warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
122 |
123 | public static var domain = xsys.AF_INET // if you make this a let, swiftc segfaults
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:123:21: warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
121 | extension sockaddr_in: SocketAddress {
122 |
123 | public static var domain = xsys.AF_INET // if you make this a let, swiftc segfaults
| |- warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'domain' 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
124 | public static var size = __uint8_t(MemoryLayout<sockaddr_in>.stride)
125 | // how to refer to self?
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:124:21: warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
122 |
123 | public static var domain = xsys.AF_INET // if you make this a let, swiftc segfaults
124 | public static var size = __uint8_t(MemoryLayout<sockaddr_in>.stride)
| |- warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
125 | // how to refer to self?
126 |
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:234:1: warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocols 'Equatable', 'Hashable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
232 | }
233 |
234 | extension sockaddr_in: Equatable, Hashable {
| |- warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocols 'Equatable', 'Hashable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
235 |
236 | #if swift(>=5) || compiler(>=5.1)
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:258:1: warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
256 | * StringInterpolationConvertible
257 | */
258 | extension sockaddr_in: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
259 |
260 | public init(stringLiteral value: String) {
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:274:1: warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
272 | }
273 |
274 | extension sockaddr_in: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'sockaddr_in' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
275 |
276 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:282:1: warning: extension declares a conformance of imported type 'sockaddr_in6' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
280 | }
281 |
282 | extension sockaddr_in6: SocketAddress {
| |- warning: extension declares a conformance of imported type 'sockaddr_in6' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
283 |
284 | public static var domain = xsys.AF_INET6
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:284:21: warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
282 | extension sockaddr_in6: SocketAddress {
283 |
284 | public static var domain = xsys.AF_INET6
| |- warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'domain' 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
285 | public static var size = __uint8_t(MemoryLayout<sockaddr_in6>.stride)
286 |
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:285:21: warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
283 |
284 | public static var domain = xsys.AF_INET6
285 | public static var size = __uint8_t(MemoryLayout<sockaddr_in6>.stride)
| |- warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
286 |
287 | public static func make() -> sockaddr_in6 {
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:320:1: warning: extension declares a conformance of imported type 'sockaddr_un' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
318 | }
319 |
320 | extension sockaddr_un: SocketAddress {
| |- warning: extension declares a conformance of imported type 'sockaddr_un' to imported protocol 'SocketAddress'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
321 | // TBD: sockaddr_un would be interesting as the size of the structure is
322 | // technically dynamic (embedded string)
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:324:21: warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
322 | // technically dynamic (embedded string)
323 |
324 | public static var domain = AF_UNIX
| |- warning: static property 'domain' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'domain' 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
325 | public static var size = __uint8_t(MemoryLayout<sockaddr_un>.stride) //CAREFUL
326 |
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:325:21: warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
323 |
324 | public static var domain = AF_UNIX
325 | public static var size = __uint8_t(MemoryLayout<sockaddr_un>.stride) //CAREFUL
| |- warning: static property 'size' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
326 |
327 | // DO NOT USE, this is actually non-sense
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:457:1: warning: extension declares a conformance of imported type 'addrinfo' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
455 | }
456 |
457 | extension addrinfo : CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'addrinfo' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
458 |
459 | public var description : String {
/Users/admin/builder/spi-builder-workspace/Sources/net/SocketAddress.swift:517:1: warning: extension declares a conformance of imported type 'addrinfo' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
515 | }
516 |
517 | extension addrinfo : Sequence {
| |- warning: extension declares a conformance of imported type 'addrinfo' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
518 |
519 | public func makeIterator() -> AnyIterator<addrinfo> {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift:15:12: warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
13 | return (value << 8) + (value >> 8);
14 | }
15 | public let htons = ntohs // same thing, swap bytes :-)
| |- warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htons' 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
16 |
[192/199] Compiling console Console.swift
[193/199] Emitting module console
/Users/admin/builder/spi-builder-workspace/Sources/console/Module.swift:16:12: warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public var module = NozeConsole()
| |- warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' 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
17 |
18 | public var defaultConsole : ConsoleType =
/Users/admin/builder/spi-builder-workspace/Sources/console/Module.swift:18:12: warning: var 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public var module = NozeConsole()
17 |
18 | public var defaultConsole : ConsoleType =
| |- warning: var 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' 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 | Console2(StdOutTarget(fd: Int32(xsys.STDOUT_FILENO)).writable(),
20 | StdOutTarget(fd: Int32(xsys.STDERR_FILENO)).writable())
[194/232] Compiling child_process Module.swift
/Users/admin/builder/spi-builder-workspace/Sources/child_process/Module.swift:14:12: warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public var module = NozeChildProcess()
| |- warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' 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
15 |
16 |
[195/232] Compiling child_process PipeSourceTarget.swift
[196/232] Compiling child_process ChildProcessPipes.swift
[197/232] Emitting module child_process
/Users/admin/builder/spi-builder-workspace/Sources/child_process/ChildProcess.swift:23:5: warning: var 'activeChildProcesses' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // TODO: this is a nice enum
22 |
23 | var activeChildProcesses = Array<ChildProcess>()
| |- warning: var 'activeChildProcesses' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeChildProcesses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeChildProcesses' 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 |
25 | public class ChildProcess : ErrorEmitter {
/Users/admin/builder/spi-builder-workspace/Sources/child_process/Module.swift:14:12: warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public var module = NozeChildProcess()
| |- warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' 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
15 |
16 |
[198/232] Compiling child_process Spawn.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:81:14: warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
79 | public typealias pid_t = Darwin.pid_t
80 | public let posix_spawn = Darwin.posix_spawn
81 | public let posix_spawnp = Darwin.posix_spawnp
| |- warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'posix_spawnp' 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
82 | public let waitpid = Darwin.waitpid
83 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:62:14: warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | public let open : xsysOpenType = Darwin.open
62 | public let close = Darwin.close
| |- warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'close' 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
63 | public let read = Darwin.read
64 | public let write = Darwin.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/process/Module.swift:76:12: warning: let 'nextTick' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public let nextTick = core.nextTick
| |- warning: let 'nextTick' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nextTick' 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
77 |
78 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:84:14: warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
82 | public let waitpid = Darwin.waitpid
83 |
84 | public let getenv = Darwin.getenv
| |- warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getenv' 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
85 |
86 | // signals
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:107:14: warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
105 | public let RLIMIT_NOFILE = Darwin.RLIMIT_NOFILE
106 | public let _SC_OPEN_MAX = Darwin._SC_OPEN_MAX
107 | public let sysconf = Darwin.sysconf
| |- warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sysconf' 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
108 | #endif
109 |
[199/232] Compiling child_process ChildProcess.swift
/Users/admin/builder/spi-builder-workspace/Sources/child_process/ChildProcess.swift:23:5: warning: var 'activeChildProcesses' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // TODO: this is a nice enum
22 |
23 | var activeChildProcesses = Array<ChildProcess>()
| |- warning: var 'activeChildProcesses' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeChildProcesses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeChildProcesses' 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 |
25 | public class ChildProcess : ErrorEmitter {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:11:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeCore' may have shared mutable state; this is an error in the Swift 6 language mode
9 | @_exported import Dispatch
10 |
11 | public let module = NozeCore()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeCore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
12 |
13 |
/Users/admin/builder/spi-builder-workspace/Sources/core/NozeCore.swift:23:14: note: class 'NozeCore' does not conform to the 'Sendable' protocol
21 | private let debugRetain = false
22 |
23 | public class NozeCore : NozeModule {
| `- note: class 'NozeCore' does not conform to the 'Sendable' protocol
24 |
25 | init() {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:82:14: warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
80 | public let posix_spawn = Darwin.posix_spawn
81 | public let posix_spawnp = Darwin.posix_spawnp
82 | public let waitpid = Darwin.waitpid
| |- warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'waitpid' 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
83 |
84 | public let getenv = Darwin.getenv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:72:14: warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
70 | public let arc4random_uniform = Darwin.arc4random_uniform
71 |
72 | public let kill = Darwin.kill
| |- warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kill' 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
73 | public let chdir = Darwin.chdir
74 | public let getcwd = Darwin.getcwd
[200/232] Compiling redis RedisValue.swift
[201/232] Compiling redis RedisRetry.swift
[202/233] Compiling http ServerResponse.swift
[203/234] Compiling redis RedisPrint.swift
[204/234] Compiling dgram Module.swift
/Users/admin/builder/spi-builder-workspace/Sources/dgram/Module.swift:15:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeDgram' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import xsys
12 |
13 | public class NozeDgram : NozeModule {
| `- note: class 'NozeDgram' does not conform to the 'Sendable' protocol
14 | }
15 | public let module = NozeDgram()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeDgram' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| |- warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Q' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Q' 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 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/dgram/Socket.swift:39:51: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | public var didRetainQ : Bool = false // #linux-public
38 |
39 | public init(queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | enableLogger : Bool = false)
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
[205/234] Compiling dgram Internals.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:65:14: warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
63 | public let read = Darwin.read
64 | public let write = Darwin.write
65 | public let recvfrom = Darwin.recvfrom
| |- warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recvfrom' 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
66 | public let sendto = Darwin.sendto
67 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:66:14: warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
64 | public let write = Darwin.write
65 | public let recvfrom = Darwin.recvfrom
66 | public let sendto = Darwin.sendto
| |- warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sendto' 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
67 |
68 | public let access = Darwin.access
[206/234] Emitting module dgram
/Users/admin/builder/spi-builder-workspace/Sources/dgram/Module.swift:15:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeDgram' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import xsys
12 |
13 | public class NozeDgram : NozeModule {
| `- note: class 'NozeDgram' does not conform to the 'Sendable' protocol
14 | }
15 | public let module = NozeDgram()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeDgram' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| |- warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Q' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Q' 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 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/dgram/Socket.swift:39:51: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | public var didRetainQ : Bool = false // #linux-public
38 |
39 | public init(queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | enableLogger : Bool = false)
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
[207/234] Compiling dgram Socket.swift
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| |- warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Q' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Q' 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 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/dgram/Socket.swift:39:51: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | public var didRetainQ : Bool = false // #linux-public
38 |
39 | public init(queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | enableLogger : Bool = false)
41 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:11:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeCore' may have shared mutable state; this is an error in the Swift 6 language mode
9 | @_exported import Dispatch
10 |
11 | public let module = NozeCore()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeCore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
12 |
13 |
/Users/admin/builder/spi-builder-workspace/Sources/core/NozeCore.swift:23:14: note: class 'NozeCore' does not conform to the 'Sendable' protocol
21 | private let debugRetain = false
22 |
23 | public class NozeCore : NozeModule {
| `- note: class 'NozeCore' does not conform to the 'Sendable' protocol
24 |
25 | init() {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:63:14: warning: let 'getsockname' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
61 | public let shutdown = Darwin.shutdown
62 |
63 | public let getsockname = Darwin.getsockname
| |- warning: let 'getsockname' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getsockname' 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
64 | public let getpeername = Darwin.getpeername
65 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:57:14: warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
55 | public let socket = Darwin.socket
56 | public let poll = Darwin.poll
57 | public let bind = Darwin.bind
| |- warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bind' 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
58 | public let connect = Darwin.connect
59 | public let listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:66:14: warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
64 | public let getpeername = Darwin.getpeername
65 |
66 | public let setsockopt = Darwin.setsockopt
| |- warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setsockopt' 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
67 |
68 | public let getaddrinfo = Darwin.getaddrinfo
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:55:14: warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
53 | import Darwin
54 |
55 | public let socket = Darwin.socket
| |- warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'socket' 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
56 | public let poll = Darwin.poll
57 | public let bind = Darwin.bind
[208/234] Compiling http Server.swift
[209/234] Compiling http ClientRequest.swift
[210/234] Compiling http Cookies.swift
[211/234] Compiling redis RedisWritableStream.swift
[212/234] Compiling redis RedisCommands.swift
[213/234] Compiling redis RedisCoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisCoding.swift:61:8: warning: associated value 'ValueNotConvertible(value:to:)' of 'Sendable'-conforming enum 'RedisDecodingError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
59 |
60 | enum RedisDecodingError : Error {
61 | case ValueNotConvertible (value: RedisValue, to: Any.Type)
| `- warning: associated value 'ValueNotConvertible(value:to:)' of 'Sendable'-conforming enum 'RedisDecodingError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
62 | case ByteStringNotConvertible(value: [UInt8]?, to: Any.Type)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisValue.swift:16:13: note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
14 | }
15 |
16 | public enum RedisValue {
| `- note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
17 | case SimpleString([UInt8])
18 | case BulkString ([UInt8]?)
[214/234] Compiling redis RedisConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| |- warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Q' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Q' 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 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisParser.swift:33:53: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | override init(readHWM : Int? = nil,
32 | writeHWM : Int? = nil,
33 | queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | enableLogger : Bool = false)
35 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
[215/234] Compiling redis RedisParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| |- warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Q' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Q' 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 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisParser.swift:33:53: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | override init(readHWM : Int? = nil,
32 | writeHWM : Int? = nil,
33 | queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | enableLogger : Bool = false)
35 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
[216/234] Compiling http Misc.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:26:14: warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
24 | public typealias time_t = Darwin.time_t
25 |
26 | public let time = Darwin.time
| |- warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
27 | public let gmtime_r = Darwin.gmtime_r
28 | public let localtime_r = Darwin.localtime_r
/Users/admin/builder/spi-builder-workspace/Sources/http/Module.swift:15:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeHTTP' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import net
12 |
13 | public class NozeHTTP : NozeModule {
| `- note: class 'NozeHTTP' does not conform to the 'Sendable' protocol
14 | }
15 | public let module = NozeHTTP()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeHTTP' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/http/Module.swift:43:5: warning: let 'globalAgent' is not concurrency-safe because non-'Sendable' type 'Agent' may have shared mutable state; this is an error in the Swift 6 language mode
41 | // MARK: - Client
42 |
43 | let globalAgent = Agent()
| |- warning: let 'globalAgent' is not concurrency-safe because non-'Sendable' type 'Agent' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'globalAgent' 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
44 |
45 | /**
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent.swift:12:12: note: class 'Agent' does not conform to the 'Sendable' protocol
10 | import net
11 |
12 | open class Agent {
| `- note: class 'Agent' does not conform to the 'Sendable' protocol
13 | // TODO: implement actual pooling :-)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/http/URL.swift:22:12: warning: let 'url' is not concurrency-safe because non-'Sendable' type 'URLModule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // MARK: - url module, embedded.
12 |
13 | public class URLModule : NozeModule {
| `- note: class 'URLModule' does not conform to the 'Sendable' protocol
14 | // TODO: doesn't really belong here, but well.
15 |
:
20 |
21 | }
22 | public let url = URLModule()
| |- warning: let 'url' is not concurrency-safe because non-'Sendable' type 'URLModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'url' 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 |
24 |
[217/234] Compiling http Module.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:26:14: warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
24 | public typealias time_t = Darwin.time_t
25 |
26 | public let time = Darwin.time
| |- warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
27 | public let gmtime_r = Darwin.gmtime_r
28 | public let localtime_r = Darwin.localtime_r
/Users/admin/builder/spi-builder-workspace/Sources/http/Module.swift:15:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeHTTP' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import net
12 |
13 | public class NozeHTTP : NozeModule {
| `- note: class 'NozeHTTP' does not conform to the 'Sendable' protocol
14 | }
15 | public let module = NozeHTTP()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeHTTP' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/http/Module.swift:43:5: warning: let 'globalAgent' is not concurrency-safe because non-'Sendable' type 'Agent' may have shared mutable state; this is an error in the Swift 6 language mode
41 | // MARK: - Client
42 |
43 | let globalAgent = Agent()
| |- warning: let 'globalAgent' is not concurrency-safe because non-'Sendable' type 'Agent' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'globalAgent' 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
44 |
45 | /**
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent.swift:12:12: note: class 'Agent' does not conform to the 'Sendable' protocol
10 | import net
11 |
12 | open class Agent {
| `- note: class 'Agent' does not conform to the 'Sendable' protocol
13 | // TODO: implement actual pooling :-)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/http/URL.swift:22:12: warning: let 'url' is not concurrency-safe because non-'Sendable' type 'URLModule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // MARK: - url module, embedded.
12 |
13 | public class URLModule : NozeModule {
| `- note: class 'URLModule' does not conform to the 'Sendable' protocol
14 | // TODO: doesn't really belong here, but well.
15 |
:
20 |
21 | }
22 | public let url = URLModule()
| |- warning: let 'url' is not concurrency-safe because non-'Sendable' type 'URLModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'url' 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 |
24 |
[218/234] Compiling http HTTPMessageWrapper.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:26:14: warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
24 | public typealias time_t = Darwin.time_t
25 |
26 | public let time = Darwin.time
| |- warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
27 | public let gmtime_r = Darwin.gmtime_r
28 | public let localtime_r = Darwin.localtime_r
[219/234] Compiling http HTTPStatus.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:26:14: warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
24 | public typealias time_t = Darwin.time_t
25 |
26 | public let time = Darwin.time
| |- warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
27 | public let gmtime_r = Darwin.gmtime_r
28 | public let localtime_r = Darwin.localtime_r
[220/234] Compiling http IncomingMessage.swift
[221/234] Compiling http IncomingMessageParser.swift
[222/234] Compiling http QueryString.swift
/Users/admin/builder/spi-builder-workspace/Sources/http/QueryString.swift:31:12: warning: let 'querystring' is not concurrency-safe because non-'Sendable' type 'QueryStringModule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import console
13 |
14 | public class QueryStringModule : NozeModule {
| `- note: class 'QueryStringModule' does not conform to the 'Sendable' protocol
15 | // TODO: doesn't really belong here, but well.
16 | // TODO: stringify etc
:
29 | }
30 | }
31 | public let querystring = QueryStringModule()
| |- warning: let 'querystring' is not concurrency-safe because non-'Sendable' type 'QueryStringModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'querystring' 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
32 |
33 |
/Users/admin/builder/spi-builder-workspace/Sources/http/Module.swift:43:5: warning: let 'globalAgent' is not concurrency-safe because non-'Sendable' type 'Agent' may have shared mutable state; this is an error in the Swift 6 language mode
41 | // MARK: - Client
42 |
43 | let globalAgent = Agent()
| |- warning: let 'globalAgent' is not concurrency-safe because non-'Sendable' type 'Agent' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'globalAgent' 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
44 |
45 | /**
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent.swift:12:12: note: class 'Agent' does not conform to the 'Sendable' protocol
10 | import net
11 |
12 | open class Agent {
| `- note: class 'Agent' does not conform to the 'Sendable' protocol
13 | // TODO: implement actual pooling :-)
14 |
[223/234] Compiling http RequestOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/http/QueryString.swift:31:12: warning: let 'querystring' is not concurrency-safe because non-'Sendable' type 'QueryStringModule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import console
13 |
14 | public class QueryStringModule : NozeModule {
| `- note: class 'QueryStringModule' does not conform to the 'Sendable' protocol
15 | // TODO: doesn't really belong here, but well.
16 | // TODO: stringify etc
:
29 | }
30 | }
31 | public let querystring = QueryStringModule()
| |- warning: let 'querystring' is not concurrency-safe because non-'Sendable' type 'QueryStringModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'querystring' 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
32 |
33 |
/Users/admin/builder/spi-builder-workspace/Sources/http/Module.swift:43:5: warning: let 'globalAgent' is not concurrency-safe because non-'Sendable' type 'Agent' may have shared mutable state; this is an error in the Swift 6 language mode
41 | // MARK: - Client
42 |
43 | let globalAgent = Agent()
| |- warning: let 'globalAgent' is not concurrency-safe because non-'Sendable' type 'Agent' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'globalAgent' 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
44 |
45 | /**
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent.swift:12:12: note: class 'Agent' does not conform to the 'Sendable' protocol
10 | import net
11 |
12 | open class Agent {
| `- note: class 'Agent' does not conform to the 'Sendable' protocol
13 | // TODO: implement actual pooling :-)
14 |
[224/234] Compiling http Extensions.swift
[225/234] Compiling http HTTPConnection.swift
[226/234] Compiling http Agent.swift
[227/234] Compiling http BasicAuth.swift
[228/234] Emitting module http
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:26:14: warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
24 | public typealias time_t = Darwin.time_t
25 |
26 | public let time = Darwin.time
| |- warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
27 | public let gmtime_r = Darwin.gmtime_r
28 | public let localtime_r = Darwin.localtime_r
/Users/admin/builder/spi-builder-workspace/Sources/http/Module.swift:15:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeHTTP' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import net
12 |
13 | public class NozeHTTP : NozeModule {
| `- note: class 'NozeHTTP' does not conform to the 'Sendable' protocol
14 | }
15 | public let module = NozeHTTP()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeHTTP' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/http/Module.swift:43:5: warning: let 'globalAgent' is not concurrency-safe because non-'Sendable' type 'Agent' may have shared mutable state; this is an error in the Swift 6 language mode
41 | // MARK: - Client
42 |
43 | let globalAgent = Agent()
| |- warning: let 'globalAgent' is not concurrency-safe because non-'Sendable' type 'Agent' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'globalAgent' 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
44 |
45 | /**
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent.swift:12:12: note: class 'Agent' does not conform to the 'Sendable' protocol
10 | import net
11 |
12 | open class Agent {
| `- note: class 'Agent' does not conform to the 'Sendable' protocol
13 | // TODO: implement actual pooling :-)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/http/QueryString.swift:31:12: warning: let 'querystring' is not concurrency-safe because non-'Sendable' type 'QueryStringModule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import console
13 |
14 | public class QueryStringModule : NozeModule {
| `- note: class 'QueryStringModule' does not conform to the 'Sendable' protocol
15 | // TODO: doesn't really belong here, but well.
16 | // TODO: stringify etc
:
29 | }
30 | }
31 | public let querystring = QueryStringModule()
| |- warning: let 'querystring' is not concurrency-safe because non-'Sendable' type 'QueryStringModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'querystring' 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
32 |
33 |
/Users/admin/builder/spi-builder-workspace/Sources/http/URL.swift:22:12: warning: let 'url' is not concurrency-safe because non-'Sendable' type 'URLModule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // MARK: - url module, embedded.
12 |
13 | public class URLModule : NozeModule {
| `- note: class 'URLModule' does not conform to the 'Sendable' protocol
14 | // TODO: doesn't really belong here, but well.
15 |
:
20 |
21 | }
22 | public let url = URLModule()
| |- warning: let 'url' is not concurrency-safe because non-'Sendable' type 'URLModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'url' 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 |
24 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:69:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
67 | public let memcpy = Darwin.memcpy
68 | public let strlen = Darwin.strlen
69 | public let strchr = Darwin.strchr
| |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strchr' 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
70 | public let arc4random_uniform = Darwin.arc4random_uniform
71 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:68:14: warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
66 | public typealias size_t = Darwin.size_t
67 | public let memcpy = Darwin.memcpy
68 | public let strlen = Darwin.strlen
| |- warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strlen' 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
69 | public let strchr = Darwin.strchr
70 | public let arc4random_uniform = Darwin.arc4random_uniform
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:67:14: warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
65 |
66 | public typealias size_t = Darwin.size_t
67 | public let memcpy = Darwin.memcpy
| |- warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'memcpy' 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
68 | public let strlen = Darwin.strlen
69 | public let strchr = Darwin.strchr
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:69:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
67 | public let memcpy = Darwin.memcpy
68 | public let strlen = Darwin.strlen
69 | public let strchr = Darwin.strchr
| |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strchr' 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
70 | public let arc4random_uniform = Darwin.arc4random_uniform
71 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:68:14: warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
66 | public typealias size_t = Darwin.size_t
67 | public let memcpy = Darwin.memcpy
68 | public let strlen = Darwin.strlen
| |- warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strlen' 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
69 | public let strchr = Darwin.strchr
70 | public let arc4random_uniform = Darwin.arc4random_uniform
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:67:14: warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
65 |
66 | public typealias size_t = Darwin.size_t
67 | public let memcpy = Darwin.memcpy
| |- warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'memcpy' 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
68 | public let strlen = Darwin.strlen
69 | public let strchr = Darwin.strchr
[231/234] Emitting module redis
/Users/admin/builder/spi-builder-workspace/Sources/redis/Module.swift:15:12: warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class NozeRedis : NozeModule {
14 | }
15 | public var module = NozeRedis()
| |- warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' 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
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisClient.swift:558:8: warning: associated value 'UnexpectedPublishReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
556 |
557 | public enum RedisClientError : Error {
558 | case UnexpectedPublishReplyType(String, [RedisValue])
| `- warning: associated value 'UnexpectedPublishReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
559 | case UnexpectedReplyType(RedisValue)
560 | case ConnectionQuit
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisValue.swift:16:13: note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
14 | }
15 |
16 | public enum RedisValue {
| `- note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
17 | case SimpleString([UInt8])
18 | case BulkString ([UInt8]?)
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisClient.swift:559:8: warning: associated value 'UnexpectedReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
557 | public enum RedisClientError : Error {
558 | case UnexpectedPublishReplyType(String, [RedisValue])
559 | case UnexpectedReplyType(RedisValue)
| `- warning: associated value 'UnexpectedReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
560 | case ConnectionQuit
561 | }
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisValue.swift:16:13: note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
14 | }
15 |
16 | public enum RedisValue {
| `- note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
17 | case SimpleString([UInt8])
18 | case BulkString ([UInt8]?)
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisCoding.swift:61:8: warning: associated value 'ValueNotConvertible(value:to:)' of 'Sendable'-conforming enum 'RedisDecodingError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
59 |
60 | enum RedisDecodingError : Error {
61 | case ValueNotConvertible (value: RedisValue, to: Any.Type)
| `- warning: associated value 'ValueNotConvertible(value:to:)' of 'Sendable'-conforming enum 'RedisDecodingError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
62 | case ByteStringNotConvertible(value: [UInt8]?, to: Any.Type)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisValue.swift:16:13: note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
14 | }
15 |
16 | public enum RedisValue {
| `- note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
17 | case SimpleString([UInt8])
18 | case BulkString ([UInt8]?)
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| |- warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Q' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Q' 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 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisParser.swift:33:53: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | override init(readHWM : Int? = nil,
32 | writeHWM : Int? = nil,
33 | queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | enableLogger : Bool = false)
35 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/redis/Module.swift:15:12: warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class NozeRedis : NozeModule {
14 | }
15 | public var module = NozeRedis()
| |- warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' 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
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisClient.swift:558:8: warning: associated value 'UnexpectedPublishReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
556 |
557 | public enum RedisClientError : Error {
558 | case UnexpectedPublishReplyType(String, [RedisValue])
| `- warning: associated value 'UnexpectedPublishReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
559 | case UnexpectedReplyType(RedisValue)
560 | case ConnectionQuit
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisValue.swift:16:13: note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
14 | }
15 |
16 | public enum RedisValue {
| `- note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
17 | case SimpleString([UInt8])
18 | case BulkString ([UInt8]?)
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisClient.swift:559:8: warning: associated value 'UnexpectedReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
557 | public enum RedisClientError : Error {
558 | case UnexpectedPublishReplyType(String, [RedisValue])
559 | case UnexpectedReplyType(RedisValue)
| `- warning: associated value 'UnexpectedReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
560 | case ConnectionQuit
561 | }
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisValue.swift:16:13: note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
14 | }
15 |
16 | public enum RedisValue {
| `- note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
17 | case SimpleString([UInt8])
18 | case BulkString ([UInt8]?)
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:11:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeCore' may have shared mutable state; this is an error in the Swift 6 language mode
9 | @_exported import Dispatch
10 |
11 | public let module = NozeCore()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeCore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
12 |
13 |
/Users/admin/builder/spi-builder-workspace/Sources/core/NozeCore.swift:23:14: note: class 'NozeCore' does not conform to the 'Sendable' protocol
21 | private let debugRetain = false
22 |
23 | public class NozeCore : NozeModule {
| `- note: class 'NozeCore' does not conform to the 'Sendable' protocol
24 |
25 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| |- warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Q' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Q' 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 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisParser.swift:33:53: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | override init(readHWM : Int? = nil,
32 | writeHWM : Int? = nil,
33 | queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | enableLogger : Bool = false)
35 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/redis/Module.swift:15:12: warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public class NozeRedis : NozeModule {
14 | }
15 | public var module = NozeRedis()
| |- warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' 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
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisClient.swift:558:8: warning: associated value 'UnexpectedPublishReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
556 |
557 | public enum RedisClientError : Error {
558 | case UnexpectedPublishReplyType(String, [RedisValue])
| `- warning: associated value 'UnexpectedPublishReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
559 | case UnexpectedReplyType(RedisValue)
560 | case ConnectionQuit
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisValue.swift:16:13: note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
14 | }
15 |
16 | public enum RedisValue {
| `- note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
17 | case SimpleString([UInt8])
18 | case BulkString ([UInt8]?)
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisClient.swift:559:8: warning: associated value 'UnexpectedReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
557 | public enum RedisClientError : Error {
558 | case UnexpectedPublishReplyType(String, [RedisValue])
559 | case UnexpectedReplyType(RedisValue)
| `- warning: associated value 'UnexpectedReplyType' of 'Sendable'-conforming enum 'RedisClientError' has non-sendable type 'RedisValue'; this is an error in the Swift 6 language mode
560 | case ConnectionQuit
561 | }
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisValue.swift:16:13: note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
14 | }
15 |
16 | public enum RedisValue {
| `- note: consider making enum 'RedisValue' conform to the 'Sendable' protocol
17 | case SimpleString([UInt8])
18 | case BulkString ([UInt8]?)
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:11:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeCore' may have shared mutable state; this is an error in the Swift 6 language mode
9 | @_exported import Dispatch
10 |
11 | public let module = NozeCore()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeCore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' 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
12 |
13 |
/Users/admin/builder/spi-builder-workspace/Sources/core/NozeCore.swift:23:14: note: class 'NozeCore' does not conform to the 'Sendable' protocol
21 | private let debugRetain = false
22 |
23 | public class NozeCore : NozeModule {
| `- note: class 'NozeCore' does not conform to the 'Sendable' protocol
24 |
25 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| |- warning: var 'Q' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Q' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Q' 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 |
20 | /// Enqueue the given closure for later dispatch in the Q.
/Users/admin/builder/spi-builder-workspace/Sources/redis/RedisParser.swift:33:53: warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | override init(readHWM : Int? = nil,
32 | writeHWM : Int? = nil,
33 | queue : DispatchQueue = core.Q,
| `- warning: reference to var 'Q' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | enableLogger : Bool = false)
35 | {
/Users/admin/builder/spi-builder-workspace/Sources/core/Module.swift:18:12: note: var declared here
16 | /// All of Noze depends on running on a serialized queue. This usually is the
17 | /// main queue, but it can be set to any arbitrary serialized queue.
18 | public var Q = DispatchQueue.main
| `- note: var declared here
19 |
20 | /// Enqueue the given closure for later dispatch in the Q.
[234/234] Compiling http URL.swift
/Users/admin/builder/spi-builder-workspace/Sources/http/URL.swift:22:12: warning: let 'url' is not concurrency-safe because non-'Sendable' type 'URLModule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // MARK: - url module, embedded.
12 |
13 | public class URLModule : NozeModule {
| `- note: class 'URLModule' does not conform to the 'Sendable' protocol
14 | // TODO: doesn't really belong here, but well.
15 |
:
20 |
21 | }
22 | public let url = URLModule()
| |- warning: let 'url' is not concurrency-safe because non-'Sendable' type 'URLModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'url' 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 |
24 |
[235/246] Compiling connect Session.swift
/Users/admin/builder/spi-builder-workspace/Sources/connect/Session.swift:12:17: warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import http
11 |
12 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
| `- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/spi-builder-workspace/Sources/http/Cookies.swift:100:15: note: struct 'Cookie' does not conform to the 'Sendable' protocol
98 | // MARK: - Internals
99 |
100 | public struct Cookie {
| `- note: struct 'Cookie' does not conform to the 'Sendable' protocol
101 | public let name : String
102 | public var value : String
/Users/admin/builder/spi-builder-workspace/Sources/connect/Session.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
8 |
9 | import console
10 | import http
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
11 |
12 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
| |- note: annotate 'sessionIdCookie' 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
13 |
14 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/spi-builder-workspace/Sources/connect/Session.swift:14:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
13 |
14 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionIdCounter' 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
15 |
16 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
[236/247] Compiling connect Pause.swift
[237/247] Compiling connect ServeStatic.swift
[238/247] Compiling connect Module.swift
/Users/admin/builder/spi-builder-workspace/Sources/connect/Module.swift:15:12: warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public var module = NozeConnect()
| |- warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' 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
16 |
17 | // Note: @escaping for 3.0.0 compat, not intended as per SR-2907
[239/247] Compiling connect MethodOverride.swift
[240/247] Compiling connect Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/connect/Logger.swift:157:14: warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
155 | }
156 |
157 | static var urlPadLen = 28
| |- warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'urlPadLen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'urlPadLen' 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
158 | var paddedURL : String {
159 | let url = req.url
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:26:14: warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
24 | public typealias time_t = Darwin.time_t
25 |
26 | public let time = Darwin.time
| |- warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' 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
27 | public let gmtime_r = Darwin.gmtime_r
28 | public let localtime_r = Darwin.localtime_r
/Users/admin/builder/spi-builder-workspace/Sources/process/Stdio.swift:14:12: warning: var 'stdout' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public var stdin = createStdin()
14 | public var stdout = createStdoutOrErr(fd: xsys.STDOUT_FILENO)
| |- warning: var 'stdout' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdout' 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
15 | public var stderr = createStdoutOrErr(fd: xsys.STDERR_FILENO)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/connect/Logger.swift:138:17: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 | let colorStatus : String
137 |
138 | if !process.stdout.isTTY || process.isRunningInXCode {
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 | colorStatus = self.status
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/process/Stdio.swift:14:12: note: var declared here
12 |
13 | public var stdin = createStdin()
14 | public var stdout = createStdoutOrErr(fd: xsys.STDOUT_FILENO)
| `- note: var declared here
15 | public var stderr = createStdoutOrErr(fd: xsys.STDERR_FILENO)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/process/Module.swift:96:12: warning: var 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
94 | public let isRunningInXCode = false
95 | #else
96 | public var isRunningInXCode : Bool = {
| |- warning: var 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' 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
97 | // TBD: is there a better way?
98 | let s = getenv("XPC_SERVICE_NAME")
/Users/admin/builder/spi-builder-workspace/Sources/connect/Logger.swift:138:41: warning: reference to var 'isRunningInXCode' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 | let colorStatus : String
137 |
138 | if !process.stdout.isTTY || process.isRunningInXCode {
| `- warning: reference to var 'isRunningInXCode' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 | colorStatus = self.status
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/process/Module.swift:96:12: note: var declared here
94 | public let isRunningInXCode = false
95 | #else
96 | public var isRunningInXCode : Bool = {
| `- note: var declared here
97 | // TBD: is there a better way?
98 | let s = getenv("XPC_SERVICE_NAME")
[241/247] Compiling connect BodyParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/http/QueryString.swift:31:12: warning: let 'querystring' is not concurrency-safe because non-'Sendable' type 'QueryStringModule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import console
13 |
14 | public class QueryStringModule : NozeModule {
| `- note: class 'QueryStringModule' does not conform to the 'Sendable' protocol
15 | // TODO: doesn't really belong here, but well.
16 | // TODO: stringify etc
:
29 | }
30 | }
31 | public let querystring = QueryStringModule()
| |- warning: let 'querystring' is not concurrency-safe because non-'Sendable' type 'QueryStringModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'querystring' 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
32 |
33 |
/Users/admin/builder/spi-builder-workspace/Sources/connect/CORS.swift:11:17: warning: let 'defaultMethods' is not concurrency-safe because non-'Sendable' type '[HTTPMethod]' (aka 'Array<HTTPMethod>') may have shared mutable state; this is an error in the Swift 6 language mode
9 | import http
10 |
11 | fileprivate let defaultMethods : [ HTTPMethod ] = [
| |- warning: let 'defaultMethods' is not concurrency-safe because non-'Sendable' type '[HTTPMethod]' (aka 'Array<HTTPMethod>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMethods' 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
12 | .GET, .HEAD, .POST, .DELETE, .OPTIONS, .PUT, .PATCH
13 | ]
/Users/admin/builder/spi-builder-workspace/Sources/http_parser/HTTPMethod.swift:35:13: note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
33 | #endif
34 |
35 | public enum HTTPMethod : Int8 {
| `- note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
36 | case DELETE = 0
37 |
[242/247] Compiling connect CORS.swift
/Users/admin/builder/spi-builder-workspace/Sources/http/QueryString.swift:31:12: warning: let 'querystring' is not concurrency-safe because non-'Sendable' type 'QueryStringModule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import console
13 |
14 | public class QueryStringModule : NozeModule {
| `- note: class 'QueryStringModule' does not conform to the 'Sendable' protocol
15 | // TODO: doesn't really belong here, but well.
16 | // TODO: stringify etc
:
29 | }
30 | }
31 | public let querystring = QueryStringModule()
| |- warning: let 'querystring' is not concurrency-safe because non-'Sendable' type 'QueryStringModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'querystring' 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
32 |
33 |
/Users/admin/builder/spi-builder-workspace/Sources/connect/CORS.swift:11:17: warning: let 'defaultMethods' is not concurrency-safe because non-'Sendable' type '[HTTPMethod]' (aka 'Array<HTTPMethod>') may have shared mutable state; this is an error in the Swift 6 language mode
9 | import http
10 |
11 | fileprivate let defaultMethods : [ HTTPMethod ] = [
| |- warning: let 'defaultMethods' is not concurrency-safe because non-'Sendable' type '[HTTPMethod]' (aka 'Array<HTTPMethod>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMethods' 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
12 | .GET, .HEAD, .POST, .DELETE, .OPTIONS, .PUT, .PATCH
13 | ]
/Users/admin/builder/spi-builder-workspace/Sources/http_parser/HTTPMethod.swift:35:13: note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
33 | #endif
34 |
35 | public enum HTTPMethod : Int8 {
| `- note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
36 | case DELETE = 0
37 |
[243/247] Compiling connect Connect.swift
[244/247] Compiling connect CookieParser.swift
[245/247] Emitting module connect
/Users/admin/builder/spi-builder-workspace/Sources/connect/CORS.swift:11:17: warning: let 'defaultMethods' is not concurrency-safe because non-'Sendable' type '[HTTPMethod]' (aka 'Array<HTTPMethod>') may have shared mutable state; this is an error in the Swift 6 language mode
9 | import http
10 |
11 | fileprivate let defaultMethods : [ HTTPMethod ] = [
| |- warning: let 'defaultMethods' is not concurrency-safe because non-'Sendable' type '[HTTPMethod]' (aka 'Array<HTTPMethod>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMethods' 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
12 | .GET, .HEAD, .POST, .DELETE, .OPTIONS, .PUT, .PATCH
13 | ]
/Users/admin/builder/spi-builder-workspace/Sources/http_parser/HTTPMethod.swift:35:13: note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
33 | #endif
34 |
35 | public enum HTTPMethod : Int8 {
| `- note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
36 | case DELETE = 0
37 |
/Users/admin/builder/spi-builder-workspace/Sources/connect/Logger.swift:157:14: warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
155 | }
156 |
157 | static var urlPadLen = 28
| |- warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'urlPadLen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'urlPadLen' 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
158 | var paddedURL : String {
159 | let url = req.url
/Users/admin/builder/spi-builder-workspace/Sources/connect/Module.swift:15:12: warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public var module = NozeConnect()
| |- warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' 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
16 |
17 | // Note: @escaping for 3.0.0 compat, not intended as per SR-2907
/Users/admin/builder/spi-builder-workspace/Sources/connect/QS.swift:25:21: warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class EmptyArraySlot {}
25 | public static let sparseArrayDefaultValue : Any = EmptyArraySlot()
| |- warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sparseArrayDefaultValue' 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 static func parse(_ string : String,
/Users/admin/builder/spi-builder-workspace/Sources/connect/QS.swift:254:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
252 | // Hm
253 |
254 | protocol RefTypeFlatten: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
255 |
256 | func flatten() -> Any
/Users/admin/builder/spi-builder-workspace/Sources/connect/Session.swift:12:17: warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import http
11 |
12 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
| `- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/spi-builder-workspace/Sources/http/Cookies.swift:100:15: note: struct 'Cookie' does not conform to the 'Sendable' protocol
98 | // MARK: - Internals
99 |
100 | public struct Cookie {
| `- note: struct 'Cookie' does not conform to the 'Sendable' protocol
101 | public let name : String
102 | public var value : String
/Users/admin/builder/spi-builder-workspace/Sources/connect/Session.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
8 |
9 | import console
10 | import http
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'http'
11 |
12 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
| |- note: annotate 'sessionIdCookie' 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
13 |
14 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/spi-builder-workspace/Sources/connect/Session.swift:14:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | fileprivate let sessionIdCookie = Cookie(name: "NzSID", maxAge: 3600)
13 |
14 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionIdCounter' 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
15 |
16 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
[246/247] Compiling connect QS.swift
/Users/admin/builder/spi-builder-workspace/Sources/connect/QS.swift:25:21: warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class EmptyArraySlot {}
25 | public static let sparseArrayDefaultValue : Any = EmptyArraySlot()
| |- warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sparseArrayDefaultValue' 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 static func parse(_ string : String,
/Users/admin/builder/spi-builder-workspace/Sources/connect/QS.swift:254:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
252 | // Hm
253 |
254 | protocol RefTypeFlatten: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
255 |
256 | func flatten() -> Any
[247/247] Compiling connect TypeIs.swift
[248/259] Compiling express ServerResponse.swift
[249/260] Compiling express Settings.swift
[250/260] Compiling express RouteKeeper.swift
[251/260] Compiling express Render.swift
[252/260] Compiling express Router.swift
[253/260] Compiling express Module.swift
/Users/admin/builder/spi-builder-workspace/Sources/express/Module.swift:15:12: warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public var module = NozeExpress()
| |- warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' 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
16 |
17 | // Note: @escaping for 3.0.0 compat, not intended as per SR-2907
[254/260] Compiling express JSON.swift
[255/260] Compiling express MiddlewareObject.swift
[256/260] Emitting module express
/Users/admin/builder/spi-builder-workspace/Sources/express/Module.swift:15:12: warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public var module = NozeExpress()
| |- warning: var 'module' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' 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
16 |
17 | // Note: @escaping for 3.0.0 compat, not intended as per SR-2907
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/express/Mustache.swift:13:5: warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
11 | import mustache
12 |
13 | let mustacheExpress : ExpressEngine = { path, options, done in
| |- warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mustacheExpress' 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
14 | fs.readFile(path, "utf8") { err, str in
15 | guard err == nil else {
[257/260] Compiling express Express.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/express/Mustache.swift:13:5: warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
11 | import mustache
12 |
13 | let mustacheExpress : ExpressEngine = { path, options, done in
| |- warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mustacheExpress' 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
14 | fs.readFile(path, "utf8") { err, str in
15 | guard err == nil else {
[258/260] Compiling express IncomingMessage.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/express/Mustache.swift:13:5: warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
11 | import mustache
12 |
13 | let mustacheExpress : ExpressEngine = { path, options, done in
| |- warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mustacheExpress' 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
14 | fs.readFile(path, "utf8") { err, str in
15 | guard err == nil else {
[259/260] Compiling express Route.swift
[260/260] Compiling express Mustache.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/express/Mustache.swift:13:5: warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
11 | import mustache
12 |
13 | let mustacheExpress : ExpressEngine = { path, options, done in
| |- warning: let 'mustacheExpress' is not concurrency-safe because non-'Sendable' type 'ExpressEngine' (aka '(String, Optional<Any>, @escaping (Optional<Any>...) -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mustacheExpress' 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
14 | fs.readFile(path, "utf8") { err, str in
15 | guard err == nil else {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Path.swift:42:12: warning: let 'path' is not concurrency-safe because non-'Sendable' type 'PathModule' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 |
18 | public class PathModule : NozeModule {
| `- note: class 'PathModule' does not conform to the 'Sendable' protocol
19 |
20 | public func basename(_ path: String) -> String {
:
40 | }
41 |
42 | public let path = PathModule()
| |- warning: let 'path' is not concurrency-safe because non-'Sendable' type 'PathModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'path' 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
43 |
44 |
Build complete! (37.68s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "NozeIO",
"name" : "NozeIO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Freddy",
"targets" : [
"Freddy"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CryptoSwift",
"targets" : [
"CryptoSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "http_parser",
"targets" : [
"http_parser"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "base64",
"targets" : [
"base64"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "mustache",
"targets" : [
"mustache"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "xsys",
"targets" : [
"xsys"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "core",
"targets" : [
"core"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "leftpad",
"targets" : [
"leftpad"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "events",
"targets" : [
"events"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "streams",
"targets" : [
"streams"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "json",
"targets" : [
"json"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "fs",
"targets" : [
"fs"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "crypto",
"targets" : [
"crypto"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "dns",
"targets" : [
"dns"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "net",
"targets" : [
"net"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "dgram",
"targets" : [
"dgram"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "process",
"targets" : [
"process"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "console",
"targets" : [
"console"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "http",
"targets" : [
"http"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "child_process",
"targets" : [
"child_process"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "connect",
"targets" : [
"connect"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "express",
"targets" : [
"express"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "redis",
"targets" : [
"redis"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "cows",
"targets" : [
"cows"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "xsys",
"module_type" : "SwiftTarget",
"name" : "xsys",
"path" : "Sources/xsys",
"product_memberships" : [
"xsys",
"core",
"leftpad",
"events",
"streams",
"json",
"fs",
"crypto",
"dns",
"net",
"dgram",
"process",
"console",
"http",
"child_process",
"connect",
"express",
"redis",
"cows"
],
"sources" : [
"Module.swift",
"POSIXError.swift",
"SocketAddress.swift",
"UUID.swift",
"dylib.swift",
"fd.swift",
"ioctl.swift",
"misc.swift",
"ntohs.swift",
"sockaddr_any.swift",
"socket.swift",
"time.swift",
"timespec.swift",
"timeval_any.swift"
],
"type" : "library"
},
{
"c99name" : "streams",
"module_type" : "SwiftTarget",
"name" : "streams",
"path" : "Sources/streams",
"product_memberships" : [
"streams",
"json",
"fs",
"crypto",
"net",
"dgram",
"process",
"console",
"http",
"child_process",
"connect",
"express",
"redis"
],
"sources" : [
"Duplex.swift",
"DuplexStream.swift",
"GReadableSourceType.swift",
"GReadableStreamType.swift",
"GWritableStreamType.swift",
"GWritableTargetType.swift",
"Module.swift",
"PipeSourceError.swift",
"ReadableByteStreamType.swift",
"ReadableStream.swift",
"SourceStream.swift",
"Stream.swift",
"StreamPromise.swift",
"TargetStream.swift",
"WritableByteStreamType.swift",
"WritableStream.swift",
"adaptors/IteratorSource.swift",
"adaptors/SinkTarget.swift",
"bucket/ArrayBuffer.swift",
"bucket/Bucket.swift",
"bucket/ListBuffer.swift",
"callback/Readable.swift",
"callback/Transform.swift",
"callback/Writable.swift",
"extra/ConcatTarget.swift",
"extra/NullWritableStream.swift",
"extra/Through2.swift",
"extra/TransformStream.swift",
"extra/WritableByteStreamWrapper.swift",
"pipes/Sequence2StreamPipe.swift",
"pipes/Stream2StreamPipe.swift",
"pipes/String2StreamPipe.swift",
"strings/CharacterToUTF8.swift",
"strings/EncodingError.swift",
"strings/StringToUTF8.swift",
"strings/UTF8toCharacter.swift",
"strings/UTF8toLines.swift",
"strings/UniqStrings.swift"
],
"target_dependencies" : [
"core",
"events"
],
"type" : "library"
},
{
"c99name" : "redis",
"module_type" : "SwiftTarget",
"name" : "redis",
"path" : "Sources/redis",
"product_memberships" : [
"redis"
],
"sources" : [
"CallbackHelpers.swift",
"Extensions.swift",
"Module.swift",
"RedisClient.swift",
"RedisCoding.swift",
"RedisCommands.swift",
"RedisConnection.swift",
"RedisParser.swift",
"RedisPrint.swift",
"RedisRetry.swift",
"RedisValue.swift",
"RedisWritableStream.swift"
],
"target_dependencies" : [
"core",
"xsys",
"events",
"streams",
"net",
"console"
],
"type" : "library"
},
{
"c99name" : "process",
"module_type" : "SwiftTarget",
"name" : "process",
"path" : "Sources/process",
"product_memberships" : [
"process",
"console",
"http",
"child_process",
"connect",
"express",
"redis"
],
"sources" : [
"Environment.swift",
"FileSystem.swift",
"Messages.swift",
"Module.swift",
"Stdio.swift"
],
"target_dependencies" : [
"core",
"xsys",
"streams",
"fs"
],
"type" : "library"
},
{
"c99name" : "net",
"module_type" : "SwiftTarget",
"name" : "net",
"path" : "Sources/net",
"product_memberships" : [
"net",
"dgram",
"http",
"connect",
"express",
"redis"
],
"sources" : [
"DNS.swift",
"Module.swift",
"Server.swift",
"Socket.swift",
"SocketAddress.swift",
"SocketSourceTarget.swift",
"Util.swift"
],
"target_dependencies" : [
"core",
"xsys",
"events",
"streams",
"fs",
"dns"
],
"type" : "library"
},
{
"c99name" : "mustache",
"module_type" : "SwiftTarget",
"name" : "mustache",
"path" : "Sources/mustache",
"product_memberships" : [
"mustache",
"express"
],
"sources" : [
"HTMLEscape.swift",
"Helpers.swift",
"MustacheNode.swift",
"MustacheParser.swift",
"MustacheRenderingContext.swift",
"SimpleKVC.swift"
],
"type" : "library"
},
{
"c99name" : "leftpad",
"module_type" : "SwiftTarget",
"name" : "leftpad",
"path" : "Sources/leftpad",
"product_memberships" : [
"leftpad",
"connect",
"express"
],
"sources" : [
"Module.swift"
],
"target_dependencies" : [
"core"
],
"type" : "library"
},
{
"c99name" : "json",
"module_type" : "SwiftTarget",
"name" : "json",
"path" : "Sources/json",
"product_memberships" : [
"json",
"connect",
"express"
],
"sources" : [
"JSONWritableStream.swift",
"JsonFile.swift",
"Module.swift",
"Stringify.swift"
],
"target_dependencies" : [
"core",
"streams",
"Freddy",
"fs"
],
"type" : "library"
},
{
"c99name" : "http_parser",
"module_type" : "SwiftTarget",
"name" : "http_parser",
"path" : "Sources/http_parser",
"product_memberships" : [
"http_parser",
"http",
"connect",
"express"
],
"sources" : [
"CString.swift",
"HTTPError.swift",
"HTTPMethod.swift",
"HTTPParserState.swift",
"URLParser.swift",
"ascii.swift",
"http_parser.swift",
"http_parser_settings.swift"
],
"type" : "library"
},
{
"c99name" : "http",
"module_type" : "SwiftTarget",
"name" : "http",
"path" : "Sources/http",
"product_memberships" : [
"http",
"connect",
"express"
],
"sources" : [
"Agent.swift",
"BasicAuth.swift",
"ClientRequest.swift",
"Cookies.swift",
"Extensions.swift",
"HTTPConnection.swift",
"HTTPMessageWrapper.swift",
"HTTPStatus.swift",
"IncomingMessage.swift",
"IncomingMessageParser.swift",
"Misc.swift",
"Module.swift",
"QueryString.swift",
"RequestOptions.swift",
"Server.swift",
"ServerResponse.swift",
"URL.swift"
],
"target_dependencies" : [
"http_parser",
"core",
"events",
"streams",
"net",
"console",
"base64"
],
"type" : "library"
},
{
"c99name" : "fs",
"module_type" : "SwiftTarget",
"name" : "fs",
"path" : "Sources/fs",
"product_memberships" : [
"json",
"fs",
"net",
"dgram",
"process",
"console",
"http",
"child_process",
"connect",
"express",
"redis"
],
"sources" : [
"AsyncWrapper.swift",
"Convenience.swift",
"Directory.swift",
"ErrnoError.swift",
"FSWatcher.swift",
"FileDescriptor.swift",
"FileDescriptorStream.swift",
"FileSource.swift",
"FileTarget.swift",
"GCDChannelBase.swift",
"Module.swift",
"Path.swift",
"PosixWrappers.swift",
"StatStruct.swift",
"StdInSource.swift",
"StdOutTarget.swift",
"Streams.swift",
"Temp.swift",
"UnixUtils.swift"
],
"target_dependencies" : [
"core",
"xsys",
"events",
"streams"
],
"type" : "library"
},
{
"c99name" : "express",
"module_type" : "SwiftTarget",
"name" : "express",
"path" : "Sources/express",
"product_memberships" : [
"express"
],
"sources" : [
"Express.swift",
"IncomingMessage.swift",
"JSON.swift",
"MiddlewareObject.swift",
"Module.swift",
"Mustache.swift",
"Render.swift",
"Route.swift",
"RouteKeeper.swift",
"Router.swift",
"ServerResponse.swift",
"Settings.swift"
],
"target_dependencies" : [
"core",
"xsys",
"events",
"streams",
"http",
"connect",
"mustache"
],
"type" : "library"
},
{
"c99name" : "events",
"module_type" : "SwiftTarget",
"name" : "events",
"path" : "Sources/events",
"product_memberships" : [
"events",
"streams",
"json",
"fs",
"crypto",
"net",
"dgram",
"process",
"console",
"http",
"child_process",
"connect",
"express",
"redis"
],
"sources" : [
"ErrorEmitter.swift",
"EventEmitter.swift",
"EventListenerSet.swift",
"Module.swift"
],
"target_dependencies" : [
"core"
],
"type" : "library"
},
{
"c99name" : "dns",
"module_type" : "SwiftTarget",
"name" : "dns",
"path" : "Sources/dns",
"product_memberships" : [
"dns",
"net",
"dgram",
"http",
"connect",
"express",
"redis"
],
"sources" : [
"Lookup.swift",
"Module.swift"
],
"target_dependencies" : [
"core",
"xsys"
],
"type" : "library"
},
{
"c99name" : "dgram",
"module_type" : "SwiftTarget",
"name" : "dgram",
"path" : "Sources/dgram",
"product_memberships" : [
"dgram"
],
"sources" : [
"Internals.swift",
"Module.swift",
"Socket.swift"
],
"target_dependencies" : [
"net"
],
"type" : "library"
},
{
"c99name" : "crypto",
"module_type" : "SwiftTarget",
"name" : "crypto",
"path" : "Sources/crypto",
"product_memberships" : [
"crypto"
],
"sources" : [
"Hash.swift",
"MD5Hash.swift",
"Module.swift"
],
"target_dependencies" : [
"core",
"xsys",
"events",
"streams",
"CryptoSwift"
],
"type" : "library"
},
{
"c99name" : "cows",
"module_type" : "SwiftTarget",
"name" : "cows",
"path" : "Sources/cows",
"product_memberships" : [
"cows"
],
"sources" : [
"Module.swift",
"UniqueRandomArray.swift",
"cows.swift"
],
"target_dependencies" : [
"core",
"xsys"
],
"type" : "library"
},
{
"c99name" : "core",
"module_type" : "SwiftTarget",
"name" : "core",
"path" : "Sources/core",
"product_memberships" : [
"core",
"leftpad",
"events",
"streams",
"json",
"fs",
"crypto",
"dns",
"net",
"dgram",
"process",
"console",
"http",
"child_process",
"connect",
"express",
"redis",
"cows"
],
"sources" : [
"ByteBucket.swift",
"CIDictionary.swift",
"Extras.swift",
"Logger.swift",
"Module.swift",
"NozeCore.swift",
"NozeModules.swift",
"Promise.swift",
"RawByteBuffer.swift",
"Swift3.swift"
],
"target_dependencies" : [
"xsys"
],
"type" : "library"
},
{
"c99name" : "console",
"module_type" : "SwiftTarget",
"name" : "console",
"path" : "Sources/console",
"product_memberships" : [
"console",
"http",
"connect",
"express",
"redis"
],
"sources" : [
"Console.swift",
"Module.swift"
],
"target_dependencies" : [
"core",
"xsys",
"events",
"streams",
"process"
],
"type" : "library"
},
{
"c99name" : "connect",
"module_type" : "SwiftTarget",
"name" : "connect",
"path" : "Sources/connect",
"product_memberships" : [
"connect",
"express"
],
"sources" : [
"BodyParser.swift",
"CORS.swift",
"Connect.swift",
"CookieParser.swift",
"Logger.swift",
"MethodOverride.swift",
"Module.swift",
"Pause.swift",
"QS.swift",
"ServeStatic.swift",
"Session.swift",
"TypeIs.swift"
],
"target_dependencies" : [
"core",
"xsys",
"events",
"streams",
"http",
"console",
"Freddy",
"json",
"leftpad"
],
"type" : "library"
},
{
"c99name" : "child_process",
"module_type" : "SwiftTarget",
"name" : "child_process",
"path" : "Sources/child_process",
"product_memberships" : [
"child_process"
],
"sources" : [
"ChildProcess.swift",
"ChildProcessPipes.swift",
"Module.swift",
"PipeSourceTarget.swift",
"Spawn.swift",
"StdioAction.swift"
],
"target_dependencies" : [
"core",
"xsys",
"streams",
"process",
"fs"
],
"type" : "library"
},
{
"c99name" : "base64",
"module_type" : "SwiftTarget",
"name" : "base64",
"path" : "Sources/base64",
"product_memberships" : [
"base64",
"http",
"connect",
"express"
],
"sources" : [
"Base64.swift"
],
"type" : "library"
},
{
"c99name" : "Freddy",
"module_type" : "SwiftTarget",
"name" : "Freddy",
"path" : "Sources/Freddy",
"product_memberships" : [
"Freddy",
"json",
"connect",
"express"
],
"sources" : [
"JSON.swift",
"JSONDecodable.swift",
"JSONEncodable.swift",
"JSONEncodingDetector.swift",
"JSONLiteralConvertible.swift",
"JSONParser.swift",
"JSONSubscripting.swift",
"Swift3.swift"
],
"type" : "library"
},
{
"c99name" : "CryptoSwift",
"module_type" : "SwiftTarget",
"name" : "CryptoSwift",
"path" : "Sources/CryptoSwift",
"product_memberships" : [
"CryptoSwift",
"crypto"
],
"sources" : [
"ArrayExtension.swift",
"BatchedCollection.swift",
"Bit.swift",
"BytesSequence.swift",
"CSArrayType+Extensions.swift",
"Collection+Extension.swift",
"DigestType.swift",
"Generics.swift",
"Int+Extension.swift",
"IntegerConvertible.swift",
"MD5.swift",
"Operators.swift",
"Updatable.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.