Build Information
Successful build of NozeIO with Swift 6.0 for Linux.
Swift 6 data race errors: 209
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
28 | public let chdir = Glibc.chdir
29 | public let getcwd = Glibc.getcwd
[209/216] Compiling net Socket.swift
/host/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) {
/host/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)
/host/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
/host/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.
/host/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 | {
/host/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.
/host/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 |
/host/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'
/host/spi-builder-workspace/Sources/xsys/socket.swift:12: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
10 | import Glibc
11 |
12 | public let socket = Glibc.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
13 | public let poll = Glibc.poll
14 | public let bind = Glibc.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:15: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
13 | public let poll = Glibc.poll
14 | public let bind = Glibc.bind
15 | public let connect = Glibc.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
16 | public let listen = Glibc.listen
17 | public let accept = Glibc.accept
/host/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
/host/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
/host/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 |
/host/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
/host/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
/host/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 |
/host/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
/host/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
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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'
/host/spi-builder-workspace/Sources/xsys/socket.swift:23: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
21 | public let getpeername = Glibc.getpeername
22 |
23 | public let setsockopt = Glibc.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
24 |
25 | public let getaddrinfo = Glibc.getaddrinfo
[210/216] Compiling net Server.swift
/host/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.
/host/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 | {
/host/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.
/host/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 |
/host/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'
/host/spi-builder-workspace/Sources/xsys/socket.swift:20: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
18 | public let shutdown = Glibc.shutdown
19 |
20 | public let getsockname = Glibc.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
21 | public let getpeername = Glibc.getpeername
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:16: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
14 | public let bind = Glibc.bind
15 | public let connect = Glibc.connect
16 | public let listen = Glibc.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
17 | public let accept = Glibc.accept
18 | public let shutdown = Glibc.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:17: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
15 | public let connect = Glibc.connect
16 | public let listen = Glibc.listen
17 | public let accept = Glibc.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
18 | public let shutdown = Glibc.shutdown
19 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:14: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
12 | public let socket = Glibc.socket
13 | public let poll = Glibc.poll
14 | public let bind = Glibc.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
15 | public let connect = Glibc.connect
16 | public let listen = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:23: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
21 | public let getpeername = Glibc.getpeername
22 |
23 | public let setsockopt = Glibc.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
24 |
25 | public let getaddrinfo = Glibc.getaddrinfo
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:12: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
10 | import Glibc
11 |
12 | public let socket = Glibc.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
13 | public let poll = Glibc.poll
14 | public let bind = Glibc.bind
[211/216] Compiling net Module.swift
/host/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 |
/host/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.
/host/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 | {
/host/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.
/host/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 | {
/host/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.
[212/216] Compiling net DNS.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:25: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
23 | public let setsockopt = Glibc.setsockopt
24 |
25 | public let getaddrinfo = Glibc.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
26 | public let freeaddrinfo = Glibc.freeaddrinfo
27 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:26: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
24 |
25 | public let getaddrinfo = Glibc.getaddrinfo
26 | public let freeaddrinfo = Glibc.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
27 |
28 | public let SOCK_STREAM : Int32 = Int32(Glibc.SOCK_STREAM.rawValue)
[213/216] Compiling net SocketAddress.swift
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
81 |
82 | #if swift(>=5) || compiler(>=5.1)
/host/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 'SwiftGlibc' 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 'SwiftGlibc' 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 |
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
114 |
115 | public var description: String {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' 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
/host/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?
/host/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 |
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
235 |
236 | #if swift(>=5) || compiler(>=5.1)
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
259 |
260 | public init(stringLiteral value: String) {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
275 |
276 | public var description: String {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
283 |
284 | public static var domain = xsys.AF_INET6
/host/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 |
/host/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 {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' 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)
/host/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 |
/host/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
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
458 |
459 | public var description : String {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' 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'
/host/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 |
[214/216] Emitting module net
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:25: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
23 | public let setsockopt = Glibc.setsockopt
24 |
25 | public let getaddrinfo = Glibc.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
26 | public let freeaddrinfo = Glibc.freeaddrinfo
27 |
/host/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 |
/host/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.
/host/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 | {
/host/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.
/host/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) {
/host/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)
/host/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
/host/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 | {
/host/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.
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
81 |
82 | #if swift(>=5) || compiler(>=5.1)
/host/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 'SwiftGlibc' 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 'SwiftGlibc' 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 |
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
114 |
115 | public var description: String {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' 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
/host/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?
/host/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 |
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
235 |
236 | #if swift(>=5) || compiler(>=5.1)
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
259 |
260 | public init(stringLiteral value: String) {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
275 |
276 | public var description: String {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
283 |
284 | public static var domain = xsys.AF_INET6
/host/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 |
/host/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 {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' 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)
/host/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 |
/host/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
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
458 |
459 | public var description : String {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
518 |
519 | public func makeIterator() -> AnyIterator<addrinfo> {
[215/217] Compiling child_process Spawn.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:36: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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
34 | public typealias pid_t = Glibc.pid_t
35 | public let posix_spawn = Glibc.posix_spawn
36 | public let posix_spawnp = Glibc.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>>, UnsafePointer<Int8>, Optional<UnsafePointer<posix_spawn_file_actions_t>>, Optional<UnsafePointer<posix_spawnattr_t>>, 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
37 | public let waitpid = Glibc.waitpid
38 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:15: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
13 |
14 | public let open : xsysOpenType = Glibc.open
15 | public let close = Glibc.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
16 | public let read = Glibc.read
17 | public let write = Glibc.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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'
/host/spi-builder-workspace/Sources/xsys/misc.swift:39:14: warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> UnsafeMutablePointer<CChar>?' (aka '(UnsafePointer<Int8>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
37 | public let waitpid = Glibc.waitpid
38 |
39 | public let getenv = Glibc.getenv
| |- warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> UnsafeMutablePointer<CChar>?' (aka '(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
40 |
41 | // signals
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:62: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
60 | public let RLIMIT_NOFILE = Glibc.RLIMIT_NOFILE
61 | public let _SC_OPEN_MAX = Glibc._SC_OPEN_MAX
62 | public let sysconf = Glibc.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
63 | #else
64 | import Darwin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:59:14: warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(__rlimit_resource_t, UnsafeMutablePointer<rlimit>) -> Int32' (aka '(Int32, UnsafeMutablePointer<rlimit>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
57 | // rlimit
58 | public typealias rlimit = Glibc.rlimit
59 | public let getrlimit = Glibc.getrlimit
| |- warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(__rlimit_resource_t, UnsafeMutablePointer<rlimit>) -> Int32' (aka '(Int32, UnsafeMutablePointer<rlimit>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getrlimit' 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 RLIMIT_NOFILE = Glibc.RLIMIT_NOFILE
61 | public let _SC_OPEN_MAX = Glibc._SC_OPEN_MAX
[216/217] Compiling child_process PipeSourceTarget.swift
[219/250] Compiling redis RedisRetry.swift
[220/251] Compiling dgram Internals.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:18: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
16 | public let read = Glibc.read
17 | public let write = Glibc.write
18 | public let recvfrom = Glibc.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
19 | public let sendto = Glibc.sendto
20 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/fd.swift:19: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
17 | public let write = Glibc.write
18 | public let recvfrom = Glibc.recvfrom
19 | public let sendto = Glibc.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
20 |
21 | public let access = Glibc.access
[221/251] Compiling redis RedisValue.swift
[222/251] Compiling redis RedisPrint.swift
[223/251] Compiling redis RedisWritableStream.swift
[224/251] Compiling http Agent.swift
[225/251] Compiling http BasicAuth.swift
[226/251] Emitting module redis
/host/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 |
/host/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
/host/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]?)
/host/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 | }
/host/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]?)
/host/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 | }
/host/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]?)
/host/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.
/host/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 | {
/host/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.
[227/251] Compiling http RequestOptions.swift
/host/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 | /**
/host/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 |
[228/251] Compiling http Server.swift
/host/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 | /**
/host/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 |
[229/253] Compiling http HTTPStatus.swift
[230/253] Compiling http IncomingMessage.swift
[231/253] Compiling http HTTPConnection.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:15: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
13 | public typealias time_t = Glibc.time_t
14 |
15 | public let time = Glibc.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
16 | public let gmtime_r = Glibc.gmtime_r
17 | public let localtime_r = Glibc.localtime_r
[232/253] Compiling http HTTPMessageWrapper.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:15: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
13 | public typealias time_t = Glibc.time_t
14 |
15 | public let time = Glibc.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
16 | public let gmtime_r = Glibc.gmtime_r
17 | public let localtime_r = Glibc.localtime_r
[233/253] Compiling http Cookies.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:19:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(UnsafePointer<Int8>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
17 | public let memcpy = Glibc.memcpy
18 | public let strlen = Glibc.strlen
19 | public let strchr = Glibc.strchr
| |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(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
20 |
21 | // Looks like todays Linux Swift doesn't have arc4random either.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:18: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
16 | public typealias size_t = Glibc.size_t
17 | public let memcpy = Glibc.memcpy
18 | public let strlen = Glibc.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
19 | public let strchr = Glibc.strchr
20 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:17: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
15 |
16 | public typealias size_t = Glibc.size_t
17 | public let memcpy = Glibc.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
18 | public let strlen = Glibc.strlen
19 | public let strchr = Glibc.strchr
[234/253] Compiling http Extensions.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:19:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(UnsafePointer<Int8>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
17 | public let memcpy = Glibc.memcpy
18 | public let strlen = Glibc.strlen
19 | public let strchr = Glibc.strchr
| |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(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
20 |
21 | // Looks like todays Linux Swift doesn't have arc4random either.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:18: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
16 | public typealias size_t = Glibc.size_t
17 | public let memcpy = Glibc.memcpy
18 | public let strlen = Glibc.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
19 | public let strchr = Glibc.strchr
20 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/misc.swift:17: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
15 |
16 | public typealias size_t = Glibc.size_t
17 | public let memcpy = Glibc.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
18 | public let strlen = Glibc.strlen
19 | public let strchr = Glibc.strchr
[235/253] Compiling dgram Module.swift
/host/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 |
/host/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.
/host/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 | {
/host/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.
[236/253] Emitting module dgram
/host/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 |
/host/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.
/host/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 | {
/host/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.
[237/253] Compiling dgram Socket.swift
/host/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.
/host/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 | {
/host/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.
/host/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 |
/host/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'
/host/spi-builder-workspace/Sources/xsys/socket.swift:20: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
18 | public let shutdown = Glibc.shutdown
19 |
20 | public let getsockname = Glibc.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
21 | public let getpeername = Glibc.getpeername
22 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:14: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
12 | public let socket = Glibc.socket
13 | public let poll = Glibc.poll
14 | public let bind = Glibc.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
15 | public let connect = Glibc.connect
16 | public let listen = Glibc.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:23: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
21 | public let getpeername = Glibc.getpeername
22 |
23 | public let setsockopt = Glibc.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
24 |
25 | public let getaddrinfo = Glibc.getaddrinfo
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/socket.swift:12: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
10 | import Glibc
11 |
12 | public let socket = Glibc.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
13 | public let poll = Glibc.poll
14 | public let bind = Glibc.bind
[238/254] Compiling http IncomingMessageParser.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:15: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
13 | public typealias time_t = Glibc.time_t
14 |
15 | public let time = Glibc.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
16 | public let gmtime_r = Glibc.gmtime_r
17 | public let localtime_r = Glibc.localtime_r
[239/254] Compiling http Misc.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:15: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
13 | public typealias time_t = Glibc.time_t
14 |
15 | public let time = Glibc.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
16 | public let gmtime_r = Glibc.gmtime_r
17 | public let localtime_r = Glibc.localtime_r
[240/254] Compiling http Module.swift
/host/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 |
/host/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 | /**
/host/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 |
/host/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 |
/host/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 |
[241/254] Compiling http QueryString.swift
/host/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 |
/host/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 | /**
/host/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 |
/host/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 |
/host/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 |
/host/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 | }
/host/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]?)
/host/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 | }
/host/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]?)
/host/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.
/host/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 | {
/host/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.
/host/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.
/host/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 | {
/host/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.
[247/254] Emitting module http
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/xsys/time.swift:15: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
13 | public typealias time_t = Glibc.time_t
14 |
15 | public let time = Glibc.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
16 | public let gmtime_r = Glibc.gmtime_r
17 | public let localtime_r = Glibc.localtime_r
/host/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 |
/host/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 | /**
/host/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 |
/host/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 |
/host/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 |
[250/254] Compiling http ClientRequest.swift
/host/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 |
/host/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
/host/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]?)
/host/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 | }
/host/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]?)
/host/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 |
/host/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() {
/host/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.
/host/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 | {
/host/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.
/host/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 |
/host/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
/host/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]?)
/host/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 | }
/host/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]?)
/host/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 |
/host/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() {
/host/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.
/host/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 | {
/host/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.
[254/255] Compiling http ServerResponse.swift
/host/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 |
[255/255] Compiling http URL.swift
/host/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 |
[257/268] Compiling connect ServeStatic.swift
[258/268] Compiling connect Session.swift
/host/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
/host/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
/host/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
/host/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
[259/269] Compiling connect Connect.swift
[260/269] Compiling connect CookieParser.swift
[261/269] Compiling connect BodyParser.swift
/host/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 |
/host/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 | ]
/host/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 |
[262/269] Compiling connect CORS.swift
/host/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 |
/host/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 | ]
/host/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 |
[263/269] Compiling connect Logger.swift
/host/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'
/host/spi-builder-workspace/Sources/xsys/time.swift:15: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
13 | public typealias time_t = Glibc.time_t
14 |
15 | public let time = Glibc.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
16 | public let gmtime_r = Glibc.gmtime_r
17 | public let localtime_r = Glibc.localtime_r
/host/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 |
/host/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 | }
/host/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 |
[264/269] Compiling connect MethodOverride.swift
/host/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'
/host/spi-builder-workspace/Sources/xsys/time.swift:15: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
13 | public typealias time_t = Glibc.time_t
14 |
15 | public let time = Glibc.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
16 | public let gmtime_r = Glibc.gmtime_r
17 | public let localtime_r = Glibc.localtime_r
/host/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 |
/host/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 | }
/host/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 |
[265/269] Emitting module connect
/host/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 | ]
/host/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 |
/host/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
/host/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
/host/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,
/host/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
/host/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
/host/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
/host/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
/host/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
[266/269] Compiling connect Module.swift
/host/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
[267/269] Compiling connect Pause.swift
/host/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
[268/269] Compiling connect QS.swift
/host/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,
/host/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
[269/269] Compiling connect TypeIs.swift
[271/282] Compiling express Router.swift
[272/282] Compiling express ServerResponse.swift
[273/282] Compiling express RouteKeeper.swift
[274/283] Compiling express Settings.swift
[275/283] Compiling express Module.swift
/host/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'
/host/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 {
/host/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 |
[276/283] Compiling express Mustache.swift
/host/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'
/host/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 {
/host/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 |
[277/283] Compiling express JSON.swift
[278/283] Compiling express MiddlewareObject.swift
[279/283] Compiling express Express.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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 {
[280/283] Compiling express IncomingMessage.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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 {
[281/283] Emitting module express
/host/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'
/host/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 {
[282/283] Compiling express Render.swift
[283/283] Compiling express Route.swift
Build complete! (52.43s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "NozeIO",
"name" : "NozeIO",
"path" : "/host/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.