Build Information
Successful build of NozeIO, reference master (983ced
), with Swift 6.0 for Linux on 2 Nov 2024 00:50:35 UTC.
Swift 6 data race errors: 197
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | returnError = nil
76 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:74:24: warning: capture of 'arg' with non-sendable type 'ArgT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | }
62 |
63 | func evalAsync<ArgT, RT>(_ f : @escaping ( ArgT ) throws -> RT,
| `- note: consider making generic parameter 'ArgT' conform to the 'Sendable' protocol
64 | _ arg : ArgT,
65 | _ cb : @escaping ( Error?, RT? ) -> Void)
:
72 |
73 | do {
74 | result = try f(arg)
| `- warning: capture of 'arg' with non-sendable type 'ArgT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | returnError = nil
76 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:83:9: warning: capture of 'cb' with non-sendable type '((any Error)?, RT?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
81 |
82 | core.Q.async {
83 | cb(returnError, result)
| |- warning: capture of 'cb' with non-sendable type '((any Error)?, RT?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
84 | core.module.release()
85 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:82:12: 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
80 | }
81 |
82 | core.Q.async {
| `- 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
83 | cb(returnError, result)
84 | core.module.release()
/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/fs/AsyncWrapper.swift:83:9: warning: capture of 'cb' with non-sendable type '((any Error)?, RT?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
81 |
82 | core.Q.async {
83 | cb(returnError, result)
| |- warning: capture of 'cb' with non-sendable type '((any Error)?, RT?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
84 | core.module.release()
85 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:83:25: warning: capture of 'result' with non-sendable type 'RT?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | }
62 |
63 | func evalAsync<ArgT, RT>(_ f : @escaping ( ArgT ) throws -> RT,
| `- note: consider making generic parameter 'RT' conform to the 'Sendable' protocol
64 | _ arg : ArgT,
65 | _ cb : @escaping ( Error?, RT? ) -> Void)
:
81 |
82 | core.Q.async {
83 | cb(returnError, result)
| `- warning: capture of 'result' with non-sendable type 'RT?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | core.module.release()
85 | }
[180/183] Compiling fs Directory.swift
/host/spi-builder-workspace/Sources/fs/Module.swift:19:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeFS' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import streams
12 |
13 | public class NozeFS : NozeModule {
| `- note: class 'NozeFS' does not conform to the 'Sendable' protocol
14 |
15 | // A queue which is used by all FS functions to do async operations (not
:
17 | lazy var Q = DispatchQueue.global()
18 | }
19 | public let module = NozeFS()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeFS' 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
20 |
21 |
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:31:20: warning: capture of 'f' with non-sendable type '(ArgT) -> RT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | module.Q.async {
30 |
31 | let result = f(arg)
| |- warning: capture of 'f' with non-sendable type '(ArgT) -> RT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
32 |
33 | core.Q.async {
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:31:22: warning: capture of 'arg' with non-sendable type 'ArgT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | /// }
23 | ///
24 | func evalAsync<ArgT, RT>(_ f : @escaping (ArgT) -> RT, _ arg: ArgT,
| `- note: consider making generic parameter 'ArgT' conform to the 'Sendable' protocol
25 | _ cb : @escaping ( RT ) -> Void)
26 | {
:
29 | module.Q.async {
30 |
31 | let result = f(arg)
| `- warning: capture of 'arg' with non-sendable type 'ArgT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |
33 | core.Q.async {
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:34:9: warning: capture of 'cb' with non-sendable type '(RT) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |
33 | core.Q.async {
34 | cb(result)
| |- warning: capture of 'cb' with non-sendable type '(RT) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
35 | core.module.release()
36 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:33:12: 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 | let result = f(arg)
32 |
33 | core.Q.async {
| `- 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 | cb(result)
35 | core.module.release()
/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/fs/AsyncWrapper.swift:34:9: warning: capture of 'cb' with non-sendable type '(RT) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |
33 | core.Q.async {
34 | cb(result)
| |- warning: capture of 'cb' with non-sendable type '(RT) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
35 | core.module.release()
36 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:34:12: warning: capture of 'result' with non-sendable type 'RT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | /// }
23 | ///
24 | func evalAsync<ArgT, RT>(_ f : @escaping (ArgT) -> RT, _ arg: ArgT,
| `- note: consider making generic parameter 'RT' conform to the 'Sendable' protocol
25 | _ cb : @escaping ( RT ) -> Void)
26 | {
:
32 |
33 | core.Q.async {
34 | cb(result)
| `- warning: capture of 'result' with non-sendable type 'RT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | core.module.release()
36 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:49:13: warning: capture of 'f' with non-sendable type '(ArgT) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 |
48 | do {
49 | try f(arg)
| |- warning: capture of 'f' with non-sendable type '(ArgT) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
50 | returnError = nil
51 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:49:15: warning: capture of 'arg' with non-sendable type 'ArgT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
38 | }
39 |
40 | func evalAsync<ArgT>(_ f : @escaping (ArgT) throws -> Void, _ arg: ArgT,
| `- note: consider making generic parameter 'ArgT' conform to the 'Sendable' protocol
41 | _ cb : @escaping ( Error? ) -> Void)
42 | {
:
47 |
48 | do {
49 | try f(arg)
| `- warning: capture of 'arg' with non-sendable type 'ArgT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | returnError = nil
51 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:57:9: warning: capture of 'cb' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 |
56 | core.Q.async {
57 | cb(returnError)
| |- warning: capture of 'cb' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
58 | core.module.release()
59 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:56:12: 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
54 | }
55 |
56 | core.Q.async {
| `- 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
57 | cb(returnError)
58 | core.module.release()
/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/fs/AsyncWrapper.swift:57:9: warning: capture of 'cb' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 |
56 | core.Q.async {
57 | cb(returnError)
| |- warning: capture of 'cb' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
58 | core.module.release()
59 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:74:22: warning: capture of 'f' with non-sendable type '(ArgT) throws -> RT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 |
73 | do {
74 | result = try f(arg)
| |- warning: capture of 'f' with non-sendable type '(ArgT) throws -> RT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | returnError = nil
76 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:74:24: warning: capture of 'arg' with non-sendable type 'ArgT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | }
62 |
63 | func evalAsync<ArgT, RT>(_ f : @escaping ( ArgT ) throws -> RT,
| `- note: consider making generic parameter 'ArgT' conform to the 'Sendable' protocol
64 | _ arg : ArgT,
65 | _ cb : @escaping ( Error?, RT? ) -> Void)
:
72 |
73 | do {
74 | result = try f(arg)
| `- warning: capture of 'arg' with non-sendable type 'ArgT' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | returnError = nil
76 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:83:9: warning: capture of 'cb' with non-sendable type '((any Error)?, RT?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
81 |
82 | core.Q.async {
83 | cb(returnError, result)
| |- warning: capture of 'cb' with non-sendable type '((any Error)?, RT?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
84 | core.module.release()
85 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:82:12: 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
80 | }
81 |
82 | core.Q.async {
| `- 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
83 | cb(returnError, result)
84 | core.module.release()
/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/fs/AsyncWrapper.swift:83:9: warning: capture of 'cb' with non-sendable type '((any Error)?, RT?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
81 |
82 | core.Q.async {
83 | cb(returnError, result)
| |- warning: capture of 'cb' with non-sendable type '((any Error)?, RT?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
84 | core.module.release()
85 | }
/host/spi-builder-workspace/Sources/fs/AsyncWrapper.swift:83:25: warning: capture of 'result' with non-sendable type 'RT?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | }
62 |
63 | func evalAsync<ArgT, RT>(_ f : @escaping ( ArgT ) throws -> RT,
| `- note: consider making generic parameter 'RT' conform to the 'Sendable' protocol
64 | _ arg : ArgT,
65 | _ cb : @escaping ( Error?, RT? ) -> Void)
:
81 |
82 | core.Q.async {
83 | cb(returnError, result)
| `- warning: capture of 'result' with non-sendable type 'RT?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | core.module.release()
85 | }
[181/183] Compiling fs ErrnoError.swift
/host/spi-builder-workspace/Sources/fs/ErrnoError.swift:26:1: warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Glibc' introduce this conformance in the future
24 | }
25 |
26 | extension POSIXErrorCode : CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Glibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
27 |
28 | public var description : String {
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:25:21: warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// This essentially wraps the Integer representing a file descriptor in a
20 | /// struct for the whole reason to attach methods to it.
21 | public struct FileDescriptor:
| `- note: consider making struct 'FileDescriptor' conform to the 'Sendable' protocol
22 | ExpressibleByIntegerLiteral, ExpressibleByNilLiteral
23 | {
24 |
25 | public static let stdin = FileDescriptor(xsys.STDIN_FILENO)
| |- warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stdin' with '@MainActor' 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 static let stdout = FileDescriptor(xsys.STDOUT_FILENO)
27 | public static let stderr = FileDescriptor(xsys.STDERR_FILENO)
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:26:21: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// This essentially wraps the Integer representing a file descriptor in a
20 | /// struct for the whole reason to attach methods to it.
21 | public struct FileDescriptor:
| `- note: consider making struct 'FileDescriptor' conform to the 'Sendable' protocol
22 | ExpressibleByIntegerLiteral, ExpressibleByNilLiteral
23 | {
24 |
25 | public static let stdin = FileDescriptor(xsys.STDIN_FILENO)
26 | public static let stdout = FileDescriptor(xsys.STDOUT_FILENO)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
27 | public static let stderr = FileDescriptor(xsys.STDERR_FILENO)
28 |
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:27:21: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// This essentially wraps the Integer representing a file descriptor in a
20 | /// struct for the whole reason to attach methods to it.
21 | public struct FileDescriptor:
| `- note: consider making struct 'FileDescriptor' conform to the 'Sendable' protocol
22 | ExpressibleByIntegerLiteral, ExpressibleByNilLiteral
23 | {
:
25 | public static let stdin = FileDescriptor(xsys.STDIN_FILENO)
26 | public static let stdout = FileDescriptor(xsys.STDOUT_FILENO)
27 | public static let stderr = FileDescriptor(xsys.STDERR_FILENO)
| |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public let fd : Int32
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:87:37: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
85 | // TODO: This is funny. It accepts an array of any type?!
86 | // Is it actually what we want?
87 | let writeCount = xsys.write(fd, buffer, lCount)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
88 |
89 | guard writeCount >= 0 else {
[182/183] Compiling fs FSWatcher.swift
/host/spi-builder-workspace/Sources/fs/ErrnoError.swift:26:1: warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Glibc' introduce this conformance in the future
24 | }
25 |
26 | extension POSIXErrorCode : CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Glibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
27 |
28 | public var description : String {
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:25:21: warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// This essentially wraps the Integer representing a file descriptor in a
20 | /// struct for the whole reason to attach methods to it.
21 | public struct FileDescriptor:
| `- note: consider making struct 'FileDescriptor' conform to the 'Sendable' protocol
22 | ExpressibleByIntegerLiteral, ExpressibleByNilLiteral
23 | {
24 |
25 | public static let stdin = FileDescriptor(xsys.STDIN_FILENO)
| |- warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stdin' with '@MainActor' 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 static let stdout = FileDescriptor(xsys.STDOUT_FILENO)
27 | public static let stderr = FileDescriptor(xsys.STDERR_FILENO)
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:26:21: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// This essentially wraps the Integer representing a file descriptor in a
20 | /// struct for the whole reason to attach methods to it.
21 | public struct FileDescriptor:
| `- note: consider making struct 'FileDescriptor' conform to the 'Sendable' protocol
22 | ExpressibleByIntegerLiteral, ExpressibleByNilLiteral
23 | {
24 |
25 | public static let stdin = FileDescriptor(xsys.STDIN_FILENO)
26 | public static let stdout = FileDescriptor(xsys.STDOUT_FILENO)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
27 | public static let stderr = FileDescriptor(xsys.STDERR_FILENO)
28 |
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:27:21: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// This essentially wraps the Integer representing a file descriptor in a
20 | /// struct for the whole reason to attach methods to it.
21 | public struct FileDescriptor:
| `- note: consider making struct 'FileDescriptor' conform to the 'Sendable' protocol
22 | ExpressibleByIntegerLiteral, ExpressibleByNilLiteral
23 | {
:
25 | public static let stdin = FileDescriptor(xsys.STDIN_FILENO)
26 | public static let stdout = FileDescriptor(xsys.STDOUT_FILENO)
27 | public static let stderr = FileDescriptor(xsys.STDERR_FILENO)
| |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public let fd : Int32
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:87:37: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
85 | // TODO: This is funny. It accepts an array of any type?!
86 | // Is it actually what we want?
87 | let writeCount = xsys.write(fd, buffer, lCount)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
88 |
89 | guard writeCount >= 0 else {
[183/183] Compiling fs FileDescriptor.swift
/host/spi-builder-workspace/Sources/fs/ErrnoError.swift:26:1: warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Glibc' introduce this conformance in the future
24 | }
25 |
26 | extension POSIXErrorCode : CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Glibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
27 |
28 | public var description : String {
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:25:21: warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// This essentially wraps the Integer representing a file descriptor in a
20 | /// struct for the whole reason to attach methods to it.
21 | public struct FileDescriptor:
| `- note: consider making struct 'FileDescriptor' conform to the 'Sendable' protocol
22 | ExpressibleByIntegerLiteral, ExpressibleByNilLiteral
23 | {
24 |
25 | public static let stdin = FileDescriptor(xsys.STDIN_FILENO)
| |- warning: static property 'stdin' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stdin' with '@MainActor' 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 static let stdout = FileDescriptor(xsys.STDOUT_FILENO)
27 | public static let stderr = FileDescriptor(xsys.STDERR_FILENO)
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:26:21: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// This essentially wraps the Integer representing a file descriptor in a
20 | /// struct for the whole reason to attach methods to it.
21 | public struct FileDescriptor:
| `- note: consider making struct 'FileDescriptor' conform to the 'Sendable' protocol
22 | ExpressibleByIntegerLiteral, ExpressibleByNilLiteral
23 | {
24 |
25 | public static let stdin = FileDescriptor(xsys.STDIN_FILENO)
26 | public static let stdout = FileDescriptor(xsys.STDOUT_FILENO)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
27 | public static let stderr = FileDescriptor(xsys.STDERR_FILENO)
28 |
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:27:21: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// This essentially wraps the Integer representing a file descriptor in a
20 | /// struct for the whole reason to attach methods to it.
21 | public struct FileDescriptor:
| `- note: consider making struct 'FileDescriptor' conform to the 'Sendable' protocol
22 | ExpressibleByIntegerLiteral, ExpressibleByNilLiteral
23 | {
:
25 | public static let stdin = FileDescriptor(xsys.STDIN_FILENO)
26 | public static let stdout = FileDescriptor(xsys.STDOUT_FILENO)
27 | public static let stderr = FileDescriptor(xsys.STDERR_FILENO)
| |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'FileDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public let fd : Int32
/host/spi-builder-workspace/Sources/fs/FileDescriptor.swift:87:37: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
85 | // TODO: This is funny. It accepts an array of any type?!
86 | // Is it actually what we want?
87 | let writeCount = xsys.write(fd, buffer, lCount)
| `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
88 |
89 | guard writeCount >= 0 else {
[185/203] Compiling process Stdio.swift
/host/spi-builder-workspace/Sources/process/Stdio.swift:13:12: warning: var 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | import fs
12 |
13 | public var stdin = createStdin()
| |- warning: var 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdin' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdin' with '@MainActor' 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 | public var stdout = createStdoutOrErr(fd: xsys.STDOUT_FILENO)
15 | public var stderr = createStdoutOrErr(fd: xsys.STDERR_FILENO)
/host/spi-builder-workspace/Sources/process/Stdio.swift:14:12: warning: var 'stdout' is not concurrency-safe because it is nonisolated 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 nonisolated 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/process/Stdio.swift:15:12: warning: var 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public var stdin = createStdin()
14 | public var stdout = createStdoutOrErr(fd: xsys.STDOUT_FILENO)
15 | public var stderr = createStdoutOrErr(fd: xsys.STDERR_FILENO)
| |- warning: var 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderr' with '@MainActor' 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 | // TODO: Need a protocol to abstract the Readable? from the source?
[186/203] Compiling net SocketSourceTarget.swift
[187/203] Compiling net Util.swift
[188/203] Emitting module process
/host/spi-builder-workspace/Sources/process/Module.swift:25:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeProcess' may have shared mutable state; this is an error in the Swift 6 language mode
19 | @_exported import events
20 |
21 | public class NozeProcess : NozeModule {
| `- note: class 'NozeProcess' does not conform to the 'Sendable' protocol
22 | lazy var warningListeners : EventListenerSet<Warning> =
23 | EventListenerSet(queueLength: 0)
24 | }
25 | public let module = NozeProcess()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeProcess' 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
26 |
27 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/process/Module.swift:39:12: warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> __gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
37 | public var pid : Int { return Int(getpid()) }
38 |
39 | public let getegid = xsys.getegid
| |- warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> __gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getegid' with '@MainActor' 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 | public let geteuid = xsys.geteuid
41 | public let getgid = xsys.getgid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/process/Module.swift:40:12: warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> __uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | public let getegid = xsys.getegid
40 | public let geteuid = xsys.geteuid
| |- warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> __uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'geteuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let getgid = xsys.getgid
42 | public let getuid = xsys.getuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/process/Module.swift:41:12: warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> __gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
39 | public let getegid = xsys.getegid
40 | public let geteuid = xsys.geteuid
41 | public let getgid = xsys.getgid
| |- warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> __gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getgid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public let getuid = xsys.getuid
43 | // TODO: getgroups, initgroups, setegid, seteuid, setgid, setgroups, setuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/process/Module.swift:42:12: warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> __uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
40 | public let geteuid = xsys.geteuid
41 | public let getgid = xsys.getgid
42 | public let getuid = xsys.getuid
| |- warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> __uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getuid' with '@MainActor' 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 | // TODO: getgroups, initgroups, setegid, seteuid, setgid, setgroups, setuid
44 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/process/Module.swift:48:12: warning: let 'abort' is not concurrency-safe because non-'Sendable' type '() -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
46 | // MARK: - Run Control
47 |
48 | public let abort = xsys.abort
| |- warning: let 'abort' is not concurrency-safe because non-'Sendable' type '() -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'abort' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |
<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 |
/host/spi-builder-workspace/Sources/process/Stdio.swift:13:12: warning: var 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | import fs
12 |
13 | public var stdin = createStdin()
| |- warning: var 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdin' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdin' with '@MainActor' 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 | public var stdout = createStdoutOrErr(fd: xsys.STDOUT_FILENO)
15 | public var stderr = createStdoutOrErr(fd: xsys.STDERR_FILENO)
/host/spi-builder-workspace/Sources/process/Stdio.swift:14:12: warning: var 'stdout' is not concurrency-safe because it is nonisolated 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 nonisolated 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/process/Stdio.swift:15:12: warning: var 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public var stdin = createStdin()
14 | public var stdout = createStdoutOrErr(fd: xsys.STDOUT_FILENO)
15 | public var stderr = createStdoutOrErr(fd: xsys.STDERR_FILENO)
| |- warning: var 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderr' with '@MainActor' 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 | // TODO: Need a protocol to abstract the Readable? from the source?
[189/203] Compiling process Environment.swift
[190/203] Compiling process FileSystem.swift
[191/203] Compiling process Messages.swift
/host/spi-builder-workspace/Sources/process/Module.swift:25:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeProcess' may have shared mutable state; this is an error in the Swift 6 language mode
19 | @_exported import events
20 |
21 | public class NozeProcess : NozeModule {
| `- note: class 'NozeProcess' does not conform to the 'Sendable' protocol
22 | lazy var warningListeners : EventListenerSet<Warning> =
23 | EventListenerSet(queueLength: 0)
24 | }
25 | public let module = NozeProcess()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeProcess' 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
26 |
27 |
[192/203] Compiling json Module.swift
/host/spi-builder-workspace/Sources/json/Module.swift:16:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeJSON' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // we cannot type-alias the extensions, which is why we need the full export
13 |
14 | public class NozeJSON : NozeModule {
| `- note: class 'NozeJSON' does not conform to the 'Sendable' protocol
15 | }
16 | public let module = NozeJSON()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeJSON' 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
17 |
18 | public typealias JSON = Freddy.JSON
[193/203] Compiling json JsonFile.swift
/host/spi-builder-workspace/Sources/json/JsonFile.swift:102:12: warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import fs
11 |
12 | public class JsonFileModule : NozeModule {
| `- note: class 'JsonFileModule' does not conform to the 'Sendable' protocol
13 |
14 | public enum Error : SwiftError {
:
100 | }
101 |
102 | public let jsonfile = JsonFileModule()
| |- warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonfile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
[194/203] Compiling process Module.swift
/host/spi-builder-workspace/Sources/process/Module.swift:25:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeProcess' may have shared mutable state; this is an error in the Swift 6 language mode
19 | @_exported import events
20 |
21 | public class NozeProcess : NozeModule {
| `- note: class 'NozeProcess' does not conform to the 'Sendable' protocol
22 | lazy var warningListeners : EventListenerSet<Warning> =
23 | EventListenerSet(queueLength: 0)
24 | }
25 | public let module = NozeProcess()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeProcess' 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
26 |
27 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/process/Module.swift:39:12: warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> __gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
37 | public var pid : Int { return Int(getpid()) }
38 |
39 | public let getegid = xsys.getegid
| |- warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> __gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getegid' with '@MainActor' 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 | public let geteuid = xsys.geteuid
41 | public let getgid = xsys.getgid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/process/Module.swift:40:12: warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> __uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | public let getegid = xsys.getegid
40 | public let geteuid = xsys.geteuid
| |- warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> __uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'geteuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let getgid = xsys.getgid
42 | public let getuid = xsys.getuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/process/Module.swift:41:12: warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> __gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
39 | public let getegid = xsys.getegid
40 | public let geteuid = xsys.geteuid
41 | public let getgid = xsys.getgid
| |- warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> __gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getgid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public let getuid = xsys.getuid
43 | // TODO: getgroups, initgroups, setegid, seteuid, setgid, setgroups, setuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/process/Module.swift:42:12: warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> __uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
40 | public let geteuid = xsys.geteuid
41 | public let getgid = xsys.getgid
42 | public let getuid = xsys.getuid
| |- warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> __uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getuid' with '@MainActor' 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 | // TODO: getgroups, initgroups, setegid, seteuid, setgid, setgroups, setuid
44 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/process/Module.swift:48:12: warning: let 'abort' is not concurrency-safe because non-'Sendable' type '() -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
46 | // MARK: - Run Control
47 |
48 | public let abort = xsys.abort
| |- warning: let 'abort' is not concurrency-safe because non-'Sendable' type '() -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'abort' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |
<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 |
[195/204] Compiling json Stringify.swift
[196/204] Emitting module json
/host/spi-builder-workspace/Sources/json/JSONWritableStream.swift:113:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
111 | // MARK: - Need more JSONEncodable
112 |
113 | extension Array: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
114 |
115 | public func toJSON() -> JSON {
/host/spi-builder-workspace/Sources/json/JSONWritableStream.swift:128:1: warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
126 | }
127 |
128 | extension Dictionary: JSONEncodable { // hh
| |- warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
129 |
130 | public func toJSON() -> JSON {
/host/spi-builder-workspace/Sources/json/JsonFile.swift:102:12: warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import fs
11 |
12 | public class JsonFileModule : NozeModule {
| `- note: class 'JsonFileModule' does not conform to the 'Sendable' protocol
13 |
14 | public enum Error : SwiftError {
:
100 | }
101 |
102 | public let jsonfile = JsonFileModule()
| |- warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonfile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
/host/spi-builder-workspace/Sources/json/Module.swift:16:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeJSON' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // we cannot type-alias the extensions, which is why we need the full export
13 |
14 | public class NozeJSON : NozeModule {
| `- note: class 'NozeJSON' does not conform to the 'Sendable' protocol
15 | }
16 | public let module = NozeJSON()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'NozeJSON' 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
17 |
18 | public typealias JSON = Freddy.JSON
[198/204] Compiling json JSONWritableStream.swift
/host/spi-builder-workspace/Sources/json/JSONWritableStream.swift:113:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
111 | // MARK: - Need more JSONEncodable
112 |
113 | extension Array: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
114 |
115 | public func toJSON() -> JSON {
/host/spi-builder-workspace/Sources/json/JSONWritableStream.swift:128:1: warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
126 | }
127 |
128 | extension Dictionary: JSONEncodable { // hh
| |- warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
129 |
130 | public func toJSON() -> JSON {
[200/205] Compiling net DNS.swift
[201/205] 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/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.
[202/205] Compiling net Server.swift
/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.
[203/205] Emitting module net
/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/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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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> {
[204/205] 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/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/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 | }
[205/205] 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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> {
[207/216] Compiling console Module.swift
/host/spi-builder-workspace/Sources/console/Module.swift:16:12: warning: var 'module' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public var module = NozeConsole()
| |- warning: var 'module' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public var defaultConsole : ConsoleType =
/host/spi-builder-workspace/Sources/console/Module.swift:18:12: warning: var 'defaultConsole' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public var module = NozeConsole()
17 |
18 | public var defaultConsole : ConsoleType =
| |- warning: var 'defaultConsole' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(StdOutTarget(fd: Int32(xsys.STDOUT_FILENO)).writable(),
20 | StdOutTarget(fd: Int32(xsys.STDERR_FILENO)).writable())
[208/216] Compiling child_process StdioAction.swift
[209/216] Compiling child_process PipeSourceTarget.swift
[210/220] Compiling console Console.swift
[211/220] Emitting module console
/host/spi-builder-workspace/Sources/console/Module.swift:16:12: warning: var 'module' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public var module = NozeConsole()
| |- warning: var 'module' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public var defaultConsole : ConsoleType =
/host/spi-builder-workspace/Sources/console/Module.swift:18:12: warning: var 'defaultConsole' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public var module = NozeConsole()
17 |
18 | public var defaultConsole : ConsoleType =
| |- warning: var 'defaultConsole' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(StdOutTarget(fd: Int32(xsys.STDOUT_FILENO)).writable(),
20 | StdOutTarget(fd: Int32(xsys.STDERR_FILENO)).writable())
[212/220] Emitting module child_process
/host/spi-builder-workspace/Sources/child_process/ChildProcess.swift:23:5: warning: var 'activeChildProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // TODO: this is a nice enum
22 |
23 | var activeChildProcesses = Array<ChildProcess>()
| |- warning: var 'activeChildProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeChildProcesses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeChildProcesses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public class ChildProcess : ErrorEmitter {
/host/spi-builder-workspace/Sources/child_process/Module.swift:14:12: warning: var 'module' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public var module = NozeChildProcess()
| |- warning: var 'module' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |
[213/221] Compiling child_process ChildProcess.swift
/host/spi-builder-workspace/Sources/child_process/ChildProcess.swift:23:5: warning: var 'activeChildProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // TODO: this is a nice enum
22 |
23 | var activeChildProcesses = Array<ChildProcess>()
| |- warning: var 'activeChildProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeChildProcesses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'activeChildProcesses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public class ChildProcess : ErrorEmitter {
[214/221] Compiling child_process ChildProcessPipes.swift
[216/221] Compiling dgram Internals.swift
[217/221] Compiling child_process Module.swift
/host/spi-builder-workspace/Sources/child_process/Module.swift:14:12: warning: var 'module' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public var module = NozeChildProcess()
| |- warning: var 'module' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'module' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'module' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |
[218/221] Compiling child_process Spawn.swift
[220/222] 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/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.
[221/222] 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/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.
[222/222] Compiling dgram Socket.swift
/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.
[224/251] Compiling http HTTPStatus.swift
[225/251] Compiling http IncomingMessage.swift
[226/253] Compiling redis RedisRetry.swift
[227/253] Compiling redis RedisValue.swift
[228/254] Compiling http HTTPConnection.swift
[229/254] Compiling http HTTPMessageWrapper.swift
[230/254] Compiling redis RedisPrint.swift
[231/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 |
[232/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 |
[233/254] Compiling redis RedisWritableStream.swift
[234/254] Compiling http IncomingMessageParser.swift
[235/254] Compiling http Misc.swift
[236/254] 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 |
[237/254] 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 |
[238/254] Compiling http Cookies.swift
[239/254] Compiling http Extensions.swift
[240/254] Compiling http Agent.swift
[241/254] Compiling http BasicAuth.swift
[242/254] Emitting module redis
/host/spi-builder-workspace/Sources/redis/Module.swift:15:12: warning: var 'module' is not concurrency-safe because it is nonisolated 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 nonisolated 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/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.
[245/254] Compiling http ClientRequest.swift
[246/254] Emitting module http
/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 |
/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/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/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 nonisolated 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 nonisolated 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/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 nonisolated 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 nonisolated 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/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.
[253/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 |
[254/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 Connect.swift
[258/268] Compiling connect CookieParser.swift
[259/268] Compiling connect BodyParser.swift
/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 |
[260/268] Compiling connect CORS.swift
/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 |
[261/268] 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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
[262/268] Compiling connect ServeStatic.swift
[263/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 nonisolated 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 nonisolated 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
[264/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 nonisolated 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 nonisolated 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
[265/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 nonisolated 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 nonisolated 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
[266/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 nonisolated 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 nonisolated 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/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 |
[267/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 nonisolated 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 nonisolated 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/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 |
[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 ServerResponse.swift
[272/283] Compiling express Router.swift
[273/283] Compiling express RouteKeeper.swift
[274/283] Compiling express Settings.swift
[275/283] Compiling express JSON.swift
[276/283] Compiling express MiddlewareObject.swift
[277/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 nonisolated 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 nonisolated 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 {
[278/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 nonisolated 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 nonisolated 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 {
[279/283] Emitting module express
/host/spi-builder-workspace/Sources/express/Module.swift:15:12: warning: var 'module' is not concurrency-safe because it is nonisolated 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 nonisolated 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 {
[280/283] Compiling express Render.swift
[281/283] Compiling express Route.swift
[282/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 {
[283/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 {
Build complete! (44.06s)
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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.