Build Information
Successful build of slash, reference master (01e55c
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 23:39:19 UTC.
Swift 6 data race errors: 14
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/slash-hq/slash.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/slash-hq/slash
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 01e55ce Add support for message reactions.
Cloned https://github.com/slash-hq/slash.git
Revision (git rev-parse @):
01e55ce89b9015c98bae32ba1371ef7a48a3c0f0
SUCCESS checkout https://github.com/slash-hq/slash.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "slash",
"name": "slash",
"url": "https://github.com/slash-hq/slash.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/slash",
"dependencies": [
]
}
]
}
Fetching https://github.com/slash-hq/slash.git
[1/295] Fetching slash
Fetched https://github.com/slash-hq/slash.git from cache (1.07s)
Creating working copy for https://github.com/slash-hq/slash.git
Working copy of https://github.com/slash-hq/slash.git resolved at master (01e55ce)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/slash-hq/slash.git
https://github.com/slash-hq/slash.git
{
"dependencies" : [
],
"manifest_display_name" : "slash",
"name" : "slash",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "slash",
"targets" : [
"slash"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "slash",
"module_type" : "SwiftTarget",
"name" : "slash",
"path" : "Sources",
"product_memberships" : [
"slash"
],
"sources" : [
"Application.swift",
"ChannelsListView.swift",
"CrashReporter.swift",
"MessagesListView.swift",
"R.swift",
"Server.swift",
"SlackAdapter.swift",
"SlackChannel.swift",
"SlackContext.swift",
"SlackEmojiDecoder.swift",
"SlackEvent.swift",
"SlackGroup.swift",
"SlackIM.swift",
"SlackMessage.swift",
"SlackMessageReaction.swift",
"SlackOAuth2.swift",
"SlackRealTimeClient.swift",
"SlackTeam.swift",
"SlackUser.swift",
"SlackWebClient.swift",
"Socket.swift",
"TLSSocket.swift",
"TerminalCanvas.swift",
"TerminalDevice.swift",
"TextLayout.swift",
"URLSession.swift",
"UserInputView.swift",
"Utils.swift",
"WebSocketClient.swift",
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/6] Write sources
[1/6] Write slash-entitlement.plist
[2/6] Write swift-version-2F0A5646E1D333AE.txt
[4/34] Emitting module slash
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter.swift:12:24: warning: static property 'terminalDevice' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct CrashReporter {
11 |
12 | private static var terminalDevice: TerminalDevice? = nil
| |- warning: static property 'terminalDevice' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'terminalDevice' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'terminalDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func watch(usingDevice device: TerminalDevice) {
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:105:5: warning: static property 'lf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | static var
105 | lf: UInt8 = 10,
| |- warning: static property 'lf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lf' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:106:5: warning: static property 'cr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | static var
105 | lf: UInt8 = 10,
106 | cr: UInt8 = 13,
| |- warning: static property 'cr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:107:5: warning: static property 'space' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
105 | lf: UInt8 = 10,
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
| |- warning: static property 'space' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'space' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'space' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:108:5: warning: static property 'colon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
| |- warning: static property 'colon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'colon' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'colon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:109:5: warning: static property 'ampersand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
| |- warning: static property 'ampersand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ampersand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ampersand' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:110:5: warning: static property 'lessThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
| |- warning: static property 'lessThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lessThan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lessThan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:111:5: warning: static property 'greaterThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
| |- warning: static property 'greaterThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'greaterThan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'greaterThan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:112:5: warning: static property 'slash' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
| |- warning: static property 'slash' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'slash' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'slash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:113:5: warning: static property 'equal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
| |- warning: static property 'equal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'equal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'equal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:114:5: warning: static property 'doubleQuotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
| |- warning: static property 'doubleQuotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'doubleQuotes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'doubleQuotes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:115:5: warning: static property 'openingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
| |- warning: static property 'openingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'openingParenthesis' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'openingParenthesis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | closingParenthesis: UInt8 = 41,
117 | comma: UInt8 = 44
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:116:5: warning: static property 'closingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
| |- warning: static property 'closingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'closingParenthesis' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'closingParenthesis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | comma: UInt8 = 44
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:117:5: warning: static property 'comma' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
117 | comma: UInt8 = 44
| |- warning: static property 'comma' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'comma' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'comma' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:189:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HttpIncomingDataPorcessor' to 'Hashable' by implementing 'hash(into:)' instead
187 | }
188 |
189 | var hashValue: Int { return Int(self.socket) }
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HttpIncomingDataPorcessor' to 'Hashable' by implementing 'hash(into:)' instead
190 |
191 | func process(_ chunk: ArraySlice<UInt8>) throws {
[5/37] Compiling slash TLSSocket.swift
[6/37] Compiling slash TerminalCanvas.swift
[7/37] Compiling slash TerminalDevice.swift
[8/37] Compiling slash Utils.swift
[9/37] Compiling slash WebSocketClient.swift
[10/37] Compiling slash main.swift
[11/37] Compiling slash SlackOAuth2.swift
[12/37] Compiling slash SlackRealTimeClient.swift
[13/37] Compiling slash SlackTeam.swift
[14/37] Compiling slash MessagesListView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:105:5: warning: static property 'lf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | static var
105 | lf: UInt8 = 10,
| |- warning: static property 'lf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lf' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:106:5: warning: static property 'cr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | static var
105 | lf: UInt8 = 10,
106 | cr: UInt8 = 13,
| |- warning: static property 'cr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:107:5: warning: static property 'space' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
105 | lf: UInt8 = 10,
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
| |- warning: static property 'space' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'space' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'space' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:108:5: warning: static property 'colon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
| |- warning: static property 'colon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'colon' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'colon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:109:5: warning: static property 'ampersand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
| |- warning: static property 'ampersand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ampersand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ampersand' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:110:5: warning: static property 'lessThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
| |- warning: static property 'lessThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lessThan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lessThan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:111:5: warning: static property 'greaterThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
| |- warning: static property 'greaterThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'greaterThan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'greaterThan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:112:5: warning: static property 'slash' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
| |- warning: static property 'slash' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'slash' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'slash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:113:5: warning: static property 'equal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
| |- warning: static property 'equal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'equal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'equal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:114:5: warning: static property 'doubleQuotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
| |- warning: static property 'doubleQuotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'doubleQuotes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'doubleQuotes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:115:5: warning: static property 'openingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
| |- warning: static property 'openingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'openingParenthesis' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'openingParenthesis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | closingParenthesis: UInt8 = 41,
117 | comma: UInt8 = 44
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:116:5: warning: static property 'closingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
| |- warning: static property 'closingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'closingParenthesis' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'closingParenthesis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | comma: UInt8 = 44
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:117:5: warning: static property 'comma' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
117 | comma: UInt8 = 44
| |- warning: static property 'comma' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'comma' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'comma' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:189:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HttpIncomingDataPorcessor' to 'Hashable' by implementing 'hash(into:)' instead
187 | }
188 |
189 | var hashValue: Int { return Int(self.socket) }
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HttpIncomingDataPorcessor' to 'Hashable' by implementing 'hash(into:)' instead
190 |
191 | func process(_ chunk: ArraySlice<UInt8>) throws {
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:481:25: warning: variable 'chunk' was never mutated; consider changing to 'let' constant
479 | case .write:
480 | while let backlogElement = self.backlog[Int32(signal.ident)]?.first {
481 | var chunk = backlogElement.chunk
| `- warning: variable 'chunk' was never mutated; consider changing to 'let' constant
482 | let result = Socket.write(Int32(signal.ident), chunk, min(chunk.count, signal.data))
483 | if result == -1 {
[15/37] Compiling slash R.swift
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:105:5: warning: static property 'lf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | static var
105 | lf: UInt8 = 10,
| |- warning: static property 'lf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lf' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:106:5: warning: static property 'cr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | static var
105 | lf: UInt8 = 10,
106 | cr: UInt8 = 13,
| |- warning: static property 'cr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:107:5: warning: static property 'space' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
105 | lf: UInt8 = 10,
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
| |- warning: static property 'space' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'space' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'space' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:108:5: warning: static property 'colon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
| |- warning: static property 'colon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'colon' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'colon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:109:5: warning: static property 'ampersand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
| |- warning: static property 'ampersand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ampersand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ampersand' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:110:5: warning: static property 'lessThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
| |- warning: static property 'lessThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lessThan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lessThan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:111:5: warning: static property 'greaterThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
| |- warning: static property 'greaterThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'greaterThan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'greaterThan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:112:5: warning: static property 'slash' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
| |- warning: static property 'slash' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'slash' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'slash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:113:5: warning: static property 'equal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
| |- warning: static property 'equal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'equal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'equal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:114:5: warning: static property 'doubleQuotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
| |- warning: static property 'doubleQuotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'doubleQuotes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'doubleQuotes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:115:5: warning: static property 'openingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
| |- warning: static property 'openingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'openingParenthesis' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'openingParenthesis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | closingParenthesis: UInt8 = 41,
117 | comma: UInt8 = 44
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:116:5: warning: static property 'closingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
| |- warning: static property 'closingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'closingParenthesis' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'closingParenthesis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | comma: UInt8 = 44
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:117:5: warning: static property 'comma' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
117 | comma: UInt8 = 44
| |- warning: static property 'comma' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'comma' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'comma' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:189:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HttpIncomingDataPorcessor' to 'Hashable' by implementing 'hash(into:)' instead
187 | }
188 |
189 | var hashValue: Int { return Int(self.socket) }
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HttpIncomingDataPorcessor' to 'Hashable' by implementing 'hash(into:)' instead
190 |
191 | func process(_ chunk: ArraySlice<UInt8>) throws {
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:481:25: warning: variable 'chunk' was never mutated; consider changing to 'let' constant
479 | case .write:
480 | while let backlogElement = self.backlog[Int32(signal.ident)]?.first {
481 | var chunk = backlogElement.chunk
| `- warning: variable 'chunk' was never mutated; consider changing to 'let' constant
482 | let result = Socket.write(Int32(signal.ident), chunk, min(chunk.count, signal.data))
483 | if result == -1 {
[16/37] Compiling slash Server.swift
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:105:5: warning: static property 'lf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | static var
105 | lf: UInt8 = 10,
| |- warning: static property 'lf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lf' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:106:5: warning: static property 'cr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | static var
105 | lf: UInt8 = 10,
106 | cr: UInt8 = 13,
| |- warning: static property 'cr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:107:5: warning: static property 'space' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
105 | lf: UInt8 = 10,
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
| |- warning: static property 'space' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'space' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'space' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:108:5: warning: static property 'colon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | cr: UInt8 = 13,
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
| |- warning: static property 'colon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'colon' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'colon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:109:5: warning: static property 'ampersand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 | space: UInt8 = 32,
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
| |- warning: static property 'ampersand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ampersand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ampersand' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:110:5: warning: static property 'lessThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | colon: UInt8 = 58,
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
| |- warning: static property 'lessThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lessThan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lessThan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:111:5: warning: static property 'greaterThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | ampersand: UInt8 = 38,
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
| |- warning: static property 'greaterThan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'greaterThan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'greaterThan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:112:5: warning: static property 'slash' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 | lessThan: UInt8 = 60,
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
| |- warning: static property 'slash' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'slash' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'slash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:113:5: warning: static property 'equal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | greaterThan: UInt8 = 62,
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
| |- warning: static property 'equal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'equal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'equal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:114:5: warning: static property 'doubleQuotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
112 | slash: UInt8 = 47,
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
| |- warning: static property 'doubleQuotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'doubleQuotes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'doubleQuotes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:115:5: warning: static property 'openingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 | equal: UInt8 = 61,
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
| |- warning: static property 'openingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'openingParenthesis' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'openingParenthesis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | closingParenthesis: UInt8 = 41,
117 | comma: UInt8 = 44
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:116:5: warning: static property 'closingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 | doubleQuotes: UInt8 = 34,
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
| |- warning: static property 'closingParenthesis' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'closingParenthesis' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'closingParenthesis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | comma: UInt8 = 44
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:117:5: warning: static property 'comma' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
115 | openingParenthesis: UInt8 = 40,
116 | closingParenthesis: UInt8 = 41,
117 | comma: UInt8 = 44
| |- warning: static property 'comma' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'comma' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'comma' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:189:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HttpIncomingDataPorcessor' to 'Hashable' by implementing 'hash(into:)' instead
187 | }
188 |
189 | var hashValue: Int { return Int(self.socket) }
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HttpIncomingDataPorcessor' to 'Hashable' by implementing 'hash(into:)' instead
190 |
191 | func process(_ chunk: ArraySlice<UInt8>) throws {
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:481:25: warning: variable 'chunk' was never mutated; consider changing to 'let' constant
479 | case .write:
480 | while let backlogElement = self.backlog[Int32(signal.ident)]?.first {
481 | var chunk = backlogElement.chunk
| `- warning: variable 'chunk' was never mutated; consider changing to 'let' constant
482 | let result = Socket.write(Int32(signal.ident), chunk, min(chunk.count, signal.data))
483 | if result == -1 {
[17/37] Compiling slash TextLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLSession.swift:22:13: warning: mutation of captured var 'data' in concurrently-executing code
20 | URLSession.shared.dataTask(with: request) { (theData, theResponse, theError) -> Void in
21 | // extract information from callback
22 | data = theData
| `- warning: mutation of captured var 'data' in concurrently-executing code
23 | response = theResponse
24 | error = theError
/Users/admin/builder/spi-builder-workspace/Sources/URLSession.swift:23:13: warning: mutation of captured var 'response' in concurrently-executing code
21 | // extract information from callback
22 | data = theData
23 | response = theResponse
| `- warning: mutation of captured var 'response' in concurrently-executing code
24 | error = theError
25 |
/Users/admin/builder/spi-builder-workspace/Sources/URLSession.swift:24:13: warning: mutation of captured var 'error' in concurrently-executing code
22 | data = theData
23 | response = theResponse
24 | error = theError
| `- warning: mutation of captured var 'error' in concurrently-executing code
25 |
26 | // wake semaphore
[18/37] Compiling slash URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLSession.swift:22:13: warning: mutation of captured var 'data' in concurrently-executing code
20 | URLSession.shared.dataTask(with: request) { (theData, theResponse, theError) -> Void in
21 | // extract information from callback
22 | data = theData
| `- warning: mutation of captured var 'data' in concurrently-executing code
23 | response = theResponse
24 | error = theError
/Users/admin/builder/spi-builder-workspace/Sources/URLSession.swift:23:13: warning: mutation of captured var 'response' in concurrently-executing code
21 | // extract information from callback
22 | data = theData
23 | response = theResponse
| `- warning: mutation of captured var 'response' in concurrently-executing code
24 | error = theError
25 |
/Users/admin/builder/spi-builder-workspace/Sources/URLSession.swift:24:13: warning: mutation of captured var 'error' in concurrently-executing code
22 | data = theData
23 | response = theResponse
24 | error = theError
| `- warning: mutation of captured var 'error' in concurrently-executing code
25 |
26 | // wake semaphore
[19/37] Compiling slash UserInputView.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLSession.swift:22:13: warning: mutation of captured var 'data' in concurrently-executing code
20 | URLSession.shared.dataTask(with: request) { (theData, theResponse, theError) -> Void in
21 | // extract information from callback
22 | data = theData
| `- warning: mutation of captured var 'data' in concurrently-executing code
23 | response = theResponse
24 | error = theError
/Users/admin/builder/spi-builder-workspace/Sources/URLSession.swift:23:13: warning: mutation of captured var 'response' in concurrently-executing code
21 | // extract information from callback
22 | data = theData
23 | response = theResponse
| `- warning: mutation of captured var 'response' in concurrently-executing code
24 | error = theError
25 |
/Users/admin/builder/spi-builder-workspace/Sources/URLSession.swift:24:13: warning: mutation of captured var 'error' in concurrently-executing code
22 | data = theData
23 | response = theResponse
24 | error = theError
| `- warning: mutation of captured var 'error' in concurrently-executing code
25 |
26 | // wake semaphore
[20/37] Compiling slash SlackUser.swift
[21/37] Compiling slash SlackWebClient.swift
[22/37] Compiling slash Socket.swift
[23/37] Compiling slash Application.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:60:44: warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
7 | import Foundation
8 |
9 | class Application {
| `- note: class 'Application' does not conform to the 'Sendable' protocol
10 |
11 | private let terminalDevice : TerminalDevice
:
58 | do {
59 | while true {
60 | if let event = try self.rtmClient.waitForEvent() {
| `- warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
61 | self.handleRealTimeSessionEvent(event)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:138:40: warning: immutable value 'reaction' was never used; consider replacing with '_' or removing it
136 | return
137 |
138 | case .messageReactionAdded(let reaction, let channel, let ts):
| `- warning: immutable value 'reaction' was never used; consider replacing with '_' or removing it
139 |
140 | if channel == self.selectedChannel {
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:138:67: warning: immutable value 'ts' was never used; consider replacing with '_' or removing it
136 | return
137 |
138 | case .messageReactionAdded(let reaction, let channel, let ts):
| `- warning: immutable value 'ts' was never used; consider replacing with '_' or removing it
139 |
140 | if channel == self.selectedChannel {
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:181:32: warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
7 | import Foundation
8 |
9 | class Application {
| `- note: class 'Application' does not conform to the 'Sendable' protocol
10 |
11 | private let terminalDevice : TerminalDevice
:
179 | DispatchQueue.global(qos: .background).async { [unowned self] in
180 | do {
181 | let rows = try self.webClient.history(for: channelId).map {
| `- warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
182 | self.messageListRowFor(message: $0)
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:182:21: warning: capture of 'self' with non-sendable type 'Application' in an isolated closure; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | class Application {
| `- note: class 'Application' does not conform to the 'Sendable' protocol
10 |
11 | private let terminalDevice : TerminalDevice
:
180 | do {
181 | let rows = try self.webClient.history(for: channelId).map {
182 | self.messageListRowFor(message: $0)
| `- warning: capture of 'self' with non-sendable type 'Application' in an isolated closure; this is an error in the Swift 6 language mode
183 | }
184 | //TODO notify about the results in a common queue for all the background tasks.
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter.swift:12:24: warning: static property 'terminalDevice' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct CrashReporter {
11 |
12 | private static var terminalDevice: TerminalDevice? = nil
| |- warning: static property 'terminalDevice' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'terminalDevice' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'terminalDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func watch(usingDevice device: TerminalDevice) {
[24/37] Compiling slash ChannelsListView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:60:44: warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
7 | import Foundation
8 |
9 | class Application {
| `- note: class 'Application' does not conform to the 'Sendable' protocol
10 |
11 | private let terminalDevice : TerminalDevice
:
58 | do {
59 | while true {
60 | if let event = try self.rtmClient.waitForEvent() {
| `- warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
61 | self.handleRealTimeSessionEvent(event)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:138:40: warning: immutable value 'reaction' was never used; consider replacing with '_' or removing it
136 | return
137 |
138 | case .messageReactionAdded(let reaction, let channel, let ts):
| `- warning: immutable value 'reaction' was never used; consider replacing with '_' or removing it
139 |
140 | if channel == self.selectedChannel {
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:138:67: warning: immutable value 'ts' was never used; consider replacing with '_' or removing it
136 | return
137 |
138 | case .messageReactionAdded(let reaction, let channel, let ts):
| `- warning: immutable value 'ts' was never used; consider replacing with '_' or removing it
139 |
140 | if channel == self.selectedChannel {
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:181:32: warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
7 | import Foundation
8 |
9 | class Application {
| `- note: class 'Application' does not conform to the 'Sendable' protocol
10 |
11 | private let terminalDevice : TerminalDevice
:
179 | DispatchQueue.global(qos: .background).async { [unowned self] in
180 | do {
181 | let rows = try self.webClient.history(for: channelId).map {
| `- warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
182 | self.messageListRowFor(message: $0)
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:182:21: warning: capture of 'self' with non-sendable type 'Application' in an isolated closure; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | class Application {
| `- note: class 'Application' does not conform to the 'Sendable' protocol
10 |
11 | private let terminalDevice : TerminalDevice
:
180 | do {
181 | let rows = try self.webClient.history(for: channelId).map {
182 | self.messageListRowFor(message: $0)
| `- warning: capture of 'self' with non-sendable type 'Application' in an isolated closure; this is an error in the Swift 6 language mode
183 | }
184 | //TODO notify about the results in a common queue for all the background tasks.
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter.swift:12:24: warning: static property 'terminalDevice' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct CrashReporter {
11 |
12 | private static var terminalDevice: TerminalDevice? = nil
| |- warning: static property 'terminalDevice' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'terminalDevice' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'terminalDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func watch(usingDevice device: TerminalDevice) {
[25/37] Compiling slash CrashReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:60:44: warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
7 | import Foundation
8 |
9 | class Application {
| `- note: class 'Application' does not conform to the 'Sendable' protocol
10 |
11 | private let terminalDevice : TerminalDevice
:
58 | do {
59 | while true {
60 | if let event = try self.rtmClient.waitForEvent() {
| `- warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
61 | self.handleRealTimeSessionEvent(event)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:138:40: warning: immutable value 'reaction' was never used; consider replacing with '_' or removing it
136 | return
137 |
138 | case .messageReactionAdded(let reaction, let channel, let ts):
| `- warning: immutable value 'reaction' was never used; consider replacing with '_' or removing it
139 |
140 | if channel == self.selectedChannel {
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:138:67: warning: immutable value 'ts' was never used; consider replacing with '_' or removing it
136 | return
137 |
138 | case .messageReactionAdded(let reaction, let channel, let ts):
| `- warning: immutable value 'ts' was never used; consider replacing with '_' or removing it
139 |
140 | if channel == self.selectedChannel {
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:181:32: warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
7 | import Foundation
8 |
9 | class Application {
| `- note: class 'Application' does not conform to the 'Sendable' protocol
10 |
11 | private let terminalDevice : TerminalDevice
:
179 | DispatchQueue.global(qos: .background).async { [unowned self] in
180 | do {
181 | let rows = try self.webClient.history(for: channelId).map {
| `- warning: capture of 'self' with non-sendable type 'Application' in a '@Sendable' closure
182 | self.messageListRowFor(message: $0)
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application.swift:182:21: warning: capture of 'self' with non-sendable type 'Application' in an isolated closure; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | class Application {
| `- note: class 'Application' does not conform to the 'Sendable' protocol
10 |
11 | private let terminalDevice : TerminalDevice
:
180 | do {
181 | let rows = try self.webClient.history(for: channelId).map {
182 | self.messageListRowFor(message: $0)
| `- warning: capture of 'self' with non-sendable type 'Application' in an isolated closure; this is an error in the Swift 6 language mode
183 | }
184 | //TODO notify about the results in a common queue for all the background tasks.
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter.swift:12:24: warning: static property 'terminalDevice' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct CrashReporter {
11 |
12 | private static var terminalDevice: TerminalDevice? = nil
| |- warning: static property 'terminalDevice' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'terminalDevice' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'terminalDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func watch(usingDevice device: TerminalDevice) {
[26/37] Compiling slash SlackIM.swift
[27/37] Compiling slash SlackMessage.swift
[28/37] Compiling slash SlackMessageReaction.swift
[29/37] Compiling slash SlackEmojiDecoder.swift
[30/37] Compiling slash SlackEvent.swift
[31/37] Compiling slash SlackGroup.swift
[32/37] Compiling slash SlackAdapter.swift
[33/37] Compiling slash SlackChannel.swift
[34/37] Compiling slash SlackContext.swift
[34/37] Write Objects.LinkFileList
[35/37] Linking slash
[36/37] Applying slash
Build complete! (7.83s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "slash",
"name" : "slash",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "slash",
"targets" : [
"slash"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "slash",
"module_type" : "SwiftTarget",
"name" : "slash",
"path" : "Sources",
"product_memberships" : [
"slash"
],
"sources" : [
"Application.swift",
"ChannelsListView.swift",
"CrashReporter.swift",
"MessagesListView.swift",
"R.swift",
"Server.swift",
"SlackAdapter.swift",
"SlackChannel.swift",
"SlackContext.swift",
"SlackEmojiDecoder.swift",
"SlackEvent.swift",
"SlackGroup.swift",
"SlackIM.swift",
"SlackMessage.swift",
"SlackMessageReaction.swift",
"SlackOAuth2.swift",
"SlackRealTimeClient.swift",
"SlackTeam.swift",
"SlackUser.swift",
"SlackWebClient.swift",
"Socket.swift",
"TLSSocket.swift",
"TerminalCanvas.swift",
"TerminalDevice.swift",
"TextLayout.swift",
"URLSession.swift",
"UserInputView.swift",
"Utils.swift",
"WebSocketClient.swift",
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.2"
}
Done.