Build Information
Successful build of ExExpress with Swift 6.0 for Linux.
Swift 6 data race errors: 13
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/modswift/ExExpress.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/modswift/Freddy.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/2937] Fetching freddy
[824/3481] Fetching freddy, mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.26s)
Fetched https://github.com/modswift/Freddy.git from cache (0.26s)
Computing version for https://github.com/modswift/Freddy.git
Computed https://github.com/modswift/Freddy.git at 3.0.58 (0.42s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.1 (0.43s)
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Compiling mustache MustacheNode.swift
[6/22] Compiling mustache MustacheParser.swift
[7/22] Compiling Freddy JSONSerializing.swift
[8/23] Compiling mustache HTMLEscape.swift
[9/23] Emitting module mustache
[10/23] Compiling mustache Helpers.swift
[11/23] Emitting module Freddy
[12/23] Compiling Freddy JSONParsing.swift
[13/23] Compiling Freddy JSONEncodable.swift
[14/23] Compiling Freddy JSONEncodingDetector.swift
[15/23] Compiling Freddy JSON.swift
[16/23] Compiling Freddy JSONDecodable.swift
[17/23] Compiling Freddy JSONLiteralConvertible.swift
[18/23] Compiling Freddy JSONOptional.swift
[19/23] Compiling Freddy JSONParser.swift
[20/23] Compiling mustache Mustacheable.swift
[21/23] Compiling mustache MustacheRenderingContext.swift
[22/23] Compiling mustache SimpleKVC.swift
[24/24] Compiling Freddy JSONSubscripting.swift
[26/70] Compiling ExExpress Stringify.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:13:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
11 | import func Glibc.getenv
12 | import func Glibc.strstr
13 | fileprivate let xchdir = Glibc.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
14 | #else
15 | import func Darwin.getpid
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:24: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:43: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:63: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[27/70] Compiling ExExpress json_module.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:13:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
11 | import func Glibc.getenv
12 | import func Glibc.strstr
13 | fileprivate let xchdir = Glibc.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
14 | #else
15 | import func Darwin.getpid
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:24: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:43: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:63: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[28/70] Compiling ExExpress leftpad_module.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:13:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
11 | import func Glibc.getenv
12 | import func Glibc.strstr
13 | fileprivate let xchdir = Glibc.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
14 | #else
15 | import func Darwin.getpid
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:24: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:43: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:63: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[29/70] Compiling ExExpress mime_module.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:13:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
11 | import func Glibc.getenv
12 | import func Glibc.strstr
13 | fileprivate let xchdir = Glibc.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
14 | #else
15 | import func Darwin.getpid
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:24: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:43: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:63: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[30/70] Compiling ExExpress process_module.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:13:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
11 | import func Glibc.getenv
12 | import func Glibc.strstr
13 | fileprivate let xchdir = Glibc.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
14 | #else
15 | import func Darwin.getpid
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:24: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:43: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:63: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[31/70] Compiling ExExpress FileOutputStream.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:13:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
11 | import func Glibc.getenv
12 | import func Glibc.strstr
13 | fileprivate let xchdir = Glibc.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
14 | #else
15 | import func Darwin.getpid
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:24: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:43: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/streams/FileOutputStream.swift:32:63: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | var canEnd : Bool {
31 | // TODO: not quite right, but works for us now ;->
32 | return !(handle == stdin || handle == stdout || handle == stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[32/70] Compiling ExExpress ExpressIncomingMessage.swift
/host/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 |
[33/70] Compiling ExExpress ExpressJSON.swift
/host/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 |
[34/70] Compiling ExExpress ExpressMustache.swift
/host/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 |
[35/70] Compiling ExExpress ExpressServerResponse.swift
/host/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 |
[36/70] Compiling ExExpress MiddlewareObject.swift
/host/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 |
[37/70] Compiling ExExpress Render.swift
/host/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 |
[38/76] Compiling ExExpress BodyParser.swift
/host/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
[39/76] Compiling ExExpress CORS.swift
/host/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
[40/76] Compiling ExExpress Connect.swift
/host/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
[41/76] Compiling ExExpress CookieParser.swift
/host/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
[42/76] Compiling ExExpress Logger.swift
/host/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
[43/76] Compiling ExExpress MethodOverride.swift
/host/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
[44/76] Compiling ExExpress Pause.swift
/host/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
[45/76] Emitting module ExExpress
/host/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
/host/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,
/host/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
/host/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
/host/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
/host/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))
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:19:57: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | FileOutputStream(handle: stderr))
21 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:20:57: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | // top level functions, so that you can do: console.info() ...
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/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 |
/host/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'
/host/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:11:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, UnsafeMutablePointer<stat>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if os(Linux)
10 | import Glibc
11 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, 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
12 | #else
13 | import Darwin
/host/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 {
/host/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))
/host/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))
/host/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))
/host/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?
/host/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))
/host/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))
/host/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))
/host/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
/host/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 {
/host/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 {
/host/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 {
/host/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'
/host/spi-builder-workspace/Sources/ExExpress/process/process_module.swift:13:19: warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(UnsafePointer<Int8>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
11 | import func Glibc.getenv
12 | import func Glibc.strstr
13 | fileprivate let xchdir = Glibc.chdir
| |- warning: let 'xchdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int32' (aka '(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
14 | #else
15 | import func Darwin.getpid
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
[46/76] Compiling ExExpress fs_module.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:11:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, UnsafeMutablePointer<stat>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if os(Linux)
10 | import Glibc
11 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, 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
12 | #else
13 | import Darwin
[47/76] Compiling ExExpress Cookies.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:11:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, UnsafeMutablePointer<stat>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if os(Linux)
10 | import Glibc
11 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, 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
12 | #else
13 | import Darwin
[48/76] Compiling ExExpress HttpMessageBaseType.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:11:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, UnsafeMutablePointer<stat>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if os(Linux)
10 | import Glibc
11 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, 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
12 | #else
13 | import Darwin
[49/76] Compiling ExExpress HttpMisc.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:11:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, UnsafeMutablePointer<stat>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if os(Linux)
10 | import Glibc
11 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, 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
12 | #else
13 | import Darwin
[50/76] Compiling ExExpress IncomingMessage.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:11:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, UnsafeMutablePointer<stat>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if os(Linux)
10 | import Glibc
11 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, 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
12 | #else
13 | import Darwin
[51/76] Compiling ExExpress QueryString.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ExExpress/fs/fs_module.swift:11:19: warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, UnsafeMutablePointer<stat>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if os(Linux)
10 | import Glibc
11 | fileprivate let xstat = stat
| |- warning: let 'xstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> Int32' (aka '(UnsafePointer<Int8>, 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
12 | #else
13 | import Darwin
[52/76] Compiling ExExpress Route.swift
/host/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 {
[53/76] Compiling ExExpress RouteKeeper.swift
/host/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 {
[54/76] Compiling ExExpress RoutePattern.swift
/host/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 {
[55/76] Compiling ExExpress Router.swift
/host/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 {
[56/76] Compiling ExExpress Settings.swift
/host/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 {
[57/76] Compiling ExExpress express_module.swift
/host/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 {
[58/76] Compiling ExExpress GWritableStreamType.swift
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
[59/76] Compiling ExExpress WritableByteStreamType.swift
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
[60/76] Compiling ExExpress WritableStreams.swift
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
[61/76] Compiling ExExpress time.swift
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
[62/76] Compiling ExExpress timespec.swift
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
[63/76] Compiling ExExpress timeval_any.swift
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
86 | public var description : String {
87 | switch ( tv_sec, tv_nsec ) {
/host/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 'SwiftGlibc' 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 'SwiftGlibc' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
97 | public var description : String {
98 | switch ( tv_sec, tv_usec ) {
[64/76] Compiling ExExpress ServerResponse.swift
/host/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))
/host/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 {
/host/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))
/host/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))
/host/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))
/host/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?
/host/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))
/host/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))
/host/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))
/host/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
/host/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 {
/host/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 {
/host/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 {
/host/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/76] Compiling ExExpress TestSupport.swift
/host/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))
/host/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 {
/host/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))
/host/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))
/host/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))
/host/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?
/host/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))
/host/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))
/host/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))
/host/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
/host/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 {
/host/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 {
/host/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 {
/host/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 |
[66/76] Compiling ExExpress URL.swift
/host/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))
/host/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 {
/host/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))
/host/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))
/host/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))
/host/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?
/host/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))
/host/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))
/host/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))
/host/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
/host/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 {
/host/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 {
/host/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 {
/host/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 |
[67/76] Compiling ExExpress http_module.swift
/host/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))
/host/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 {
/host/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))
/host/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))
/host/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))
/host/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?
/host/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))
/host/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))
/host/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))
/host/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
/host/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 {
/host/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 {
/host/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 {
/host/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 |
[68/76] Compiling ExExpress JSONWritableStream.swift
/host/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))
/host/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 {
/host/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))
/host/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))
/host/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))
/host/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?
/host/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))
/host/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))
/host/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))
/host/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
/host/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 {
/host/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 {
/host/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 {
/host/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 |
[69/76] Compiling ExExpress JsonFile.swift
/host/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))
/host/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 {
/host/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))
/host/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))
/host/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))
/host/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?
/host/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))
/host/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))
/host/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))
/host/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
/host/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 {
/host/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 {
/host/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 {
/host/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 |
[70/76] Compiling ExExpress QS.swift
/host/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,
/host/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
/host/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
/host/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
/host/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))
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:19:57: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | FileOutputStream(handle: stderr))
21 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:20:57: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | // top level functions, so that you can do: console.info() ...
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[71/76] Compiling ExExpress Session.swift
/host/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,
/host/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
/host/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
/host/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
/host/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))
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:19:57: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | FileOutputStream(handle: stderr))
21 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:20:57: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | // top level functions, so that you can do: console.info() ...
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[72/76] Compiling ExExpress TypeIs.swift
/host/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,
/host/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
/host/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
/host/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
/host/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))
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:19:57: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | FileOutputStream(handle: stderr))
21 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:20:57: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | // top level functions, so that you can do: console.info() ...
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[73/76] Compiling ExExpress connect_module.swift
/host/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,
/host/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
/host/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
/host/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
/host/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))
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:19:57: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | FileOutputStream(handle: stderr))
21 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:20:57: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | // top level functions, so that you can do: console.info() ...
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[74/76] Compiling ExExpress Console.swift
/host/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,
/host/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
/host/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
/host/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
/host/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))
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:19:57: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | FileOutputStream(handle: stderr))
21 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:20:57: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | // top level functions, so that you can do: console.info() ...
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[75/76] Compiling ExExpress console_module.swift
/host/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,
/host/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
/host/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
/host/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
/host/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))
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:19:57: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | FileOutputStream(handle: stderr))
21 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:20:57: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | // top level functions, so that you can do: console.info() ...
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[76/76] Compiling ExExpress Express.swift
/host/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,
/host/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
/host/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
/host/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
/host/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))
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:19:57: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | // direct the logs to a proper request logger.
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | FileOutputStream(handle: stderr))
21 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ExExpress/console/console_module.swift:20:57: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | public static var defaultConsole : ConsoleType =
19 | Console2(FileOutputStream(handle: stdout),
20 | FileOutputStream(handle: stderr))
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | // top level functions, so that you can do: console.info() ...
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
Build complete! (16.92s)
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" : "/host/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.