Build Information
Failed to build ProrsumNet, reference master (941e0c
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 04:19:18 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
91 |
92 |
93 | extension String.CharacterView {
| `- warning: 'CharacterView' is deprecated: Please use String directly
94 | func index(of sequence: String.CharacterView) -> String.CharacterView.Index? {
95 | let seqString = String(sequence)
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:117:23: warning: static property 'whitespaceAndNewline' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
| |- warning: static property 'whitespaceAndNewline' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespaceAndNewline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |
119 | public static let digits: Characters = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:119:23: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
119 | public static let digits: Characters = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public static let uriQueryAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:121:23: warning: static property 'uriQueryAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
119 | public static let digits: Characters = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
120 |
121 | public static let uriQueryAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"
| |- warning: static property 'uriQueryAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriQueryAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | ]
123 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:125:23: warning: static property 'uriFragmentAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
123 |
124 |
125 | public static let uriFragmentAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"
| |- warning: static property 'uriFragmentAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriFragmentAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | ]
127 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:128:23: warning: static property 'uriPathAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
126 | ]
127 |
128 | public static let uriPathAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", "=", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriPathAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriPathAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | public static let uriHostAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "[", "]", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:130:23: warning: static property 'uriHostAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
128 | public static let uriPathAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", "=", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
129 |
130 | public static let uriHostAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "[", "]", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriHostAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriHostAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | public static let uriPasswordAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:132:23: warning: static property 'uriPasswordAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
130 | public static let uriHostAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "[", "]", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
131 |
132 | public static let uriPasswordAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriPasswordAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriPasswordAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | public static let uriUserAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:134:23: warning: static property 'uriUserAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
132 | public static let uriPasswordAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
133 |
134 | public static let uriUserAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriUserAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriUserAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | private let characters: Set<Character>
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:160:18: warning: 'CharacterView' is deprecated: Please use String directly
158 | }
159 |
160 | extension String.CharacterView {
| `- warning: 'CharacterView' is deprecated: Please use String directly
161 | func character(at i: Index, offsetBy offset: Int) -> Character? {
162 | var i = i
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:239:23: warning: static property 'whitespaceAndNewline' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
237 |
238 | extension UTF8 {
239 | public static var whitespaceAndNewline: Set<UTF8.CodeUnit> = [32, 10, 9, 13]
| |- warning: static property 'whitespaceAndNewline' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'whitespaceAndNewline' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'whitespaceAndNewline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 |
241 | public static var digits: Set<UTF8.CodeUnit> = [51, 49, 55, 53, 57, 50, 52, 48, 56, 54]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:241:23: warning: static property 'digits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | public static var whitespaceAndNewline: Set<UTF8.CodeUnit> = [32, 10, 9, 13]
240 |
241 | public static var digits: Set<UTF8.CodeUnit> = [51, 49, 55, 53, 57, 50, 52, 48, 56, 54]
| |- warning: static property 'digits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'digits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'digits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | public static var uriQueryAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:243:23: warning: static property 'uriQueryAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
241 | public static var digits: Set<UTF8.CodeUnit> = [51, 49, 55, 53, 57, 50, 52, 48, 56, 54]
242 |
243 | public static var uriQueryAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriQueryAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriQueryAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriQueryAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
244 |
245 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:246:23: warning: static property 'uriFragmentAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 |
246 | public static var uriFragmentAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriFragmentAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriFragmentAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriFragmentAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | public static var uriPathAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 43, 116, 115, 51, 64, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:248:23: warning: static property 'uriPathAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
246 | public static var uriFragmentAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
247 |
248 | public static var uriPathAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 43, 116, 115, 51, 64, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriPathAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriPathAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriPathAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | public static var uriHostAllowed: Set<UTF8.CodeUnit> = [91, 41, 106, 93, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:250:23: warning: static property 'uriHostAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
248 | public static var uriPathAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 43, 116, 115, 51, 64, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
249 |
250 | public static var uriHostAllowed: Set<UTF8.CodeUnit> = [91, 41, 106, 93, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriHostAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriHostAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriHostAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | public static var uriPasswordAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:252:23: warning: static property 'uriPasswordAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
250 | public static var uriHostAllowed: Set<UTF8.CodeUnit> = [91, 41, 106, 93, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
251 |
252 | public static var uriPasswordAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriPasswordAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriPasswordAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriPasswordAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
253 |
254 | public static var uriUserAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:254:23: warning: static property 'uriUserAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
252 | public static var uriPasswordAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
253 |
254 | public static var uriUserAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriUserAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriUserAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriUserAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 | }
256 |
[620/643] Compiling ProrsumNet Mode.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/Certificate.swift:68:6: warning: unexpected version number in 'available' attribute for non-specific platform '*'
66 |
67 | extension Certificates {
68 | @available(*, deprecated: 1.0, message: "Use `.openbsd` instead.")
| `- warning: unexpected version number in 'available' attribute for non-specific platform '*'
69 | public static var mozilla: Certificates {
70 | return .certificateAuthority(signature: .signedBytes(caCertificateBytes: mozilla_certs_pem.bytes))
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/SSLSocket.swift:140:21: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
138 | let pointer = UnsafeMutablePointer<UInt8>.allocate(capacity: max)
139 | defer {
140 | pointer.deallocate(capacity: max)
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/SSLSocket.swift:165:22: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer
163 |
164 | var totalBytesSent = 0
165 | let buffer = UnsafeBufferPointer<UInt8>(start: bytes, count: bytes.count)
| | |- note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer
166 | guard let bufferBaseAddress = buffer.baseAddress else {
167 | throw TLSError.send("Failed to get buffer base address")
[621/643] Compiling ProrsumNet SSLSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/Certificate.swift:68:6: warning: unexpected version number in 'available' attribute for non-specific platform '*'
66 |
67 | extension Certificates {
68 | @available(*, deprecated: 1.0, message: "Use `.openbsd` instead.")
| `- warning: unexpected version number in 'available' attribute for non-specific platform '*'
69 | public static var mozilla: Certificates {
70 | return .certificateAuthority(signature: .signedBytes(caCertificateBytes: mozilla_certs_pem.bytes))
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/SSLSocket.swift:140:21: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
138 | let pointer = UnsafeMutablePointer<UInt8>.allocate(capacity: max)
139 | defer {
140 | pointer.deallocate(capacity: max)
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/SSLSocket.swift:165:22: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer
163 |
164 | var totalBytesSent = 0
165 | let buffer = UnsafeBufferPointer<UInt8>(start: bytes, count: bytes.count)
| | |- note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer
166 | guard let bufferBaseAddress = buffer.baseAddress else {
167 | throw TLSError.send("Failed to get buffer base address")
[622/643] Compiling ProrsumNet SystemError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/Certificate.swift:68:6: warning: unexpected version number in 'available' attribute for non-specific platform '*'
66 |
67 | extension Certificates {
68 | @available(*, deprecated: 1.0, message: "Use `.openbsd` instead.")
| `- warning: unexpected version number in 'available' attribute for non-specific platform '*'
69 | public static var mozilla: Certificates {
70 | return .certificateAuthority(signature: .signedBytes(caCertificateBytes: mozilla_certs_pem.bytes))
[623/643] Compiling ProrsumNet Certificate.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/Certificate.swift:68:6: warning: unexpected version number in 'available' attribute for non-specific platform '*'
66 |
67 | extension Certificates {
68 | @available(*, deprecated: 1.0, message: "Use `.openbsd` instead.")
| `- warning: unexpected version number in 'available' attribute for non-specific platform '*'
69 | public static var mozilla: Certificates {
70 | return .certificateAuthority(signature: .signedBytes(caCertificateBytes: mozilla_certs_pem.bytes))
[624/643] Compiling ProrsumNet mozilla_certs.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/Certificate.swift:68:6: warning: unexpected version number in 'available' attribute for non-specific platform '*'
66 |
67 | extension Certificates {
68 | @available(*, deprecated: 1.0, message: "Use `.openbsd` instead.")
| `- warning: unexpected version number in 'available' attribute for non-specific platform '*'
69 | public static var mozilla: Certificates {
70 | return .certificateAuthority(signature: .signedBytes(caCertificateBytes: mozilla_certs_pem.bytes))
[625/643] Compiling ProrsumNet URL.swift
[626/643] Compiling ProrsumNet URandom.swift
[627/643] Compiling ProrsumNet Data.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:72:52: warning: 'CharacterView' is deprecated: Please use String directly
70 | }
71 |
72 | public func index(of string: String) -> String.CharacterView.Index? {
| `- warning: 'CharacterView' is deprecated: Please use String directly
73 | return characters.index(of: string.characters)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:94:36: warning: 'CharacterView' is deprecated: Please use String directly
92 |
93 | extension String.CharacterView {
94 | func index(of sequence: String.CharacterView) -> String.CharacterView.Index? {
| `- warning: 'CharacterView' is deprecated: Please use String directly
95 | let seqString = String(sequence)
96 | for (i, _) in enumerated() {
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:94:61: warning: 'CharacterView' is deprecated: Please use String directly
92 |
93 | extension String.CharacterView {
94 | func index(of sequence: String.CharacterView) -> String.CharacterView.Index? {
| `- warning: 'CharacterView' is deprecated: Please use String directly
95 | let seqString = String(sequence)
96 | for (i, _) in enumerated() {
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:94:10: error: invalid redeclaration of 'index(of:)'
92 |
93 | extension String.CharacterView {
94 | func index(of sequence: String.CharacterView) -> String.CharacterView.Index? {
| `- error: invalid redeclaration of 'index(of:)'
95 | let seqString = String(sequence)
96 | for (i, _) in enumerated() {
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:93:18: warning: 'CharacterView' is deprecated: Please use String directly
91 |
92 |
93 | extension String.CharacterView {
| `- warning: 'CharacterView' is deprecated: Please use String directly
94 | func index(of sequence: String.CharacterView) -> String.CharacterView.Index? {
95 | let seqString = String(sequence)
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:117:23: warning: static property 'whitespaceAndNewline' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
| |- warning: static property 'whitespaceAndNewline' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespaceAndNewline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |
119 | public static let digits: Characters = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:119:23: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
119 | public static let digits: Characters = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public static let uriQueryAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:121:23: warning: static property 'uriQueryAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
119 | public static let digits: Characters = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
120 |
121 | public static let uriQueryAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"
| |- warning: static property 'uriQueryAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriQueryAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | ]
123 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:125:23: warning: static property 'uriFragmentAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
123 |
124 |
125 | public static let uriFragmentAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"
| |- warning: static property 'uriFragmentAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriFragmentAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | ]
127 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:128:23: warning: static property 'uriPathAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
126 | ]
127 |
128 | public static let uriPathAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", "=", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriPathAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriPathAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | public static let uriHostAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "[", "]", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:130:23: warning: static property 'uriHostAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
128 | public static let uriPathAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", "=", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
129 |
130 | public static let uriHostAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "[", "]", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriHostAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriHostAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | public static let uriPasswordAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:132:23: warning: static property 'uriPasswordAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
130 | public static let uriHostAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "[", "]", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
131 |
132 | public static let uriPasswordAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriPasswordAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriPasswordAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | public static let uriUserAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:134:23: warning: static property 'uriUserAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
132 | public static let uriPasswordAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
133 |
134 | public static let uriUserAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriUserAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriUserAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | private let characters: Set<Character>
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:160:18: warning: 'CharacterView' is deprecated: Please use String directly
158 | }
159 |
160 | extension String.CharacterView {
| `- warning: 'CharacterView' is deprecated: Please use String directly
161 | func character(at i: Index, offsetBy offset: Int) -> Character? {
162 | var i = i
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:239:23: warning: static property 'whitespaceAndNewline' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
237 |
238 | extension UTF8 {
239 | public static var whitespaceAndNewline: Set<UTF8.CodeUnit> = [32, 10, 9, 13]
| |- warning: static property 'whitespaceAndNewline' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'whitespaceAndNewline' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'whitespaceAndNewline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 |
241 | public static var digits: Set<UTF8.CodeUnit> = [51, 49, 55, 53, 57, 50, 52, 48, 56, 54]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:241:23: warning: static property 'digits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | public static var whitespaceAndNewline: Set<UTF8.CodeUnit> = [32, 10, 9, 13]
240 |
241 | public static var digits: Set<UTF8.CodeUnit> = [51, 49, 55, 53, 57, 50, 52, 48, 56, 54]
| |- warning: static property 'digits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'digits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'digits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | public static var uriQueryAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:243:23: warning: static property 'uriQueryAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
241 | public static var digits: Set<UTF8.CodeUnit> = [51, 49, 55, 53, 57, 50, 52, 48, 56, 54]
242 |
243 | public static var uriQueryAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriQueryAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriQueryAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriQueryAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
244 |
245 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:246:23: warning: static property 'uriFragmentAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 |
246 | public static var uriFragmentAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriFragmentAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriFragmentAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriFragmentAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | public static var uriPathAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 43, 116, 115, 51, 64, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:248:23: warning: static property 'uriPathAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
246 | public static var uriFragmentAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
247 |
248 | public static var uriPathAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 43, 116, 115, 51, 64, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriPathAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriPathAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriPathAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | public static var uriHostAllowed: Set<UTF8.CodeUnit> = [91, 41, 106, 93, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:250:23: warning: static property 'uriHostAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
248 | public static var uriPathAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 43, 116, 115, 51, 64, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
249 |
250 | public static var uriHostAllowed: Set<UTF8.CodeUnit> = [91, 41, 106, 93, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriHostAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriHostAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriHostAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | public static var uriPasswordAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:252:23: warning: static property 'uriPasswordAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
250 | public static var uriHostAllowed: Set<UTF8.CodeUnit> = [91, 41, 106, 93, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
251 |
252 | public static var uriPasswordAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriPasswordAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriPasswordAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriPasswordAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
253 |
254 | public static var uriUserAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:254:23: warning: static property 'uriUserAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
252 | public static var uriPasswordAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
253 |
254 | public static var uriUserAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriUserAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriUserAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriUserAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 | }
256 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:31:28: warning: 'characters' is deprecated: Please use String directly
29 |
30 | public func capitalizedWord() -> String {
31 | return String(self.characters.prefix(1)).uppercased() + String(self.characters.dropFirst()).lowercased()
| `- warning: 'characters' is deprecated: Please use String directly
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:31:77: warning: 'characters' is deprecated: Please use String directly
29 |
30 | public func capitalizedWord() -> String {
31 | return String(self.characters.prefix(1)).uppercased() + String(self.characters.dropFirst()).lowercased()
| `- warning: 'characters' is deprecated: Please use String directly
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:35:27: error: ambiguous use of 'split(separator:maxSplits:omittingEmptySubsequences:)'
32 | }
33 |
34 | public func split(separator: Character, maxSplits: Int = .max, omittingEmptySubsequences: Bool = true) -> [String] {
| `- note: found this candidate
35 | return characters.split(separator: separator, maxSplits: maxSplits, omittingEmptySubsequences: omittingEmptySubsequences).map(String.init)
| `- error: ambiguous use of 'split(separator:maxSplits:omittingEmptySubsequences:)'
36 | }
37 |
Swift.Sequence:2:40: note: found this candidate in module 'Swift'
1 | extension Sequence where Self.Element : Equatable {
2 | @inlinable public __consuming func split(separator: Self.Element, maxSplits: Int = Int.max, omittingEmptySubsequences: Bool = true) -> [ArraySlice<Self.Element>]
| `- note: found this candidate in module 'Swift'
3 | }
Swift.Collection:2:40: note: found this candidate in module 'Swift'
1 | extension Collection where Self.Element : Equatable {
2 | @inlinable public __consuming func split(separator: Self.Element, maxSplits: Int = Int.max, omittingEmptySubsequences: Bool = true) -> [Self.SubSequence]
| `- note: found this candidate in module 'Swift'
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:49:35: warning: 'characters' is deprecated: Please use String directly
47 | var start = 0
48 |
49 | for (index, character) in characters.enumerated() {
| `- warning: 'characters' is deprecated: Please use String directly
50 | if !characterSet.contains(character: character) {
51 | start = index
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:62:35: warning: 'characters' is deprecated: Please use String directly
60 | var end = 0
61 |
62 | for (index, character) in characters.reversed().enumerated() {
| `- warning: 'characters' is deprecated: Please use String directly
63 | if !characterSet.contains(character: character) {
64 | end = index
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:73:16: warning: 'characters' is deprecated: Please use String directly
71 |
72 | public func index(of string: String) -> String.CharacterView.Index? {
73 | return characters.index(of: string.characters)
| `- warning: 'characters' is deprecated: Please use String directly
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:73:44: warning: 'characters' is deprecated: Please use String directly
71 |
72 | public func index(of string: String) -> String.CharacterView.Index? {
73 | return characters.index(of: string.characters)
| `- warning: 'characters' is deprecated: Please use String directly
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:84:38: warning: 'characters' is deprecated: Please use String directly
82 | extension String {
83 | public func has(prefix: String) -> Bool {
84 | return prefix == String(self.characters.prefix(prefix.characters.count))
| `- warning: 'characters' is deprecated: Please use String directly
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:84:63: warning: 'characters' is deprecated: Please use String directly
82 | extension String {
83 | public func has(prefix: String) -> Bool {
84 | return prefix == String(self.characters.prefix(prefix.characters.count))
| `- warning: 'characters' is deprecated: Please use String directly
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:88:38: warning: 'characters' is deprecated: Please use String directly
86 |
87 | public func has(suffix: String) -> Bool {
88 | return suffix == String(self.characters.suffix(suffix.characters.count))
| `- warning: 'characters' is deprecated: Please use String directly
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:88:63: warning: 'characters' is deprecated: Please use String directly
86 |
87 | public func has(suffix: String) -> Bool {
88 | return suffix == String(self.characters.suffix(suffix.characters.count))
| `- warning: 'characters' is deprecated: Please use String directly
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:172:41: warning: 'characters' is deprecated: Please use String directly
170 | extension String {
171 | public init(percentEncoded: String) throws {
172 | let characters = percentEncoded.characters
| `- warning: 'characters' is deprecated: Please use String directly
173 | var decoded = ""
174 | var index = characters.startIndex
[628/643] Compiling ProrsumNet String.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:72:52: warning: 'CharacterView' is deprecated: Please use String directly
70 | }
71 |
72 | public func index(of string: String) -> String.CharacterView.Index? {
| `- warning: 'CharacterView' is deprecated: Please use String directly
73 | return characters.index(of: string.characters)
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:94:36: warning: 'CharacterView' is deprecated: Please use String directly
92 |
93 | extension String.CharacterView {
94 | func index(of sequence: String.CharacterView) -> String.CharacterView.Index? {
| `- warning: 'CharacterView' is deprecated: Please use String directly
95 | let seqString = String(sequence)
96 | for (i, _) in enumerated() {
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:94:61: warning: 'CharacterView' is deprecated: Please use String directly
92 |
93 | extension String.CharacterView {
94 | func index(of sequence: String.CharacterView) -> String.CharacterView.Index? {
| `- warning: 'CharacterView' is deprecated: Please use String directly
95 | let seqString = String(sequence)
96 | for (i, _) in enumerated() {
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:94:10: error: invalid redeclaration of 'index(of:)'
92 |
93 | extension String.CharacterView {
94 | func index(of sequence: String.CharacterView) -> String.CharacterView.Index? {
| `- error: invalid redeclaration of 'index(of:)'
95 | let seqString = String(sequence)
96 | for (i, _) in enumerated() {
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:93:18: warning: 'CharacterView' is deprecated: Please use String directly
91 |
92 |
93 | extension String.CharacterView {
| `- warning: 'CharacterView' is deprecated: Please use String directly
94 | func index(of sequence: String.CharacterView) -> String.CharacterView.Index? {
95 | let seqString = String(sequence)
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:117:23: warning: static property 'whitespaceAndNewline' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
| |- warning: static property 'whitespaceAndNewline' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespaceAndNewline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |
119 | public static let digits: Characters = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:119:23: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
119 | public static let digits: Characters = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public static let uriQueryAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:121:23: warning: static property 'uriQueryAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
119 | public static let digits: Characters = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
120 |
121 | public static let uriQueryAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"
| |- warning: static property 'uriQueryAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriQueryAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | ]
123 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:125:23: warning: static property 'uriFragmentAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
123 |
124 |
125 | public static let uriFragmentAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"
| |- warning: static property 'uriFragmentAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriFragmentAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | ]
127 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:128:23: warning: static property 'uriPathAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
126 | ]
127 |
128 | public static let uriPathAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", "=", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriPathAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriPathAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | public static let uriHostAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "[", "]", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:130:23: warning: static property 'uriHostAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
128 | public static let uriPathAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", "=", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
129 |
130 | public static let uriHostAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "[", "]", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriHostAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriHostAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | public static let uriPasswordAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:132:23: warning: static property 'uriPasswordAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
130 | public static let uriHostAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "[", "]", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
131 |
132 | public static let uriPasswordAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriPasswordAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriPasswordAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | public static let uriUserAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:134:23: warning: static property 'uriUserAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | public struct Characters : ExpressibleByArrayLiteral {
| `- note: consider making struct 'Characters' conform to the 'Sendable' protocol
117 | public static let whitespaceAndNewline: Characters = [" ", "\t", "\r", "\n"]
118 |
:
132 | public static let uriPasswordAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
133 |
134 | public static let uriUserAllowed: Characters = ["!", "$", "&", "\'", "(", ")", "*", "+", ",", "-", ".", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ";", "=", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "~"]
| |- warning: static property 'uriUserAllowed' is not concurrency-safe because non-'Sendable' type 'Characters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uriUserAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | private let characters: Set<Character>
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:160:18: warning: 'CharacterView' is deprecated: Please use String directly
158 | }
159 |
160 | extension String.CharacterView {
| `- warning: 'CharacterView' is deprecated: Please use String directly
161 | func character(at i: Index, offsetBy offset: Int) -> Character? {
162 | var i = i
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:239:23: warning: static property 'whitespaceAndNewline' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
237 |
238 | extension UTF8 {
239 | public static var whitespaceAndNewline: Set<UTF8.CodeUnit> = [32, 10, 9, 13]
| |- warning: static property 'whitespaceAndNewline' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'whitespaceAndNewline' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'whitespaceAndNewline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 |
241 | public static var digits: Set<UTF8.CodeUnit> = [51, 49, 55, 53, 57, 50, 52, 48, 56, 54]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:241:23: warning: static property 'digits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | public static var whitespaceAndNewline: Set<UTF8.CodeUnit> = [32, 10, 9, 13]
240 |
241 | public static var digits: Set<UTF8.CodeUnit> = [51, 49, 55, 53, 57, 50, 52, 48, 56, 54]
| |- warning: static property 'digits' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'digits' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'digits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | public static var uriQueryAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:243:23: warning: static property 'uriQueryAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
241 | public static var digits: Set<UTF8.CodeUnit> = [51, 49, 55, 53, 57, 50, 52, 48, 56, 54]
242 |
243 | public static var uriQueryAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriQueryAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriQueryAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriQueryAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
244 |
245 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:246:23: warning: static property 'uriFragmentAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 |
246 | public static var uriFragmentAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriFragmentAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriFragmentAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriFragmentAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | public static var uriPathAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 43, 116, 115, 51, 64, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:248:23: warning: static property 'uriPathAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
246 | public static var uriFragmentAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 59, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 63, 43, 116, 115, 51, 64, 110, 104, 61, 66, 73, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
247 |
248 | public static var uriPathAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 43, 116, 115, 51, 64, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriPathAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriPathAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriPathAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | public static var uriHostAllowed: Set<UTF8.CodeUnit> = [91, 41, 106, 93, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:250:23: warning: static property 'uriHostAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
248 | public static var uriPathAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 47, 39, 67, 46, 50, 84, 81, 108, 95, 103, 90, 118, 78, 45, 43, 116, 115, 51, 64, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
249 |
250 | public static var uriHostAllowed: Set<UTF8.CodeUnit> = [91, 41, 106, 93, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriHostAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriHostAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriHostAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | public static var uriPasswordAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:252:23: warning: static property 'uriPasswordAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
250 | public static var uriHostAllowed: Set<UTF8.CodeUnit> = [91, 41, 106, 93, 77, 49, 38, 74, 120, 68, 99, 102, 42, 58, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
251 |
252 | public static var uriPasswordAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriPasswordAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriPasswordAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriPasswordAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
253 |
254 | public static var uriUserAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:254:23: warning: static property 'uriUserAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
252 | public static var uriPasswordAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
253 |
254 | public static var uriUserAllowed: Set<UTF8.CodeUnit> = [41, 106, 77, 49, 38, 74, 120, 68, 99, 102, 42, 59, 39, 67, 46, 50, 84, 108, 95, 81, 103, 90, 118, 78, 45, 43, 116, 115, 51, 110, 104, 73, 61, 66, 105, 98, 79, 107, 65, 101, 117, 40, 71, 83, 82, 87, 72, 76, 70, 88, 114, 122, 109, 44, 86, 80, 113, 111, 75, 121, 55, 100, 52, 48, 56, 33, 54, 85, 89, 97, 53, 112, 36, 57, 126, 69, 119]
| |- warning: static property 'uriUserAllowed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uriUserAllowed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'uriUserAllowed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 | }
256 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:31:28: warning: 'characters' is deprecated: Please use String directly
29 |
30 | public func capitalizedWord() -> String {
31 | return String(self.characters.prefix(1)).uppercased() + String(self.characters.dropFirst()).lowercased()
| `- warning: 'characters' is deprecated: Please use String directly
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:31:77: warning: 'characters' is deprecated: Please use String directly
29 |
30 | public func capitalizedWord() -> String {
31 | return String(self.characters.prefix(1)).uppercased() + String(self.characters.dropFirst()).lowercased()
| `- warning: 'characters' is deprecated: Please use String directly
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:35:27: error: ambiguous use of 'split(separator:maxSplits:omittingEmptySubsequences:)'
32 | }
33 |
34 | public func split(separator: Character, maxSplits: Int = .max, omittingEmptySubsequences: Bool = true) -> [String] {
| `- note: found this candidate
35 | return characters.split(separator: separator, maxSplits: maxSplits, omittingEmptySubsequences: omittingEmptySubsequences).map(String.init)
| `- error: ambiguous use of 'split(separator:maxSplits:omittingEmptySubsequences:)'
36 | }
37 |
Swift.Sequence:2:40: note: found this candidate in module 'Swift'
1 | extension Sequence where Self.Element : Equatable {
2 | @inlinable public __consuming func split(separator: Self.Element, maxSplits: Int = Int.max, omittingEmptySubsequences: Bool = true) -> [ArraySlice<Self.Element>]
| `- note: found this candidate in module 'Swift'
3 | }
Swift.Collection:2:40: note: found this candidate in module 'Swift'
1 | extension Collection where Self.Element : Equatable {
2 | @inlinable public __consuming func split(separator: Self.Element, maxSplits: Int = Int.max, omittingEmptySubsequences: Bool = true) -> [Self.SubSequence]
| `- note: found this candidate in module 'Swift'
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:49:35: warning: 'characters' is deprecated: Please use String directly
47 | var start = 0
48 |
49 | for (index, character) in characters.enumerated() {
| `- warning: 'characters' is deprecated: Please use String directly
50 | if !characterSet.contains(character: character) {
51 | start = index
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:62:35: warning: 'characters' is deprecated: Please use String directly
60 | var end = 0
61 |
62 | for (index, character) in characters.reversed().enumerated() {
| `- warning: 'characters' is deprecated: Please use String directly
63 | if !characterSet.contains(character: character) {
64 | end = index
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:73:16: warning: 'characters' is deprecated: Please use String directly
71 |
72 | public func index(of string: String) -> String.CharacterView.Index? {
73 | return characters.index(of: string.characters)
| `- warning: 'characters' is deprecated: Please use String directly
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:73:44: warning: 'characters' is deprecated: Please use String directly
71 |
72 | public func index(of string: String) -> String.CharacterView.Index? {
73 | return characters.index(of: string.characters)
| `- warning: 'characters' is deprecated: Please use String directly
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:84:38: warning: 'characters' is deprecated: Please use String directly
82 | extension String {
83 | public func has(prefix: String) -> Bool {
84 | return prefix == String(self.characters.prefix(prefix.characters.count))
| `- warning: 'characters' is deprecated: Please use String directly
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:84:63: warning: 'characters' is deprecated: Please use String directly
82 | extension String {
83 | public func has(prefix: String) -> Bool {
84 | return prefix == String(self.characters.prefix(prefix.characters.count))
| `- warning: 'characters' is deprecated: Please use String directly
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:88:38: warning: 'characters' is deprecated: Please use String directly
86 |
87 | public func has(suffix: String) -> Bool {
88 | return suffix == String(self.characters.suffix(suffix.characters.count))
| `- warning: 'characters' is deprecated: Please use String directly
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:88:63: warning: 'characters' is deprecated: Please use String directly
86 |
87 | public func has(suffix: String) -> Bool {
88 | return suffix == String(self.characters.suffix(suffix.characters.count))
| `- warning: 'characters' is deprecated: Please use String directly
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/String.swift:172:41: warning: 'characters' is deprecated: Please use String directly
170 | extension String {
171 | public init(percentEncoded: String) throws {
172 | let characters = percentEncoded.characters
| `- warning: 'characters' is deprecated: Please use String directly
173 | var decoded = ""
174 | var index = characters.startIndex
[629/643] Compiling ProrsumNet openbsd_certs.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/Certificate.swift:68:6: warning: unexpected version number in 'available' attribute for non-specific platform '*'
66 |
67 | extension Certificates {
68 | @available(*, deprecated: 1.0, message: "Use `.openbsd` instead.")
| `- warning: unexpected version number in 'available' attribute for non-specific platform '*'
69 | public static var mozilla: Certificates {
70 | return .certificateAuthority(signature: .signedBytes(caCertificateBytes: mozilla_certs_pem.bytes))
[630/643] Compiling ProrsumNet Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/Certificate.swift:68:6: warning: unexpected version number in 'available' attribute for non-specific platform '*'
66 |
67 | extension Certificates {
68 | @available(*, deprecated: 1.0, message: "Use `.openbsd` instead.")
| `- warning: unexpected version number in 'available' attribute for non-specific platform '*'
69 | public static var mozilla: Certificates {
70 | return .certificateAuthority(signature: .signedBytes(caCertificateBytes: mozilla_certs_pem.bytes))
[631/643] Compiling ProrsumNet Address.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:118:21: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
116 | self.isResolved = isResolved
117 |
118 | strData.deallocate(capacity: Int(maxLen))
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
119 |
120 | case .inet6:
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:132:21: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
130 | self.isResolved = isResolved
131 |
132 | strData.deallocate(capacity: Int(maxLen))
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
133 | default:
134 | throw AddressError.unsupportedAddressFamily
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:176:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
174 | let addr = UnsafeMutablePointer<sockaddr_in>.init(OpaquePointer(addrInfo))!
175 | let specPtr = UnsafeMutablePointer<sockaddr_in>(OpaquePointer(sockStorageRef))
176 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
177 | address = try Address(raw: sockStorageRef, addressFamily: .inet, isResolved: true)
178 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:182:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
180 | let addr = UnsafeMutablePointer<sockaddr_in6>.init(OpaquePointer(addrInfo))!
181 | let specPtr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(sockStorageRef))
182 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
183 | address = try Address(raw: sockStorageRef, addressFamily: .inet, isResolved: true)
184 | default:
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:194:25: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
192 |
193 | deinit {
194 | sockStorageRef?.deallocate(capacity: 1)
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
195 | }
196 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:35:9: warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
33 | import Darwin
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
| |- warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_bind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:36:9: warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
| |- warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_accept' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:37:9: warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
| |- warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_listen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:38:9: warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
| |- warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_connect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:39:9: warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
| |- warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_close' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:40:9: warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
| |- warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_socket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:41:9: warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
| |- warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recv' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:42:9: warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
| |- warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_send' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:43:9: warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
| |- warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recvfrom' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | let sys_sendto = Darwin.sendto
45 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:44:9: warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
| |- warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_sendto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | let SOCK_NOSIGNAL = Darwin.SO_NOSIGPIPE
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/Certificate.swift:68:6: warning: unexpected version number in 'available' attribute for non-specific platform '*'
66 |
67 | extension Certificates {
68 | @available(*, deprecated: 1.0, message: "Use `.openbsd` instead.")
| `- warning: unexpected version number in 'available' attribute for non-specific platform '*'
69 | public static var mozilla: Certificates {
70 | return .certificateAuthority(signature: .signedBytes(caCertificateBytes: mozilla_certs_pem.bytes))
[632/643] Compiling ProrsumNet Net.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:118:21: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
116 | self.isResolved = isResolved
117 |
118 | strData.deallocate(capacity: Int(maxLen))
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
119 |
120 | case .inet6:
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:132:21: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
130 | self.isResolved = isResolved
131 |
132 | strData.deallocate(capacity: Int(maxLen))
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
133 | default:
134 | throw AddressError.unsupportedAddressFamily
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:176:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
174 | let addr = UnsafeMutablePointer<sockaddr_in>.init(OpaquePointer(addrInfo))!
175 | let specPtr = UnsafeMutablePointer<sockaddr_in>(OpaquePointer(sockStorageRef))
176 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
177 | address = try Address(raw: sockStorageRef, addressFamily: .inet, isResolved: true)
178 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:182:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
180 | let addr = UnsafeMutablePointer<sockaddr_in6>.init(OpaquePointer(addrInfo))!
181 | let specPtr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(sockStorageRef))
182 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
183 | address = try Address(raw: sockStorageRef, addressFamily: .inet, isResolved: true)
184 | default:
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:194:25: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
192 |
193 | deinit {
194 | sockStorageRef?.deallocate(capacity: 1)
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
195 | }
196 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:35:9: warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
33 | import Darwin
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
| |- warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_bind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:36:9: warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
| |- warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_accept' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:37:9: warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
| |- warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_listen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:38:9: warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
| |- warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_connect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:39:9: warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
| |- warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_close' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:40:9: warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
| |- warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_socket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:41:9: warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
| |- warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recv' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:42:9: warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
| |- warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_send' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:43:9: warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
| |- warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recvfrom' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | let sys_sendto = Darwin.sendto
45 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:44:9: warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
| |- warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_sendto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | let SOCK_NOSIGNAL = Darwin.SO_NOSIGPIPE
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/Certificate.swift:68:6: warning: unexpected version number in 'available' attribute for non-specific platform '*'
66 |
67 | extension Certificates {
68 | @available(*, deprecated: 1.0, message: "Use `.openbsd` instead.")
| `- warning: unexpected version number in 'available' attribute for non-specific platform '*'
69 | public static var mozilla: Certificates {
70 | return .certificateAuthority(signature: .signedBytes(caCertificateBytes: mozilla_certs_pem.bytes))
[633/643] Compiling ProrsumNet SSLTCPStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:118:21: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
116 | self.isResolved = isResolved
117 |
118 | strData.deallocate(capacity: Int(maxLen))
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
119 |
120 | case .inet6:
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:132:21: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
130 | self.isResolved = isResolved
131 |
132 | strData.deallocate(capacity: Int(maxLen))
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
133 | default:
134 | throw AddressError.unsupportedAddressFamily
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:176:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
174 | let addr = UnsafeMutablePointer<sockaddr_in>.init(OpaquePointer(addrInfo))!
175 | let specPtr = UnsafeMutablePointer<sockaddr_in>(OpaquePointer(sockStorageRef))
176 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
177 | address = try Address(raw: sockStorageRef, addressFamily: .inet, isResolved: true)
178 |
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:182:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
180 | let addr = UnsafeMutablePointer<sockaddr_in6>.init(OpaquePointer(addrInfo))!
181 | let specPtr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(sockStorageRef))
182 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
183 | address = try Address(raw: sockStorageRef, addressFamily: .inet, isResolved: true)
184 | default:
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Address.swift:194:25: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
192 |
193 | deinit {
194 | sockStorageRef?.deallocate(capacity: 1)
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
195 | }
196 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:35:9: warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
33 | import Darwin
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
| |- warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_bind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:36:9: warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
| |- warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_accept' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:37:9: warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
| |- warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_listen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:38:9: warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
| |- warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_connect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:39:9: warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
| |- warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_close' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:40:9: warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
| |- warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_socket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:41:9: warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
| |- warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recv' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:42:9: warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
| |- warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_send' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:43:9: warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
| |- warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recvfrom' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | let sys_sendto = Darwin.sendto
45 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:44:9: warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
| |- warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_sendto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | let SOCK_NOSIGNAL = Darwin.SO_NOSIGPIPE
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/TLS/Certificate.swift:68:6: warning: unexpected version number in 'available' attribute for non-specific platform '*'
66 |
67 | extension Certificates {
68 | @available(*, deprecated: 1.0, message: "Use `.openbsd` instead.")
| `- warning: unexpected version number in 'available' attribute for non-specific platform '*'
69 | public static var mozilla: Certificates {
70 | return .certificateAuthority(signature: .signedBytes(caCertificateBytes: mozilla_certs_pem.bytes))
[634/643] Compiling ProrsumNet Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/CaseInsensitiveString.swift:32:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'CaseInsensitiveString' to 'Hashable' by implementing 'hash(into:)' instead
30 |
31 | extension CaseInsensitiveString : Hashable {
32 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'CaseInsensitiveString' to 'Hashable' by implementing 'hash(into:)' instead
33 | return string.lowercased().hashValue
34 | }
[635/643] Compiling ProrsumNet CaseInsensitiveString.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Util/CaseInsensitiveString.swift:32:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'CaseInsensitiveString' to 'Hashable' by implementing 'hash(into:)' instead
30 |
31 | extension CaseInsensitiveString : Hashable {
32 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'CaseInsensitiveString' to 'Hashable' by implementing 'hash(into:)' instead
33 | return string.lowercased().hashValue
34 | }
[636/643] Compiling ProrsumNet Context.swift
[637/643] Compiling ProrsumNet Error.swift
[638/643] Compiling ProrsumNet TCPSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/TCPSocket.swift:40:18: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
38 | let addrSockAddr = UnsafeMutablePointer<sockaddr>(OpaquePointer(addr))
39 | defer {
40 | addr.deallocate(capacity: 1)
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
41 | }
42 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:36:9: warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
| |- warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_accept' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:40:9: warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
| |- warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_socket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:43:9: warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
| |- warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recvfrom' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | let sys_sendto = Darwin.sendto
45 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:44:9: warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
| |- warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_sendto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | let SOCK_NOSIGNAL = Darwin.SO_NOSIGPIPE
[639/643] Compiling ProrsumNet TCPStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/TCPSocket.swift:40:18: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
38 | let addrSockAddr = UnsafeMutablePointer<sockaddr>(OpaquePointer(addr))
39 | defer {
40 | addr.deallocate(capacity: 1)
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
41 | }
42 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:36:9: warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
| |- warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_accept' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:40:9: warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
| |- warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_socket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:43:9: warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
| |- warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recvfrom' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | let sys_sendto = Darwin.sendto
45 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:44:9: warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
| |- warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_sendto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | let SOCK_NOSIGNAL = Darwin.SO_NOSIGPIPE
[640/643] Compiling ProrsumNet UDPSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/TCPSocket.swift:40:18: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
38 | let addrSockAddr = UnsafeMutablePointer<sockaddr>(OpaquePointer(addr))
39 | defer {
40 | addr.deallocate(capacity: 1)
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
41 | }
42 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:36:9: warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
| |- warning: let 'sys_accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_accept' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:40:9: warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
| |- warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_socket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:43:9: warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
| |- warning: let 'sys_recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recvfrom' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | let sys_sendto = Darwin.sendto
45 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:44:9: warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
| |- warning: let 'sys_sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_sendto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | let SOCK_NOSIGNAL = Darwin.SO_NOSIGPIPE
[641/643] Compiling ProrsumNet Socket.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:38:9: warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
| |- warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_connect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:35:9: warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
33 | import Darwin
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
| |- warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_bind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:39:9: warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
| |- warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_close' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:40:9: warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
| |- warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_socket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:41:9: warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
| |- warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recv' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:42:9: warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
| |- warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_send' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:37:9: warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
| |- warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_listen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/TCPServer.swift:60:56: warning: capture of 'self' with non-sendable type 'TCPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 | private let tcpIncommingRequestHandleQ = DispatchQueue(label: "prorsum.tcp.concurrent-queue", attributes: .concurrent)
15 |
16 | public final class TCPServer {
| `- note: class 'TCPServer' does not conform to the 'Sendable' protocol
17 | let stream: TCPStream
18 |
:
58 | tcpIncommingRequestHandleQ.async {
59 | do {
60 | let client = try TCPStream(socket: self.stream.socket.accept())
| `- warning: capture of 'self' with non-sendable type 'TCPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | self.handler(client)
62 | } catch {
[642/643] Compiling ProrsumNet Stream.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:38:9: warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
| |- warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_connect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:35:9: warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
33 | import Darwin
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
| |- warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_bind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:39:9: warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
| |- warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_close' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:40:9: warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
| |- warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_socket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:41:9: warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
| |- warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recv' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:42:9: warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
| |- warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_send' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:37:9: warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
| |- warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_listen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/TCPServer.swift:60:56: warning: capture of 'self' with non-sendable type 'TCPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 | private let tcpIncommingRequestHandleQ = DispatchQueue(label: "prorsum.tcp.concurrent-queue", attributes: .concurrent)
15 |
16 | public final class TCPServer {
| `- note: class 'TCPServer' does not conform to the 'Sendable' protocol
17 | let stream: TCPStream
18 |
:
58 | tcpIncommingRequestHandleQ.async {
59 | do {
60 | let client = try TCPStream(socket: self.stream.socket.accept())
| `- warning: capture of 'self' with non-sendable type 'TCPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | self.handler(client)
62 | } catch {
[643/643] Compiling ProrsumNet TCPServer.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:38:9: warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
| |- warning: let 'sys_connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_connect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:35:9: warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
33 | import Darwin
34 | let sys_off_t = Darwin.off_t()
35 | let sys_bind = Darwin.bind
| |- warning: let 'sys_bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_bind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:39:9: warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
37 | let sys_listen = Darwin.listen
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
| |- warning: let 'sys_close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_close' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:40:9: warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
| |- warning: let 'sys_socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_socket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:41:9: warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
39 | let sys_close = Darwin.close
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
| |- warning: let 'sys_recv' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_recv' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | let sys_send = Darwin.send
43 | let sys_recvfrom = Darwin.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:42:9: warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
40 | let sys_socket = Darwin.socket
41 | let sys_recv = Darwin.recv
42 | let sys_send = Darwin.send
| |- warning: let 'sys_send' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_send' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | let sys_recvfrom = Darwin.recvfrom
44 | let sys_sendto = Darwin.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/Net.swift:37:9: warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
35 | let sys_bind = Darwin.bind
36 | let sys_accept = Darwin.accept
37 | let sys_listen = Darwin.listen
| |- warning: let 'sys_listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sys_listen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | let sys_connect = Darwin.connect
39 | let sys_close = Darwin.close
/Users/admin/builder/spi-builder-workspace/Sources/ProrsumNet/Net/TCPServer.swift:60:56: warning: capture of 'self' with non-sendable type 'TCPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 | private let tcpIncommingRequestHandleQ = DispatchQueue(label: "prorsum.tcp.concurrent-queue", attributes: .concurrent)
15 |
16 | public final class TCPServer {
| `- note: class 'TCPServer' does not conform to the 'Sendable' protocol
17 | let stream: TCPStream
18 |
:
58 | tcpIncommingRequestHandleQ.async {
59 | do {
60 | let client = try TCPStream(socket: self.stream.socket.accept())
| `- warning: capture of 'self' with non-sendable type 'TCPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | self.handler(client)
62 | } catch {
Updating https://github.com/vapor/clibressl.git
Updated https://github.com/vapor/clibressl.git (0.50s)
Computing version for https://github.com/vapor/clibressl.git
Computed https://github.com/vapor/clibressl.git at 1.0.1 (0.66s)
Creating working copy for https://github.com/vapor/clibressl.git
Working copy of https://github.com/vapor/clibressl.git resolved at 1.0.1
BUILD FAILURE 6.0 macosSpm