Build Information
Successful build of ExExpress with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 12
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/modswift/ExExpress.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/modswift/ExExpress
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 21931f4 Avoid duplicate public declaration
Cloned https://github.com/modswift/ExExpress.git
Revision (git rev-parse @):
21931f4c669811ad890d73c20d967898d073f2d4
SUCCESS checkout https://github.com/modswift/ExExpress.git at develop
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/modswift/ExExpress.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/22] Compiling mustache MustacheRenderingContext.swift
[6/22] Compiling mustache MustacheNode.swift
[7/22] Compiling mustache SimpleKVC.swift
[8/22] Compiling mustache Mustacheable.swift
[9/22] Compiling mustache MustacheParser.swift
[10/22] Emitting module mustache
[11/22] Compiling mustache HTMLEscape.swift
[12/22] Compiling mustache Helpers.swift
[13/22] Compiling Freddy JSONSerializing.swift
[14/22] Compiling Freddy JSONParser.swift
[15/22] Compiling Freddy JSONParsing.swift
[16/23] Compiling Freddy JSONLiteralConvertible.swift
[17/23] Compiling Freddy JSONDecodable.swift
[18/23] Compiling Freddy JSONEncodingDetector.swift
[19/23] Compiling Freddy JSONEncodable.swift
[20/23] Compiling Freddy JSON.swift
[21/23] Emitting module Freddy
[22/23] Compiling Freddy JSONOptional.swift
[23/23] Compiling Freddy JSONSubscripting.swift
[24/69] Compiling ExExpress ExpressJSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Render.swift:12:8: warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | case NoApplicationActive
11 | case UnsupportedViewEngine(String)
12 | case TemplateError(Any)
| `- warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | }
14 |
[25/69] Compiling ExExpress ExpressMustache.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Render.swift:12:8: warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | case NoApplicationActive
11 | case UnsupportedViewEngine(String)
12 | case TemplateError(Any)
| `- warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | }
14 |
[26/69] Compiling ExExpress ExpressServerResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Render.swift:12:8: warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | case NoApplicationActive
11 | case UnsupportedViewEngine(String)
12 | case TemplateError(Any)
| `- warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | }
14 |
[27/69] Compiling ExExpress MiddlewareObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Render.swift:12:8: warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | case NoApplicationActive
11 | case UnsupportedViewEngine(String)
12 | case TemplateError(Any)
| `- warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | }
14 |
[28/69] Compiling ExExpress Render.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Render.swift:12:8: warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | case NoApplicationActive
11 | case UnsupportedViewEngine(String)
12 | case TemplateError(Any)
| `- warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | }
14 |
[29/74] Compiling ExExpress express_module.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:14:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
12 | #else
13 | import Darwin
14 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xstat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | #endif
16 |
[30/74] Compiling ExExpress fs_module.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:14:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
12 | #else
13 | import Darwin
14 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xstat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | #endif
16 |
[31/74] Compiling ExExpress Cookies.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:14:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
12 | #else
13 | import Darwin
14 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xstat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | #endif
16 |
[32/74] Compiling ExExpress HttpMessageBaseType.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:14:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
12 | #else
13 | import Darwin
14 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xstat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | #endif
16 |
[33/74] Compiling ExExpress HttpMisc.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:14:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
12 | #else
13 | import Darwin
14 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xstat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | #endif
16 |
[34/74] Compiling ExExpress BodyParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Logger.swift:161:14: warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | static var urlPadLen = 28
| |- warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'urlPadLen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'urlPadLen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | var paddedURL : String {
163 | let url = req.url
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:38:23: warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static let isRunningInXCode = false
37 | #else
38 | public static var isRunningInXCode : Bool = {
| |- warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | // TBD: is there a better way?
40 | let s = getenv("XPC_SERVICE_NAME")
[35/74] Compiling ExExpress CORS.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Logger.swift:161:14: warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | static var urlPadLen = 28
| |- warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'urlPadLen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'urlPadLen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | var paddedURL : String {
163 | let url = req.url
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:38:23: warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static let isRunningInXCode = false
37 | #else
38 | public static var isRunningInXCode : Bool = {
| |- warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | // TBD: is there a better way?
40 | let s = getenv("XPC_SERVICE_NAME")
[36/74] Compiling ExExpress Connect.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Logger.swift:161:14: warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | static var urlPadLen = 28
| |- warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'urlPadLen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'urlPadLen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | var paddedURL : String {
163 | let url = req.url
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:38:23: warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static let isRunningInXCode = false
37 | #else
38 | public static var isRunningInXCode : Bool = {
| |- warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | // TBD: is there a better way?
40 | let s = getenv("XPC_SERVICE_NAME")
[37/74] Compiling ExExpress CookieParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Logger.swift:161:14: warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | static var urlPadLen = 28
| |- warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'urlPadLen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'urlPadLen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | var paddedURL : String {
163 | let url = req.url
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:38:23: warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static let isRunningInXCode = false
37 | #else
38 | public static var isRunningInXCode : Bool = {
| |- warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | // TBD: is there a better way?
40 | let s = getenv("XPC_SERVICE_NAME")
[38/74] Compiling ExExpress Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Logger.swift:161:14: warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | static var urlPadLen = 28
| |- warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'urlPadLen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'urlPadLen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | var paddedURL : String {
163 | let url = req.url
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:38:23: warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static let isRunningInXCode = false
37 | #else
38 | public static var isRunningInXCode : Bool = {
| |- warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | // TBD: is there a better way?
40 | let s = getenv("XPC_SERVICE_NAME")
[39/74] Emitting module ExExpress
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Logger.swift:161:14: warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | static var urlPadLen = 28
| |- warning: static property 'urlPadLen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'urlPadLen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'urlPadLen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | var paddedURL : String {
163 | let url = req.url
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/QS.swift:25:21: warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class EmptyArraySlot {}
25 | public static let sparseArrayDefaultValue : Any = EmptyArraySlot()
| |- warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sparseArrayDefaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static func parse(_ string : String,
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:9:17: warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
| |- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sessionIdCookie' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/http/Cookies.swift:103:15: note: consider making struct 'Cookie' conform to the 'Sendable' protocol
101 | // MARK: - Internals
102 |
103 | public struct Cookie {
| `- note: consider making struct 'Cookie' conform to the 'Sendable' protocol
104 | public let name : String
105 | public var value : String
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:11:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
10 |
11 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionIdCounter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Render.swift:12:8: warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | case NoApplicationActive
11 | case UnsupportedViewEngine(String)
12 | case TemplateError(Any)
| `- warning: associated value 'TemplateError' of 'Sendable'-conforming enum 'ExpressRenderingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Route.swift:444:7: warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
441 | }
442 |
443 | struct ValueError<T> : Swift.Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
444 | let value : T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
445 | }
446 | enum AsyncMiddlewareError : Swift.Error {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:14:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
12 | #else
13 | import Darwin
14 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xstat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | #endif
16 |
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:118:17: warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
116 | // MARK: - Need more JSONEncodable
117 |
118 | fileprivate var didWarn = false
| |- warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'didWarn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'didWarn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | func otherValueToJSON(_ v: Any) -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:132:1: warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
130 | }
131 |
132 | extension Int8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
133 | public func toJSON() -> JSON {
134 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:137:1: warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
135 | }
136 | }
137 | extension Int16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
138 | public func toJSON() -> JSON {
139 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:142:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
140 | }
141 | }
142 | extension Int32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
143 | public func toJSON() -> JSON {
144 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:147:1: warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
145 | }
146 | }
147 | extension Int64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
148 | public func toJSON() -> JSON {
149 | // TBD: this could break on 32 bitz?
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:158:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
156 | }
157 |
158 | extension UInt8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
159 | public func toJSON() -> JSON {
160 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:163:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
161 | }
162 | }
163 | extension UInt16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
164 | public func toJSON() -> JSON {
165 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:168:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | }
167 | }
168 | extension UInt32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public func toJSON() -> JSON {
170 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:173:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
171 | }
172 | }
173 | extension UInt64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
174 | public func toJSON() -> JSON {
175 | // CAREFUL: This can overflow (not sure why JSONEncodable does not
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:206:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
204 |
205 | }
206 | extension Optional: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
207 |
208 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:217:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
215 | }
216 |
217 | extension Array: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
218 |
219 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:225:1: warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
223 | }
224 |
225 | extension Dictionary: JSONEncodable { // hh
| |- warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 |
227 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JsonFile.swift:69:12: warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import struct Foundation.Data
10 |
11 | public class JsonFileModule {
| `- note: class 'JsonFileModule' does not conform to the 'Sendable' protocol
12 |
13 | public enum Error : Swift.Error {
:
67 | }
68 |
69 | public let jsonfile = JsonFileModule()
| |- warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonfile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:21:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
19 | import func Darwin.getenv
20 | import func Darwin.strstr
21 | fileprivate let xchdir = Darwin.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xchdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | #endif
23 | import class Foundation.ProcessInfo
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:38:23: warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static let isRunningInXCode = false
37 | #else
38 | public static var isRunningInXCode : Bool = {
| |- warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | // TBD: is there a better way?
40 | let s = getenv("XPC_SERVICE_NAME")
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:85:1: warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
83 | }
84 |
85 | extension timespec: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:96:1: warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
94 | }
95 |
96 | extension timeval: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
[40/74] Compiling ExExpress MethodOverride.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/QS.swift:25:21: warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class EmptyArraySlot {}
25 | public static let sparseArrayDefaultValue : Any = EmptyArraySlot()
| |- warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sparseArrayDefaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static func parse(_ string : String,
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:9:17: warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
| |- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sessionIdCookie' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/http/Cookies.swift:103:15: note: consider making struct 'Cookie' conform to the 'Sendable' protocol
101 | // MARK: - Internals
102 |
103 | public struct Cookie {
| `- note: consider making struct 'Cookie' conform to the 'Sendable' protocol
104 | public let name : String
105 | public var value : String
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:11:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
10 |
11 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionIdCounter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
[41/74] Compiling ExExpress Pause.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/QS.swift:25:21: warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class EmptyArraySlot {}
25 | public static let sparseArrayDefaultValue : Any = EmptyArraySlot()
| |- warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sparseArrayDefaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static func parse(_ string : String,
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:9:17: warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
| |- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sessionIdCookie' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/http/Cookies.swift:103:15: note: consider making struct 'Cookie' conform to the 'Sendable' protocol
101 | // MARK: - Internals
102 |
103 | public struct Cookie {
| `- note: consider making struct 'Cookie' conform to the 'Sendable' protocol
104 | public let name : String
105 | public var value : String
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:11:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
10 |
11 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionIdCounter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
[42/74] Compiling ExExpress QS.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/QS.swift:25:21: warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class EmptyArraySlot {}
25 | public static let sparseArrayDefaultValue : Any = EmptyArraySlot()
| |- warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sparseArrayDefaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static func parse(_ string : String,
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:9:17: warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
| |- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sessionIdCookie' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/http/Cookies.swift:103:15: note: consider making struct 'Cookie' conform to the 'Sendable' protocol
101 | // MARK: - Internals
102 |
103 | public struct Cookie {
| `- note: consider making struct 'Cookie' conform to the 'Sendable' protocol
104 | public let name : String
105 | public var value : String
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:11:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
10 |
11 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionIdCounter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
[43/74] Compiling ExExpress Session.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/QS.swift:25:21: warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class EmptyArraySlot {}
25 | public static let sparseArrayDefaultValue : Any = EmptyArraySlot()
| |- warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sparseArrayDefaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static func parse(_ string : String,
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:9:17: warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
| |- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sessionIdCookie' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/http/Cookies.swift:103:15: note: consider making struct 'Cookie' conform to the 'Sendable' protocol
101 | // MARK: - Internals
102 |
103 | public struct Cookie {
| `- note: consider making struct 'Cookie' conform to the 'Sendable' protocol
104 | public let name : String
105 | public var value : String
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:11:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
10 |
11 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionIdCounter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
[44/74] Compiling ExExpress TypeIs.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/QS.swift:25:21: warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class EmptyArraySlot {}
25 | public static let sparseArrayDefaultValue : Any = EmptyArraySlot()
| |- warning: static property 'sparseArrayDefaultValue' is not concurrency-safe because non-'Sendable' type 'Any' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sparseArrayDefaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static func parse(_ string : String,
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:9:17: warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
| |- warning: let 'sessionIdCookie' is not concurrency-safe because non-'Sendable' type 'Cookie' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sessionIdCookie' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | fileprivate var sessionIdCounter = 0
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/http/Cookies.swift:103:15: note: consider making struct 'Cookie' conform to the 'Sendable' protocol
101 | // MARK: - Internals
102 |
103 | public struct Cookie {
| `- note: consider making struct 'Cookie' conform to the 'Sendable' protocol
104 | public let name : String
105 | public var value : String
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/connect/Session.swift:11:17: warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | fileprivate let sessionIdCookie = Cookie(name: "ExSID", maxAge: 3600)
10 |
11 | fileprivate var sessionIdCounter = 0
| |- warning: var 'sessionIdCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionIdCounter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionIdCounter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public typealias SessionIdGenerator = ( IncomingMessage ) -> String
[45/74] Compiling ExExpress Route.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Route.swift:444:7: warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
441 | }
442 |
443 | struct ValueError<T> : Swift.Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
444 | let value : T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
445 | }
446 | enum AsyncMiddlewareError : Swift.Error {
[46/74] Compiling ExExpress RouteKeeper.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Route.swift:444:7: warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
441 | }
442 |
443 | struct ValueError<T> : Swift.Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
444 | let value : T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
445 | }
446 | enum AsyncMiddlewareError : Swift.Error {
[47/74] Compiling ExExpress RoutePattern.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Route.swift:444:7: warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
441 | }
442 |
443 | struct ValueError<T> : Swift.Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
444 | let value : T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
445 | }
446 | enum AsyncMiddlewareError : Swift.Error {
[48/74] Compiling ExExpress Router.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Route.swift:444:7: warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
441 | }
442 |
443 | struct ValueError<T> : Swift.Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
444 | let value : T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
445 | }
446 | enum AsyncMiddlewareError : Swift.Error {
[49/74] Compiling ExExpress Settings.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/express/Route.swift:444:7: warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
441 | }
442 |
443 | struct ValueError<T> : Swift.Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
444 | let value : T
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'ValueError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
445 | }
446 | enum AsyncMiddlewareError : Swift.Error {
[50/74] Compiling ExExpress leftpad_module.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:21:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
19 | import func Darwin.getenv
20 | import func Darwin.strstr
21 | fileprivate let xchdir = Darwin.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xchdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | #endif
23 | import class Foundation.ProcessInfo
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:38:23: warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static let isRunningInXCode = false
37 | #else
38 | public static var isRunningInXCode : Bool = {
| |- warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | // TBD: is there a better way?
40 | let s = getenv("XPC_SERVICE_NAME")
[51/74] Compiling ExExpress mime_module.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:21:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
19 | import func Darwin.getenv
20 | import func Darwin.strstr
21 | fileprivate let xchdir = Darwin.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xchdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | #endif
23 | import class Foundation.ProcessInfo
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:38:23: warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static let isRunningInXCode = false
37 | #else
38 | public static var isRunningInXCode : Bool = {
| |- warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | // TBD: is there a better way?
40 | let s = getenv("XPC_SERVICE_NAME")
[52/74] Compiling ExExpress process_module.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:21:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
19 | import func Darwin.getenv
20 | import func Darwin.strstr
21 | fileprivate let xchdir = Darwin.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xchdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | #endif
23 | import class Foundation.ProcessInfo
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:38:23: warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static let isRunningInXCode = false
37 | #else
38 | public static var isRunningInXCode : Bool = {
| |- warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | // TBD: is there a better way?
40 | let s = getenv("XPC_SERVICE_NAME")
[53/74] Compiling ExExpress FileOutputStream.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:21:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
19 | import func Darwin.getenv
20 | import func Darwin.strstr
21 | fileprivate let xchdir = Darwin.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xchdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | #endif
23 | import class Foundation.ProcessInfo
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:38:23: warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static let isRunningInXCode = false
37 | #else
38 | public static var isRunningInXCode : Bool = {
| |- warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | // TBD: is there a better way?
40 | let s = getenv("XPC_SERVICE_NAME")
[54/74] Compiling ExExpress GWritableStreamType.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:21:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
19 | import func Darwin.getenv
20 | import func Darwin.strstr
21 | fileprivate let xchdir = Darwin.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xchdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | #endif
23 | import class Foundation.ProcessInfo
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:38:23: warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static let isRunningInXCode = false
37 | #else
38 | public static var isRunningInXCode : Bool = {
| |- warning: static property 'isRunningInXCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRunningInXCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isRunningInXCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | // TBD: is there a better way?
40 | let s = getenv("XPC_SERVICE_NAME")
[55/74] Compiling ExExpress IncomingMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
[56/74] Compiling ExExpress QueryString.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
[57/74] Compiling ExExpress ServerResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
[58/74] Compiling ExExpress TestSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
[59/74] Compiling ExExpress URL.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
[60/74] Compiling ExExpress http_module.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:118:17: warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
116 | // MARK: - Need more JSONEncodable
117 |
118 | fileprivate var didWarn = false
| |- warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'didWarn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'didWarn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | func otherValueToJSON(_ v: Any) -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:132:1: warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
130 | }
131 |
132 | extension Int8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
133 | public func toJSON() -> JSON {
134 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:137:1: warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
135 | }
136 | }
137 | extension Int16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
138 | public func toJSON() -> JSON {
139 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:142:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
140 | }
141 | }
142 | extension Int32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
143 | public func toJSON() -> JSON {
144 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:147:1: warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
145 | }
146 | }
147 | extension Int64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
148 | public func toJSON() -> JSON {
149 | // TBD: this could break on 32 bitz?
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:158:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
156 | }
157 |
158 | extension UInt8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
159 | public func toJSON() -> JSON {
160 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:163:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
161 | }
162 | }
163 | extension UInt16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
164 | public func toJSON() -> JSON {
165 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:168:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | }
167 | }
168 | extension UInt32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public func toJSON() -> JSON {
170 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:173:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
171 | }
172 | }
173 | extension UInt64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
174 | public func toJSON() -> JSON {
175 | // CAREFUL: This can overflow (not sure why JSONEncodable does not
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:206:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
204 |
205 | }
206 | extension Optional: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
207 |
208 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:217:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
215 | }
216 |
217 | extension Array: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
218 |
219 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:225:1: warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
223 | }
224 |
225 | extension Dictionary: JSONEncodable { // hh
| |- warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 |
227 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JsonFile.swift:69:12: warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import struct Foundation.Data
10 |
11 | public class JsonFileModule {
| `- note: class 'JsonFileModule' does not conform to the 'Sendable' protocol
12 |
13 | public enum Error : Swift.Error {
:
67 | }
68 |
69 | public let jsonfile = JsonFileModule()
| |- warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonfile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
[61/74] Compiling ExExpress JSONWritableStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:118:17: warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
116 | // MARK: - Need more JSONEncodable
117 |
118 | fileprivate var didWarn = false
| |- warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'didWarn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'didWarn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | func otherValueToJSON(_ v: Any) -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:132:1: warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
130 | }
131 |
132 | extension Int8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
133 | public func toJSON() -> JSON {
134 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:137:1: warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
135 | }
136 | }
137 | extension Int16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
138 | public func toJSON() -> JSON {
139 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:142:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
140 | }
141 | }
142 | extension Int32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
143 | public func toJSON() -> JSON {
144 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:147:1: warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
145 | }
146 | }
147 | extension Int64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
148 | public func toJSON() -> JSON {
149 | // TBD: this could break on 32 bitz?
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:158:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
156 | }
157 |
158 | extension UInt8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
159 | public func toJSON() -> JSON {
160 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:163:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
161 | }
162 | }
163 | extension UInt16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
164 | public func toJSON() -> JSON {
165 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:168:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | }
167 | }
168 | extension UInt32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public func toJSON() -> JSON {
170 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:173:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
171 | }
172 | }
173 | extension UInt64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
174 | public func toJSON() -> JSON {
175 | // CAREFUL: This can overflow (not sure why JSONEncodable does not
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:206:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
204 |
205 | }
206 | extension Optional: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
207 |
208 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:217:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
215 | }
216 |
217 | extension Array: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
218 |
219 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:225:1: warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
223 | }
224 |
225 | extension Dictionary: JSONEncodable { // hh
| |- warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 |
227 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JsonFile.swift:69:12: warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import struct Foundation.Data
10 |
11 | public class JsonFileModule {
| `- note: class 'JsonFileModule' does not conform to the 'Sendable' protocol
12 |
13 | public enum Error : Swift.Error {
:
67 | }
68 |
69 | public let jsonfile = JsonFileModule()
| |- warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonfile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
[62/74] Compiling ExExpress JsonFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:118:17: warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
116 | // MARK: - Need more JSONEncodable
117 |
118 | fileprivate var didWarn = false
| |- warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'didWarn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'didWarn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | func otherValueToJSON(_ v: Any) -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:132:1: warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
130 | }
131 |
132 | extension Int8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
133 | public func toJSON() -> JSON {
134 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:137:1: warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
135 | }
136 | }
137 | extension Int16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
138 | public func toJSON() -> JSON {
139 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:142:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
140 | }
141 | }
142 | extension Int32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
143 | public func toJSON() -> JSON {
144 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:147:1: warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
145 | }
146 | }
147 | extension Int64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
148 | public func toJSON() -> JSON {
149 | // TBD: this could break on 32 bitz?
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:158:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
156 | }
157 |
158 | extension UInt8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
159 | public func toJSON() -> JSON {
160 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:163:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
161 | }
162 | }
163 | extension UInt16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
164 | public func toJSON() -> JSON {
165 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:168:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | }
167 | }
168 | extension UInt32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public func toJSON() -> JSON {
170 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:173:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
171 | }
172 | }
173 | extension UInt64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
174 | public func toJSON() -> JSON {
175 | // CAREFUL: This can overflow (not sure why JSONEncodable does not
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:206:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
204 |
205 | }
206 | extension Optional: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
207 |
208 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:217:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
215 | }
216 |
217 | extension Array: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
218 |
219 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:225:1: warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
223 | }
224 |
225 | extension Dictionary: JSONEncodable { // hh
| |- warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 |
227 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JsonFile.swift:69:12: warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import struct Foundation.Data
10 |
11 | public class JsonFileModule {
| `- note: class 'JsonFileModule' does not conform to the 'Sendable' protocol
12 |
13 | public enum Error : Swift.Error {
:
67 | }
68 |
69 | public let jsonfile = JsonFileModule()
| |- warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonfile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
[63/74] Compiling ExExpress Stringify.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:118:17: warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
116 | // MARK: - Need more JSONEncodable
117 |
118 | fileprivate var didWarn = false
| |- warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'didWarn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'didWarn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | func otherValueToJSON(_ v: Any) -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:132:1: warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
130 | }
131 |
132 | extension Int8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
133 | public func toJSON() -> JSON {
134 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:137:1: warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
135 | }
136 | }
137 | extension Int16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
138 | public func toJSON() -> JSON {
139 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:142:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
140 | }
141 | }
142 | extension Int32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
143 | public func toJSON() -> JSON {
144 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:147:1: warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
145 | }
146 | }
147 | extension Int64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
148 | public func toJSON() -> JSON {
149 | // TBD: this could break on 32 bitz?
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:158:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
156 | }
157 |
158 | extension UInt8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
159 | public func toJSON() -> JSON {
160 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:163:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
161 | }
162 | }
163 | extension UInt16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
164 | public func toJSON() -> JSON {
165 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:168:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | }
167 | }
168 | extension UInt32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public func toJSON() -> JSON {
170 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:173:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
171 | }
172 | }
173 | extension UInt64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
174 | public func toJSON() -> JSON {
175 | // CAREFUL: This can overflow (not sure why JSONEncodable does not
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:206:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
204 |
205 | }
206 | extension Optional: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
207 |
208 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:217:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
215 | }
216 |
217 | extension Array: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
218 |
219 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:225:1: warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
223 | }
224 |
225 | extension Dictionary: JSONEncodable { // hh
| |- warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 |
227 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JsonFile.swift:69:12: warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import struct Foundation.Data
10 |
11 | public class JsonFileModule {
| `- note: class 'JsonFileModule' does not conform to the 'Sendable' protocol
12 |
13 | public enum Error : Swift.Error {
:
67 | }
68 |
69 | public let jsonfile = JsonFileModule()
| |- warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonfile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
[64/74] Compiling ExExpress json_module.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:118:17: warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
116 | // MARK: - Need more JSONEncodable
117 |
118 | fileprivate var didWarn = false
| |- warning: var 'didWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'didWarn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'didWarn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | func otherValueToJSON(_ v: Any) -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:132:1: warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
130 | }
131 |
132 | extension Int8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
133 | public func toJSON() -> JSON {
134 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:137:1: warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
135 | }
136 | }
137 | extension Int16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
138 | public func toJSON() -> JSON {
139 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:142:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
140 | }
141 | }
142 | extension Int32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
143 | public func toJSON() -> JSON {
144 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:147:1: warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
145 | }
146 | }
147 | extension Int64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Int64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
148 | public func toJSON() -> JSON {
149 | // TBD: this could break on 32 bitz?
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:158:1: warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
156 | }
157 |
158 | extension UInt8 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt8' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
159 | public func toJSON() -> JSON {
160 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:163:1: warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
161 | }
162 | }
163 | extension UInt16 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt16' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
164 | public func toJSON() -> JSON {
165 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:168:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | }
167 | }
168 | extension UInt32 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public func toJSON() -> JSON {
170 | return .int(Int(self))
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:173:1: warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
171 | }
172 | }
173 | extension UInt64 : JSONEncodable {
| |- warning: extension declares a conformance of imported type 'UInt64' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
174 | public func toJSON() -> JSON {
175 | // CAREFUL: This can overflow (not sure why JSONEncodable does not
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:206:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
204 |
205 | }
206 | extension Optional: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
207 |
208 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:217:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
215 | }
216 |
217 | extension Array: JSONEncodable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
218 |
219 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JSONWritableStream.swift:225:1: warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
223 | }
224 |
225 | extension Dictionary: JSONEncodable { // hh
| |- warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'JSONEncodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 |
227 | public func toJSON() -> JSON {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/json/JsonFile.swift:69:12: warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import struct Foundation.Data
10 |
11 | public class JsonFileModule {
| `- note: class 'JsonFileModule' does not conform to the 'Sendable' protocol
12 |
13 | public enum Error : Swift.Error {
:
67 | }
68 |
69 | public let jsonfile = JsonFileModule()
| |- warning: let 'jsonfile' is not concurrency-safe because non-'Sendable' type 'JsonFileModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonfile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
[65/74] Compiling ExExpress connect_module.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
[66/74] Compiling ExExpress Console.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
[67/74] Compiling ExExpress console_module.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
[68/74] Compiling ExExpress Express.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
[69/74] Compiling ExExpress ExpressIncomingMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:18:21: warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // work we would probably need thread-local storage to be able to
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
| |- warning: static property 'defaultConsole' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConsole' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultConsole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
[70/74] Compiling ExExpress WritableByteStreamType.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:85:1: warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
83 | }
84 |
85 | extension timespec: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:96:1: warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
94 | }
95 |
96 | extension timeval: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:46:26: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &cclock);
45 | clock_get_time(cclock, &mts);
46 | mach_port_deallocate(mach_task_self_, cclock);
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | return timespec(mts)
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[71/74] Compiling ExExpress WritableStreams.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:85:1: warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
83 | }
84 |
85 | extension timespec: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:96:1: warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
94 | }
95 |
96 | extension timeval: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:46:26: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &cclock);
45 | clock_get_time(cclock, &mts);
46 | mach_port_deallocate(mach_task_self_, cclock);
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | return timespec(mts)
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[72/74] Compiling ExExpress time.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:85:1: warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
83 | }
84 |
85 | extension timespec: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:96:1: warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
94 | }
95 |
96 | extension timeval: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:46:26: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &cclock);
45 | clock_get_time(cclock, &mts);
46 | mach_port_deallocate(mach_task_self_, cclock);
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | return timespec(mts)
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[73/74] Compiling ExExpress timespec.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:85:1: warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
83 | }
84 |
85 | extension timespec: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:96:1: warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
94 | }
95 |
96 | extension timeval: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:46:26: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &cclock);
45 | clock_get_time(cclock, &mts);
46 | mach_port_deallocate(mach_task_self_, cclock);
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | return timespec(mts)
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[74/74] Compiling ExExpress timeval_any.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:85:1: warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
83 | }
84 |
85 | extension timespec: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:96:1: warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
94 | }
95 |
96 | extension timeval: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
/Users/admin/builder/spi-builder-workspace/Sources/ExExpress/xsys/timespec.swift:46:26: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &cclock);
45 | clock_get_time(cclock, &mts);
46 | mach_port_deallocate(mach_task_self_, cclock);
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | return timespec(mts)
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
Build complete! (32.14s)
Fetching https://github.com/AlwaysRightInstitute/mustache.git
Fetching https://github.com/modswift/Freddy.git
[1/2937] Fetching freddy
[207/3481] Fetching freddy, mustache
Fetched https://github.com/modswift/Freddy.git from cache (1.18s)
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (1.18s)
Computing version for https://github.com/modswift/Freddy.git
Computed https://github.com/modswift/Freddy.git at 3.0.58 (0.65s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.1 (0.68s)
Creating working copy for https://github.com/modswift/Freddy.git
Working copy of https://github.com/modswift/Freddy.git resolved at 3.0.58
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.1
Build complete.
{
"dependencies" : [
{
"identity" : "mustache",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AlwaysRightInstitute/mustache.git"
},
{
"identity" : "freddy",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.58",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/modswift/Freddy.git"
}
],
"manifest_display_name" : "ExExpress",
"name" : "ExExpress",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ExExpress",
"targets" : [
"ExExpress"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ExExpress",
"module_type" : "SwiftTarget",
"name" : "ExExpress",
"path" : "Sources/ExExpress",
"product_dependencies" : [
"mustache",
"Freddy"
],
"product_memberships" : [
"ExExpress"
],
"sources" : [
"connect/BodyParser.swift",
"connect/CORS.swift",
"connect/Connect.swift",
"connect/CookieParser.swift",
"connect/Logger.swift",
"connect/MethodOverride.swift",
"connect/Pause.swift",
"connect/QS.swift",
"connect/Session.swift",
"connect/TypeIs.swift",
"connect/connect_module.swift",
"console/Console.swift",
"console/console_module.swift",
"express/Express.swift",
"express/ExpressIncomingMessage.swift",
"express/ExpressJSON.swift",
"express/ExpressMustache.swift",
"express/ExpressServerResponse.swift",
"express/MiddlewareObject.swift",
"express/Render.swift",
"express/Route.swift",
"express/RouteKeeper.swift",
"express/RoutePattern.swift",
"express/Router.swift",
"express/Settings.swift",
"express/express_module.swift",
"fs/fs_module.swift",
"http/Cookies.swift",
"http/HttpMessageBaseType.swift",
"http/HttpMisc.swift",
"http/IncomingMessage.swift",
"http/QueryString.swift",
"http/ServerResponse.swift",
"http/TestSupport.swift",
"http/URL.swift",
"http/http_module.swift",
"json/JSONWritableStream.swift",
"json/JsonFile.swift",
"json/Stringify.swift",
"json/json_module.swift",
"leftpad/leftpad_module.swift",
"mime/mime_module.swift",
"process/process_module.swift",
"streams/FileOutputStream.swift",
"streams/GWritableStreamType.swift",
"streams/WritableByteStreamType.swift",
"streams/WritableStreams.swift",
"xsys/time.swift",
"xsys/timespec.swift",
"xsys/timeval_any.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.