Build Information
Successful build of Kitura-net, reference master (645f09
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 21:21:00 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-net.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/Kitura-net
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 645f09e Update package dependencies (#323)
Cloned https://github.com/Kitura/Kitura-net.git
Revision (git rev-parse @):
645f09e6c6ca7f399a9625e25686e8152e21bee4
SUCCESS checkout https://github.com/Kitura/Kitura-net.git at master
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueSocket.git
[8/771] Fetching loggerapi
[71/2859] Fetching loggerapi, bluesslservice
[464/5801] Fetching loggerapi, bluesslservice, bluesocket
Fetched https://github.com/Kitura/BlueSSLService.git from cache (1.15s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (1.15s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.15s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.67s)
Fetching https://github.com/apple/swift-log.git
[1/3660] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.06s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.66s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.50s)
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "kitura-net",
"name": "Kitura-net",
"url": "https://github.com/Kitura/Kitura-net.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kitura-net",
"dependencies": [
{
"identity": "loggerapi",
"name": "LoggerAPI",
"url": "https://github.com/Kitura/LoggerAPI.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
},
{
"identity": "bluesocket",
"name": "Socket",
"url": "https://github.com/Kitura/BlueSocket.git",
"version": "2.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSocket",
"dependencies": [
]
},
{
"identity": "bluesslservice",
"name": "SSLService",
"url": "https://github.com/Kitura/BlueSSLService.git",
"version": "2.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSSLService",
"dependencies": [
{
"identity": "bluesocket",
"name": "Socket",
"url": "https://github.com/Kitura/BlueSocket.git",
"version": "2.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSocket",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/Kitura/Kitura-net.git
[1/9544] Fetching kitura-net
Fetched https://github.com/Kitura/Kitura-net.git from cache (1.52s)
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetching https://github.com/Kitura/BlueSocket.git from cache
Fetching https://github.com/Kitura/BlueSSLService.git from cache
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.62s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.62s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.62s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.03s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.03s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.03s)
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/Kitura/Kitura-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at master (645f09e)
warning: '.resolve-product-dependencies': dependency 'kitura-net' is not used by any target
Found 3 product dependencies
- LoggerAPI
- Socket
- SSLService
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Kitura/Kitura-net.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/8] Write sources
[5/8] Write swift-version--7754E27361AE5C74.txt
[6/19] Compiling CHTTPParser utils.c
[7/19] Compiling CHTTPParser http_parser.c
[9/19] Compiling Logging MetadataProvider.swift
[10/19] Compiling Logging LogHandler.swift
[11/19] Compiling Logging Logging.swift
[12/19] Emitting module Logging
[13/19] Compiling Logging Locks.swift
[14/21] Compiling LoggerAPI Logger.swift
[15/21] Emitting module LoggerAPI
[16/21] Compiling Socket SocketUtils.swift
[17/21] Compiling Socket Socket+Equatable.swift
[18/21] Emitting module Socket
[19/21] Compiling Socket Socket+Hashable.swift
[20/21] Compiling Socket Socket.swift
[21/21] Compiling Socket SocketProtocols.swift
[22/24] Compiling SSLService SSLPointerTricks.swift
[23/24] Compiling SSLService SSLService.swift
[24/24] Emitting module SSLService
[25/59] Compiling KituraNet ServerLifecycleListener.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[26/59] Compiling KituraNet ServerMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[27/59] Compiling KituraNet ServerState.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[28/62] Compiling KituraNet SPIUtils.swift
[29/62] Compiling KituraNet Server.swift
[30/62] Compiling KituraNet ServerDelegate.swift
[31/62] Compiling KituraNet ServerOptions.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
[32/62] Compiling KituraNet ServerRequest.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
[33/62] Compiling KituraNet ServerResponse.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
[34/62] Compiling KituraNet IncomingHTTPSocketProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' 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 | /// Determine if any upgraders have been registered
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:37: warning: capture of 'self' with non-sendable type 'IncomingHTTPSocketProcessor?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | ````
38 | */
39 | public class IncomingHTTPSocketProcessor: IncomingSocketProcessor {
| `- note: class 'IncomingHTTPSocketProcessor' does not conform to the 'Sendable' protocol
40 |
41 | /**
:
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: capture of 'self' with non-sendable type 'IncomingHTTPSocketProcessor?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:63: warning: capture of 'weakRequest' with non-sendable type 'HTTPServerRequest?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: capture of 'weakRequest' with non-sendable type 'HTTPServerRequest?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerRequest.swift:44:14: note: class 'HTTPServerRequest' does not conform to the 'Sendable' protocol
42 | ````
43 | */
44 | public class HTTPServerRequest: ServerRequest {
| `- note: class 'HTTPServerRequest' does not conform to the 'Sendable' protocol
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:357:81: warning: capture of 'response' with non-sendable type 'HTTPServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
357 | Monitor.delegate?.started(request: strongRequest, response: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
359 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:44:14: note: class 'HTTPServerResponse' does not conform to the 'Sendable' protocol
42 | ````
43 | */
44 | public class HTTPServerResponse : ServerResponse {
| `- note: class 'HTTPServerResponse' does not conform to the 'Sendable' protocol
45 |
46 | /// Size of buffer
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:63: warning: reference to captured var 'weakRequest' in concurrently-executing code; this is an error in the Swift 6 language mode
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: reference to captured var 'weakRequest' in concurrently-executing code; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[35/62] Compiling KituraNet KeepAliveState.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' 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 | /// Determine if any upgraders have been registered
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:37: warning: capture of 'self' with non-sendable type 'IncomingHTTPSocketProcessor?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | ````
38 | */
39 | public class IncomingHTTPSocketProcessor: IncomingSocketProcessor {
| `- note: class 'IncomingHTTPSocketProcessor' does not conform to the 'Sendable' protocol
40 |
41 | /**
:
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: capture of 'self' with non-sendable type 'IncomingHTTPSocketProcessor?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:63: warning: capture of 'weakRequest' with non-sendable type 'HTTPServerRequest?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: capture of 'weakRequest' with non-sendable type 'HTTPServerRequest?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerRequest.swift:44:14: note: class 'HTTPServerRequest' does not conform to the 'Sendable' protocol
42 | ````
43 | */
44 | public class HTTPServerRequest: ServerRequest {
| `- note: class 'HTTPServerRequest' does not conform to the 'Sendable' protocol
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:357:81: warning: capture of 'response' with non-sendable type 'HTTPServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
357 | Monitor.delegate?.started(request: strongRequest, response: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
359 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:44:14: note: class 'HTTPServerResponse' does not conform to the 'Sendable' protocol
42 | ````
43 | */
44 | public class HTTPServerResponse : ServerResponse {
| `- note: class 'HTTPServerResponse' does not conform to the 'Sendable' protocol
45 |
46 | /// Size of buffer
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:63: warning: reference to captured var 'weakRequest' in concurrently-executing code; this is an error in the Swift 6 language mode
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: reference to captured var 'weakRequest' in concurrently-executing code; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[36/62] Compiling KituraNet HTTPParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' 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 | /// Determine if any upgraders have been registered
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:37: warning: capture of 'self' with non-sendable type 'IncomingHTTPSocketProcessor?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | ````
38 | */
39 | public class IncomingHTTPSocketProcessor: IncomingSocketProcessor {
| `- note: class 'IncomingHTTPSocketProcessor' does not conform to the 'Sendable' protocol
40 |
41 | /**
:
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: capture of 'self' with non-sendable type 'IncomingHTTPSocketProcessor?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:63: warning: capture of 'weakRequest' with non-sendable type 'HTTPServerRequest?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: capture of 'weakRequest' with non-sendable type 'HTTPServerRequest?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerRequest.swift:44:14: note: class 'HTTPServerRequest' does not conform to the 'Sendable' protocol
42 | ````
43 | */
44 | public class HTTPServerRequest: ServerRequest {
| `- note: class 'HTTPServerRequest' does not conform to the 'Sendable' protocol
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:357:81: warning: capture of 'response' with non-sendable type 'HTTPServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
357 | Monitor.delegate?.started(request: strongRequest, response: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
359 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:44:14: note: class 'HTTPServerResponse' does not conform to the 'Sendable' protocol
42 | ````
43 | */
44 | public class HTTPServerResponse : ServerResponse {
| `- note: class 'HTTPServerResponse' does not conform to the 'Sendable' protocol
45 |
46 | /// Size of buffer
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:63: warning: reference to captured var 'weakRequest' in concurrently-executing code; this is an error in the Swift 6 language mode
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: reference to captured var 'weakRequest' in concurrently-executing code; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[37/62] Compiling KituraNet HTTPParserStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' 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 | /// Determine if any upgraders have been registered
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:37: warning: capture of 'self' with non-sendable type 'IncomingHTTPSocketProcessor?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | ````
38 | */
39 | public class IncomingHTTPSocketProcessor: IncomingSocketProcessor {
| `- note: class 'IncomingHTTPSocketProcessor' does not conform to the 'Sendable' protocol
40 |
41 | /**
:
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: capture of 'self' with non-sendable type 'IncomingHTTPSocketProcessor?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:63: warning: capture of 'weakRequest' with non-sendable type 'HTTPServerRequest?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: capture of 'weakRequest' with non-sendable type 'HTTPServerRequest?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerRequest.swift:44:14: note: class 'HTTPServerRequest' does not conform to the 'Sendable' protocol
42 | ````
43 | */
44 | public class HTTPServerRequest: ServerRequest {
| `- note: class 'HTTPServerRequest' does not conform to the 'Sendable' protocol
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:357:81: warning: capture of 'response' with non-sendable type 'HTTPServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
357 | Monitor.delegate?.started(request: strongRequest, response: response)
| `- warning: capture of 'response' with non-sendable type 'HTTPServerResponse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
359 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:44:14: note: class 'HTTPServerResponse' does not conform to the 'Sendable' protocol
42 | ````
43 | */
44 | public class HTTPServerResponse : ServerResponse {
| `- note: class 'HTTPServerResponse' does not conform to the 'Sendable' protocol
45 |
46 | /// Size of buffer
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/IncomingHTTPSocketProcessor.swift:356:63: warning: reference to captured var 'weakRequest' in concurrently-executing code; this is an error in the Swift 6 language mode
354 | weak var weakRequest = request
355 | DispatchQueue.global().async() { [weak self] in
356 | if let strongSelf = self, let strongRequest = weakRequest {
| `- warning: reference to captured var 'weakRequest' in concurrently-executing code; this is an error in the Swift 6 language mode
357 | Monitor.delegate?.started(request: strongRequest, response: response)
358 | strongSelf.delegate?.handle(request: strongRequest, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[38/62] Emitting module KituraNet
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' 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 | /// Determine if any upgraders have been registered
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:131:24: warning: static property 'dummyServerDelegate' is not concurrency-safe because non-'Sendable' type 'HTTPServer.HTTPDummyServerDelegate' may have shared mutable state; this is an error in the Swift 6 language mode
129 | fileprivate let lifecycleListener = ServerLifecycleListener()
130 |
131 | private static let dummyServerDelegate = HTTPDummyServerDelegate()
| |- warning: static property 'dummyServerDelegate' is not concurrency-safe because non-'Sendable' type 'HTTPServer.HTTPDummyServerDelegate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyServerDelegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | private static var incomingSocketProcessorCreatorRegistry = Dictionary<String, IncomingSocketProcessorCreator>()
:
567 | /// at least one ConnectionUpgradeFactory. This `ServerDelegate` will simply return 404 for
568 | /// any requests it is asked to process.
569 | private class HTTPDummyServerDelegate: ServerDelegate {
| `- note: class 'HTTPDummyServerDelegate' does not conform to the 'Sendable' protocol
570 | /// Handle new incoming requests to the server
571 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:133:24: warning: static property 'incomingSocketProcessorCreatorRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 | private static let dummyServerDelegate = HTTPDummyServerDelegate()
132 |
133 | private static var incomingSocketProcessorCreatorRegistry = Dictionary<String, IncomingSocketProcessorCreator>()
| |- warning: static property 'incomingSocketProcessorCreatorRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingSocketProcessorCreatorRegistry' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingSocketProcessorCreatorRegistry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | // Initialize the one time initialization struct to cause one time initializations to occur
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[39/62] Compiling KituraNet IncomingSocketManager.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
[40/62] Compiling KituraNet IncomingSocketProcessor.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
[41/62] Compiling KituraNet IncomingSocketProcessorCreator.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
[42/62] Compiling KituraNet ListenerGroup.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
[43/62] Compiling KituraNet ParseResults.swift
[44/62] Compiling KituraNet URLParser.swift
[45/62] Compiling KituraNet HeadersContainer.swift
[46/62] Compiling KituraNet IncomingSocketHandler.swift
[47/62] Compiling KituraNet BufferList.swift
[48/62] Compiling KituraNet ClientRequest.swift
[49/62] Compiling KituraNet ClientResponse.swift
[50/62] Compiling KituraNet ConnectionUpgradeFactory.swift
[51/62] Compiling KituraNet ConnectionUpgrader.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' 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 | /// Determine if any upgraders have been registered
[52/62] Compiling KituraNet Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' 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 | /// Determine if any upgraders have been registered
[53/62] Compiling KituraNet FastCGI.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' 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 | /// Determine if any upgraders have been registered
[54/62] Compiling KituraNet FastCGIRecordCreate.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' 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 | /// Determine if any upgraders have been registered
[55/62] Compiling KituraNet HTTP.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:131:24: warning: static property 'dummyServerDelegate' is not concurrency-safe because non-'Sendable' type 'HTTPServer.HTTPDummyServerDelegate' may have shared mutable state; this is an error in the Swift 6 language mode
129 | fileprivate let lifecycleListener = ServerLifecycleListener()
130 |
131 | private static let dummyServerDelegate = HTTPDummyServerDelegate()
| |- warning: static property 'dummyServerDelegate' is not concurrency-safe because non-'Sendable' type 'HTTPServer.HTTPDummyServerDelegate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyServerDelegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | private static var incomingSocketProcessorCreatorRegistry = Dictionary<String, IncomingSocketProcessorCreator>()
:
567 | /// at least one ConnectionUpgradeFactory. This `ServerDelegate` will simply return 404 for
568 | /// any requests it is asked to process.
569 | private class HTTPDummyServerDelegate: ServerDelegate {
| `- note: class 'HTTPDummyServerDelegate' does not conform to the 'Sendable' protocol
570 | /// Handle new incoming requests to the server
571 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:133:24: warning: static property 'incomingSocketProcessorCreatorRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 | private static let dummyServerDelegate = HTTPDummyServerDelegate()
132 |
133 | private static var incomingSocketProcessorCreatorRegistry = Dictionary<String, IncomingSocketProcessorCreator>()
| |- warning: static property 'incomingSocketProcessorCreatorRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingSocketProcessorCreatorRegistry' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingSocketProcessorCreatorRegistry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | // Initialize the one time initialization struct to cause one time initializations to occur
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:380:48: warning: capture of 'self' with non-sendable type 'HTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | ````
40 | */
41 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
42 |
43 | public typealias ServerType = HTTPServer
:
378 | if listenSocket.delegate != nil {
379 | DispatchQueue.global().async { [weak self] in
380 | guard let strongSelf = self else {
| `- warning: capture of 'self' with non-sendable type 'HTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
381 | Log.info("Cannot initialize client connection from \(clientSource), server has been deallocated")
382 | return
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:385:85: warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
383 | }
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
387 | } catch let error {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
18 |
19 | import LoggerAPI
20 | import Socket
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
21 | import SSLService
22 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:385:113: warning: capture of 'listenSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
383 | }
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
| `- warning: capture of 'listenSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
387 | } catch let error {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:386:106: warning: capture of 'socketManager' with non-sendable type 'IncomingSocketManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
| `- warning: capture of 'socketManager' with non-sendable type 'IncomingSocketManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
387 | } catch let error {
388 | if strongSelf.state == .stopped {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/IncomingSocketManager.swift:50:14: note: class 'IncomingSocketManager' does not conform to the 'Sendable' protocol
48 | ````
49 | */
50 | public class IncomingSocketManager {
| `- note: class 'IncomingSocketManager' does not conform to the 'Sendable' protocol
51 |
52 | /// A mapping from socket file descriptor to IncomingSocketHandler
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[56/62] Compiling KituraNet HTTPServer.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:131:24: warning: static property 'dummyServerDelegate' is not concurrency-safe because non-'Sendable' type 'HTTPServer.HTTPDummyServerDelegate' may have shared mutable state; this is an error in the Swift 6 language mode
129 | fileprivate let lifecycleListener = ServerLifecycleListener()
130 |
131 | private static let dummyServerDelegate = HTTPDummyServerDelegate()
| |- warning: static property 'dummyServerDelegate' is not concurrency-safe because non-'Sendable' type 'HTTPServer.HTTPDummyServerDelegate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyServerDelegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | private static var incomingSocketProcessorCreatorRegistry = Dictionary<String, IncomingSocketProcessorCreator>()
:
567 | /// at least one ConnectionUpgradeFactory. This `ServerDelegate` will simply return 404 for
568 | /// any requests it is asked to process.
569 | private class HTTPDummyServerDelegate: ServerDelegate {
| `- note: class 'HTTPDummyServerDelegate' does not conform to the 'Sendable' protocol
570 | /// Handle new incoming requests to the server
571 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:133:24: warning: static property 'incomingSocketProcessorCreatorRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 | private static let dummyServerDelegate = HTTPDummyServerDelegate()
132 |
133 | private static var incomingSocketProcessorCreatorRegistry = Dictionary<String, IncomingSocketProcessorCreator>()
| |- warning: static property 'incomingSocketProcessorCreatorRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingSocketProcessorCreatorRegistry' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingSocketProcessorCreatorRegistry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | // Initialize the one time initialization struct to cause one time initializations to occur
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:380:48: warning: capture of 'self' with non-sendable type 'HTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | ````
40 | */
41 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
42 |
43 | public typealias ServerType = HTTPServer
:
378 | if listenSocket.delegate != nil {
379 | DispatchQueue.global().async { [weak self] in
380 | guard let strongSelf = self else {
| `- warning: capture of 'self' with non-sendable type 'HTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
381 | Log.info("Cannot initialize client connection from \(clientSource), server has been deallocated")
382 | return
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:385:85: warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
383 | }
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
387 | } catch let error {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
18 |
19 | import LoggerAPI
20 | import Socket
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
21 | import SSLService
22 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:385:113: warning: capture of 'listenSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
383 | }
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
| `- warning: capture of 'listenSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
387 | } catch let error {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:386:106: warning: capture of 'socketManager' with non-sendable type 'IncomingSocketManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
| `- warning: capture of 'socketManager' with non-sendable type 'IncomingSocketManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
387 | } catch let error {
388 | if strongSelf.state == .stopped {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/IncomingSocketManager.swift:50:14: note: class 'IncomingSocketManager' does not conform to the 'Sendable' protocol
48 | ````
49 | */
50 | public class IncomingSocketManager {
| `- note: class 'IncomingSocketManager' does not conform to the 'Sendable' protocol
51 |
52 | /// A mapping from socket file descriptor to IncomingSocketHandler
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[57/62] Compiling KituraNet HTTPServerRequest.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:131:24: warning: static property 'dummyServerDelegate' is not concurrency-safe because non-'Sendable' type 'HTTPServer.HTTPDummyServerDelegate' may have shared mutable state; this is an error in the Swift 6 language mode
129 | fileprivate let lifecycleListener = ServerLifecycleListener()
130 |
131 | private static let dummyServerDelegate = HTTPDummyServerDelegate()
| |- warning: static property 'dummyServerDelegate' is not concurrency-safe because non-'Sendable' type 'HTTPServer.HTTPDummyServerDelegate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyServerDelegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | private static var incomingSocketProcessorCreatorRegistry = Dictionary<String, IncomingSocketProcessorCreator>()
:
567 | /// at least one ConnectionUpgradeFactory. This `ServerDelegate` will simply return 404 for
568 | /// any requests it is asked to process.
569 | private class HTTPDummyServerDelegate: ServerDelegate {
| `- note: class 'HTTPDummyServerDelegate' does not conform to the 'Sendable' protocol
570 | /// Handle new incoming requests to the server
571 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:133:24: warning: static property 'incomingSocketProcessorCreatorRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 | private static let dummyServerDelegate = HTTPDummyServerDelegate()
132 |
133 | private static var incomingSocketProcessorCreatorRegistry = Dictionary<String, IncomingSocketProcessorCreator>()
| |- warning: static property 'incomingSocketProcessorCreatorRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingSocketProcessorCreatorRegistry' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingSocketProcessorCreatorRegistry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | // Initialize the one time initialization struct to cause one time initializations to occur
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:380:48: warning: capture of 'self' with non-sendable type 'HTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | ````
40 | */
41 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
42 |
43 | public typealias ServerType = HTTPServer
:
378 | if listenSocket.delegate != nil {
379 | DispatchQueue.global().async { [weak self] in
380 | guard let strongSelf = self else {
| `- warning: capture of 'self' with non-sendable type 'HTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
381 | Log.info("Cannot initialize client connection from \(clientSource), server has been deallocated")
382 | return
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:385:85: warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
383 | }
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
387 | } catch let error {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
18 |
19 | import LoggerAPI
20 | import Socket
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
21 | import SSLService
22 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:385:113: warning: capture of 'listenSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
383 | }
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
| `- warning: capture of 'listenSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
387 | } catch let error {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:386:106: warning: capture of 'socketManager' with non-sendable type 'IncomingSocketManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
| `- warning: capture of 'socketManager' with non-sendable type 'IncomingSocketManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
387 | } catch let error {
388 | if strongSelf.state == .stopped {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/IncomingSocketManager.swift:50:14: note: class 'IncomingSocketManager' does not conform to the 'Sendable' protocol
48 | ````
49 | */
50 | public class IncomingSocketManager {
| `- note: class 'IncomingSocketManager' does not conform to the 'Sendable' protocol
51 |
52 | /// A mapping from socket file descriptor to IncomingSocketHandler
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[58/62] Compiling KituraNet HTTPServerResponse.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:131:24: warning: static property 'dummyServerDelegate' is not concurrency-safe because non-'Sendable' type 'HTTPServer.HTTPDummyServerDelegate' may have shared mutable state; this is an error in the Swift 6 language mode
129 | fileprivate let lifecycleListener = ServerLifecycleListener()
130 |
131 | private static let dummyServerDelegate = HTTPDummyServerDelegate()
| |- warning: static property 'dummyServerDelegate' is not concurrency-safe because non-'Sendable' type 'HTTPServer.HTTPDummyServerDelegate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyServerDelegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | private static var incomingSocketProcessorCreatorRegistry = Dictionary<String, IncomingSocketProcessorCreator>()
:
567 | /// at least one ConnectionUpgradeFactory. This `ServerDelegate` will simply return 404 for
568 | /// any requests it is asked to process.
569 | private class HTTPDummyServerDelegate: ServerDelegate {
| `- note: class 'HTTPDummyServerDelegate' does not conform to the 'Sendable' protocol
570 | /// Handle new incoming requests to the server
571 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:133:24: warning: static property 'incomingSocketProcessorCreatorRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 | private static let dummyServerDelegate = HTTPDummyServerDelegate()
132 |
133 | private static var incomingSocketProcessorCreatorRegistry = Dictionary<String, IncomingSocketProcessorCreator>()
| |- warning: static property 'incomingSocketProcessorCreatorRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingSocketProcessorCreatorRegistry' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingSocketProcessorCreatorRegistry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | // Initialize the one time initialization struct to cause one time initializations to occur
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:380:48: warning: capture of 'self' with non-sendable type 'HTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | ````
40 | */
41 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
42 |
43 | public typealias ServerType = HTTPServer
:
378 | if listenSocket.delegate != nil {
379 | DispatchQueue.global().async { [weak self] in
380 | guard let strongSelf = self else {
| `- warning: capture of 'self' with non-sendable type 'HTTPServer?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
381 | Log.info("Cannot initialize client connection from \(clientSource), server has been deallocated")
382 | return
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:385:85: warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
383 | }
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
387 | } catch let error {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
18 |
19 | import LoggerAPI
20 | import Socket
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
21 | import SSLService
22 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:385:113: warning: capture of 'listenSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
383 | }
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
| `- warning: capture of 'listenSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
387 | } catch let error {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:386:106: warning: capture of 'socketManager' with non-sendable type 'IncomingSocketManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
384 | do {
385 | try strongSelf.initializeClientConnection(clientSocket: clientSocket, listenSocket: listenSocket)
386 | strongSelf.handleClientConnection(clientSocket: clientSocket, socketManager: socketManager)
| `- warning: capture of 'socketManager' with non-sendable type 'IncomingSocketManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
387 | } catch let error {
388 | if strongSelf.state == .stopped {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/IncomingSocketManager.swift:50:14: note: class 'IncomingSocketManager' does not conform to the 'Sendable' protocol
48 | ````
49 | */
50 | public class IncomingSocketManager {
| `- note: class 'IncomingSocketManager' does not conform to the 'Sendable' protocol
51 |
52 | /// A mapping from socket file descriptor to IncomingSocketHandler
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[59/62] Compiling KituraNet FastCGIRecordParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:260:56: warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
258 |
259 | DispatchQueue.global().async() {
260 | let request = FastCGIServerRequest(socket: clientSocket)
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
261 | let response = FastCGIServerResponse(socket: clientSocket, request: request)
262 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:19:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
17 | import Dispatch
18 |
19 | import Socket
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
20 | import LoggerAPI
21 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:266:21: warning: capture of 'self' with non-sendable type 'FastCGIServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | ````
34 | */
35 | public class FastCGIServer: Server {
| `- note: class 'FastCGIServer' does not conform to the 'Sendable' protocol
36 |
37 | public typealias ServerType = FastCGIServer
:
264 | switch status {
265 | case .success:
266 | self.sendMultiplexRequestRejections(request: request, response: response)
| `- warning: capture of 'self' with non-sendable type 'FastCGIServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
267 | Monitor.delegate?.started(request: request, response: response)
268 | (self.delegate ?? FastCGIDummyServerDelegate()).handle(request: request, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:266:21: warning: capture of 'self' with non-sendable type 'FastCGIServer' in an isolated closure; this is an error in the Swift 6 language mode
33 | ````
34 | */
35 | public class FastCGIServer: Server {
| `- note: class 'FastCGIServer' does not conform to the 'Sendable' protocol
36 |
37 | public typealias ServerType = FastCGIServer
:
264 | switch status {
265 | case .success:
266 | self.sendMultiplexRequestRejections(request: request, response: response)
| `- warning: capture of 'self' with non-sendable type 'FastCGIServer' in an isolated closure; this is an error in the Swift 6 language mode
267 | Monitor.delegate?.started(request: request, response: response)
268 | (self.delegate ?? FastCGIDummyServerDelegate()).handle(request: request, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:275:21: warning: capture of 'clientSocket' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
273 | try response.rejectUnsupportedRole()
274 | } catch {}
275 | clientSocket.close()
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
276 | break
277 | default:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[60/62] Compiling KituraNet FastCGIServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:260:56: warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
258 |
259 | DispatchQueue.global().async() {
260 | let request = FastCGIServerRequest(socket: clientSocket)
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
261 | let response = FastCGIServerResponse(socket: clientSocket, request: request)
262 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:19:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
17 | import Dispatch
18 |
19 | import Socket
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
20 | import LoggerAPI
21 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:266:21: warning: capture of 'self' with non-sendable type 'FastCGIServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | ````
34 | */
35 | public class FastCGIServer: Server {
| `- note: class 'FastCGIServer' does not conform to the 'Sendable' protocol
36 |
37 | public typealias ServerType = FastCGIServer
:
264 | switch status {
265 | case .success:
266 | self.sendMultiplexRequestRejections(request: request, response: response)
| `- warning: capture of 'self' with non-sendable type 'FastCGIServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
267 | Monitor.delegate?.started(request: request, response: response)
268 | (self.delegate ?? FastCGIDummyServerDelegate()).handle(request: request, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:266:21: warning: capture of 'self' with non-sendable type 'FastCGIServer' in an isolated closure; this is an error in the Swift 6 language mode
33 | ````
34 | */
35 | public class FastCGIServer: Server {
| `- note: class 'FastCGIServer' does not conform to the 'Sendable' protocol
36 |
37 | public typealias ServerType = FastCGIServer
:
264 | switch status {
265 | case .success:
266 | self.sendMultiplexRequestRejections(request: request, response: response)
| `- warning: capture of 'self' with non-sendable type 'FastCGIServer' in an isolated closure; this is an error in the Swift 6 language mode
267 | Monitor.delegate?.started(request: request, response: response)
268 | (self.delegate ?? FastCGIDummyServerDelegate()).handle(request: request, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:275:21: warning: capture of 'clientSocket' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
273 | try response.rejectUnsupportedRole()
274 | } catch {}
275 | clientSocket.close()
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
276 | break
277 | default:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[61/62] Compiling KituraNet FastCGIServerRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:260:56: warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
258 |
259 | DispatchQueue.global().async() {
260 | let request = FastCGIServerRequest(socket: clientSocket)
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
261 | let response = FastCGIServerResponse(socket: clientSocket, request: request)
262 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:19:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
17 | import Dispatch
18 |
19 | import Socket
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
20 | import LoggerAPI
21 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:266:21: warning: capture of 'self' with non-sendable type 'FastCGIServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | ````
34 | */
35 | public class FastCGIServer: Server {
| `- note: class 'FastCGIServer' does not conform to the 'Sendable' protocol
36 |
37 | public typealias ServerType = FastCGIServer
:
264 | switch status {
265 | case .success:
266 | self.sendMultiplexRequestRejections(request: request, response: response)
| `- warning: capture of 'self' with non-sendable type 'FastCGIServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
267 | Monitor.delegate?.started(request: request, response: response)
268 | (self.delegate ?? FastCGIDummyServerDelegate()).handle(request: request, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:266:21: warning: capture of 'self' with non-sendable type 'FastCGIServer' in an isolated closure; this is an error in the Swift 6 language mode
33 | ````
34 | */
35 | public class FastCGIServer: Server {
| `- note: class 'FastCGIServer' does not conform to the 'Sendable' protocol
36 |
37 | public typealias ServerType = FastCGIServer
:
264 | switch status {
265 | case .success:
266 | self.sendMultiplexRequestRejections(request: request, response: response)
| `- warning: capture of 'self' with non-sendable type 'FastCGIServer' in an isolated closure; this is an error in the Swift 6 language mode
267 | Monitor.delegate?.started(request: request, response: response)
268 | (self.delegate ?? FastCGIDummyServerDelegate()).handle(request: request, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:275:21: warning: capture of 'clientSocket' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
273 | try response.rejectUnsupportedRole()
274 | } catch {}
275 | clientSocket.close()
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
276 | break
277 | default:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[62/62] Compiling KituraNet FastCGIServerResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:260:56: warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
258 |
259 | DispatchQueue.global().async() {
260 | let request = FastCGIServerRequest(socket: clientSocket)
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
261 | let response = FastCGIServerResponse(socket: clientSocket, request: request)
262 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:19:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
17 | import Dispatch
18 |
19 | import Socket
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Socket'
20 | import LoggerAPI
21 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:266:21: warning: capture of 'self' with non-sendable type 'FastCGIServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | ````
34 | */
35 | public class FastCGIServer: Server {
| `- note: class 'FastCGIServer' does not conform to the 'Sendable' protocol
36 |
37 | public typealias ServerType = FastCGIServer
:
264 | switch status {
265 | case .success:
266 | self.sendMultiplexRequestRejections(request: request, response: response)
| `- warning: capture of 'self' with non-sendable type 'FastCGIServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
267 | Monitor.delegate?.started(request: request, response: response)
268 | (self.delegate ?? FastCGIDummyServerDelegate()).handle(request: request, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:266:21: warning: capture of 'self' with non-sendable type 'FastCGIServer' in an isolated closure; this is an error in the Swift 6 language mode
33 | ````
34 | */
35 | public class FastCGIServer: Server {
| `- note: class 'FastCGIServer' does not conform to the 'Sendable' protocol
36 |
37 | public typealias ServerType = FastCGIServer
:
264 | switch status {
265 | case .success:
266 | self.sendMultiplexRequestRejections(request: request, response: response)
| `- warning: capture of 'self' with non-sendable type 'FastCGIServer' in an isolated closure; this is an error in the Swift 6 language mode
267 | Monitor.delegate?.started(request: request, response: response)
268 | (self.delegate ?? FastCGIDummyServerDelegate()).handle(request: request, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/FastCGI/FastCGIServer.swift:275:21: warning: capture of 'clientSocket' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
273 | try response.rejectUnsupportedRole()
274 | } catch {}
275 | clientSocket.close()
| `- warning: capture of 'clientSocket' with non-sendable type 'Socket' in an isolated closure; this is an error in the Swift 6 language mode
276 | break
277 | default:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:34:14: note: class 'Socket' does not conform to the 'Sendable' protocol
32 | /// **Socket:** Low level BSD sockets wrapper.
33 | ///
34 | public class Socket: SocketReader, SocketWriter {
| `- note: class 'Socket' does not conform to the 'Sendable' protocol
35 |
36 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:37:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public struct Monitor {
36 | /// The reference to the server wide monitoring delegate.
37 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
Build complete! (15.28s)
Build complete.
{
"dependencies" : [
{
"identity" : "loggerapi",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/LoggerAPI.git"
},
{
"identity" : "bluesocket",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueSocket.git"
},
{
"identity" : "bluesslservice",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueSSLService.git"
}
],
"manifest_display_name" : "Kitura-net",
"name" : "Kitura-net",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "KituraNet",
"targets" : [
"KituraNet"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KituraNetTests",
"module_type" : "SwiftTarget",
"name" : "KituraNetTests",
"path" : "Tests/KituraNetTests",
"sources" : [
"BufferListTests.swift",
"ClientE2ETests.swift",
"ClientRequestTests.swift",
"FastCGIProtocolTests.swift",
"FastCGIRequestTests.swift",
"HTTPResponseTests.swift",
"HTTPStatusCodeTests.swift",
"KituraNetTest.swift",
"LargePayloadTests.swift",
"LifecycleListenerTests.swift",
"MiscellaneousTests.swift",
"MonitoringTests.swift",
"ParserTests.swift",
"PrintLogger.swift",
"RegressionTests.swift",
"SocketManagerTests.swift",
"TestIncomingSocketProcessor.swift",
"UnixSocketTests.swift",
"UpgradeTests.swift",
"VerifyLinuxTestCount.swift",
"types.swift"
],
"target_dependencies" : [
"KituraNet"
],
"type" : "test"
},
{
"c99name" : "KituraNet",
"module_type" : "SwiftTarget",
"name" : "KituraNet",
"path" : "Sources/KituraNet",
"product_dependencies" : [
"LoggerAPI",
"Socket",
"SSLService"
],
"product_memberships" : [
"KituraNet"
],
"sources" : [
"BufferList.swift",
"ClientRequest.swift",
"ClientResponse.swift",
"ConnectionUpgradeFactory.swift",
"ConnectionUpgrader.swift",
"Error.swift",
"FastCGI/FastCGI.swift",
"FastCGI/FastCGIRecordCreate.swift",
"FastCGI/FastCGIRecordParser.swift",
"FastCGI/FastCGIServer.swift",
"FastCGI/FastCGIServerRequest.swift",
"FastCGI/FastCGIServerResponse.swift",
"HTTP/HTTP.swift",
"HTTP/HTTPServer.swift",
"HTTP/HTTPServerRequest.swift",
"HTTP/HTTPServerResponse.swift",
"HTTP/IncomingHTTPSocketProcessor.swift",
"HTTP/KeepAliveState.swift",
"HTTPParser/HTTPParser.swift",
"HTTPParser/HTTPParserStatus.swift",
"HTTPParser/ParseResults.swift",
"HTTPParser/URLParser.swift",
"HeadersContainer.swift",
"IncomingSocketHandler.swift",
"IncomingSocketManager.swift",
"IncomingSocketProcessor.swift",
"IncomingSocketProcessorCreator.swift",
"ListenerGroup.swift",
"SPIUtils.swift",
"Server/Server.swift",
"Server/ServerDelegate.swift",
"Server/ServerLifecycleListener.swift",
"Server/ServerMonitor.swift",
"Server/ServerState.swift",
"ServerOptions.swift",
"ServerRequest.swift",
"ServerResponse.swift"
],
"target_dependencies" : [
"CHTTPParser",
"CCurl"
],
"type" : "library"
},
{
"c99name" : "CHTTPParser",
"module_type" : "ClangTarget",
"name" : "CHTTPParser",
"path" : "Sources/CHTTPParser",
"product_memberships" : [
"KituraNet"
],
"sources" : [
"http_parser.c",
"utils.c"
],
"type" : "library"
},
{
"c99name" : "CCurl",
"module_type" : "SystemLibraryTarget",
"name" : "CCurl",
"path" : "Sources/CCurl",
"product_memberships" : [
"KituraNet"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.0"
}
Done.