Build Information
Successful build of OysterKit, reference 0.6.2 (720e4d
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 14:36:10 UTC.
Swift 6 data race errors: 25
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
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
96 | for child in contents {
97 | if child.key.stringValue == name {
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:111:5: warning: 'public' modifier is redundant for subscript declared in a public extension
109 | -Returns: The child node, or `nil` if not found
110 | */
111 | public subscript(_ index: Int) -> DecodeableAbstractSyntaxTree {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
112 | return contents[index]
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1092:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1090 | fileprivate extension _ParsingDecoder {
1091 | /// Returns the given value unboxed from a container.
1092 | fileprivate func unbox(_ value: Any, as type: Bool.Type) throws -> Bool? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1093 | guard !(value is NSNull) else { return nil }
1094 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1110:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1108 | }
1109 |
1110 | fileprivate func unbox(_ value: Any, as type: Int.Type) throws -> Int? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1111 | guard !(value is NSNull) else { return nil }
1112 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1125:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1123 | }
1124 |
1125 | fileprivate func unbox(_ value: Any, as type: Int8.Type) throws -> Int8? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1126 | guard !(value is NSNull) else { return nil }
1127 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1140:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1138 | }
1139 |
1140 | fileprivate func unbox(_ value: Any, as type: Int16.Type) throws -> Int16? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1141 | guard !(value is NSNull) else { return nil }
1142 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1155:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1153 | }
1154 |
1155 | fileprivate func unbox(_ value: Any, as type: Int32.Type) throws -> Int32? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1156 | guard !(value is NSNull) else { return nil }
1157 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1170:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1168 | }
1169 |
1170 | fileprivate func unbox(_ value: Any, as type: Int64.Type) throws -> Int64? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1171 | guard !(value is NSNull) else { return nil }
1172 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1185:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1183 | }
1184 |
1185 | fileprivate func unbox(_ value: Any, as type: UInt.Type) throws -> UInt? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1186 | guard !(value is NSNull) else { return nil }
1187 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1200:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1198 | }
1199 |
1200 | fileprivate func unbox(_ value: Any, as type: UInt8.Type) throws -> UInt8? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1201 | guard !(value is NSNull) else { return nil }
1202 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1215:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1213 | }
1214 |
1215 | fileprivate func unbox(_ value: Any, as type: UInt16.Type) throws -> UInt16? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1216 | guard !(value is NSNull) else { return nil }
1217 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1230:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1228 | }
1229 |
1230 | fileprivate func unbox(_ value: Any, as type: UInt32.Type) throws -> UInt32? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1231 | guard !(value is NSNull) else { return nil }
1232 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1245:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1243 | }
1244 |
1245 | fileprivate func unbox(_ value: Any, as type: UInt64.Type) throws -> UInt64? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1246 | guard !(value is NSNull) else { return nil }
1247 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1260:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1258 | }
1259 |
1260 | fileprivate func unbox(_ value: Any, as type: Float.Type) throws -> Float? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1261 | guard !(value is NSNull) else { return nil }
1262 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1295:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1293 | }
1294 |
1295 | fileprivate func unbox(_ value: Any, as type: Double.Type) throws -> Double? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1296 | guard !(value is NSNull) else { return nil }
1297 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1320:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1318 | }
1319 |
1320 | fileprivate func unbox(_ value: Any, as type: String.Type) throws -> String? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1321 | guard !(value is NSNull) else { return nil }
1322 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1330:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1328 | }
1329 |
1330 | fileprivate func unbox(_ value: Any, as type: Date.Type) throws -> Date? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1331 | guard !(value is NSNull) else { return nil }
1332 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1378:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1376 | }
1377 |
1378 | fileprivate func unbox(_ value: Any, as type: Data.Type) throws -> Data? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1379 | guard !(value is NSNull) else { return nil }
1380 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1392:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1390 | }
1391 |
1392 | fileprivate func unbox(_ value: Any, as type: Decimal.Type) throws -> Decimal? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1393 | guard !(value is NSNull) else { return nil }
1394 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1401:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1399 | }
1400 |
1401 | fileprivate func unbox<T : Decodable>(_ value: Any, as type: T.Type) throws -> T? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1402 | let decoded: T
1403 | if T.self == Date.self {
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Errors/CausalErrorType.swift:81:5: warning: 'public' modifier is redundant for instance method declared in a public extension
79 | - Returns: True if it contains the message, false if not
80 | */
81 | public func hasCause(description:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
82 | if message.contains(description){
83 | return true
[48/63] Compiling OysterKit CausalErrorType.swift
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:80:5: warning: 'public' modifier is redundant for subscript declared in a public extension
78 | -Returns: The child node
79 | */
80 | public subscript(key codingKey: CodingKey) -> DecodeableAbstractSyntaxTree? {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
81 | for child in contents {
82 | if child.key.stringValue == codingKey.stringValue {
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:95:5: warning: 'public' modifier is redundant for subscript declared in a public extension
93 | -Returns: The child node
94 | */
95 | public subscript(_ name: String) -> DecodeableAbstractSyntaxTree? {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
96 | for child in contents {
97 | if child.key.stringValue == name {
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:111:5: warning: 'public' modifier is redundant for subscript declared in a public extension
109 | -Returns: The child node, or `nil` if not found
110 | */
111 | public subscript(_ index: Int) -> DecodeableAbstractSyntaxTree {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
112 | return contents[index]
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1092:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1090 | fileprivate extension _ParsingDecoder {
1091 | /// Returns the given value unboxed from a container.
1092 | fileprivate func unbox(_ value: Any, as type: Bool.Type) throws -> Bool? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1093 | guard !(value is NSNull) else { return nil }
1094 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1110:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1108 | }
1109 |
1110 | fileprivate func unbox(_ value: Any, as type: Int.Type) throws -> Int? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1111 | guard !(value is NSNull) else { return nil }
1112 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1125:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1123 | }
1124 |
1125 | fileprivate func unbox(_ value: Any, as type: Int8.Type) throws -> Int8? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1126 | guard !(value is NSNull) else { return nil }
1127 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1140:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1138 | }
1139 |
1140 | fileprivate func unbox(_ value: Any, as type: Int16.Type) throws -> Int16? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1141 | guard !(value is NSNull) else { return nil }
1142 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1155:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1153 | }
1154 |
1155 | fileprivate func unbox(_ value: Any, as type: Int32.Type) throws -> Int32? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1156 | guard !(value is NSNull) else { return nil }
1157 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1170:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1168 | }
1169 |
1170 | fileprivate func unbox(_ value: Any, as type: Int64.Type) throws -> Int64? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1171 | guard !(value is NSNull) else { return nil }
1172 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1185:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1183 | }
1184 |
1185 | fileprivate func unbox(_ value: Any, as type: UInt.Type) throws -> UInt? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1186 | guard !(value is NSNull) else { return nil }
1187 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1200:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1198 | }
1199 |
1200 | fileprivate func unbox(_ value: Any, as type: UInt8.Type) throws -> UInt8? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1201 | guard !(value is NSNull) else { return nil }
1202 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1215:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1213 | }
1214 |
1215 | fileprivate func unbox(_ value: Any, as type: UInt16.Type) throws -> UInt16? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1216 | guard !(value is NSNull) else { return nil }
1217 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1230:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1228 | }
1229 |
1230 | fileprivate func unbox(_ value: Any, as type: UInt32.Type) throws -> UInt32? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1231 | guard !(value is NSNull) else { return nil }
1232 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1245:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1243 | }
1244 |
1245 | fileprivate func unbox(_ value: Any, as type: UInt64.Type) throws -> UInt64? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1246 | guard !(value is NSNull) else { return nil }
1247 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1260:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1258 | }
1259 |
1260 | fileprivate func unbox(_ value: Any, as type: Float.Type) throws -> Float? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1261 | guard !(value is NSNull) else { return nil }
1262 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1295:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1293 | }
1294 |
1295 | fileprivate func unbox(_ value: Any, as type: Double.Type) throws -> Double? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1296 | guard !(value is NSNull) else { return nil }
1297 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1320:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1318 | }
1319 |
1320 | fileprivate func unbox(_ value: Any, as type: String.Type) throws -> String? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1321 | guard !(value is NSNull) else { return nil }
1322 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1330:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1328 | }
1329 |
1330 | fileprivate func unbox(_ value: Any, as type: Date.Type) throws -> Date? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1331 | guard !(value is NSNull) else { return nil }
1332 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1378:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1376 | }
1377 |
1378 | fileprivate func unbox(_ value: Any, as type: Data.Type) throws -> Data? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1379 | guard !(value is NSNull) else { return nil }
1380 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1392:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1390 | }
1391 |
1392 | fileprivate func unbox(_ value: Any, as type: Decimal.Type) throws -> Decimal? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1393 | guard !(value is NSNull) else { return nil }
1394 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1401:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1399 | }
1400 |
1401 | fileprivate func unbox<T : Decodable>(_ value: Any, as type: T.Type) throws -> T? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1402 | let decoded: T
1403 | if T.self == Date.self {
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Errors/CausalErrorType.swift:81:5: warning: 'public' modifier is redundant for instance method declared in a public extension
79 | - Returns: True if it contains the message, false if not
80 | */
81 | public func hasCause(description:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
82 | if message.contains(description){
83 | return true
[49/63] Compiling OysterKit ProcessingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:80:5: warning: 'public' modifier is redundant for subscript declared in a public extension
78 | -Returns: The child node
79 | */
80 | public subscript(key codingKey: CodingKey) -> DecodeableAbstractSyntaxTree? {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
81 | for child in contents {
82 | if child.key.stringValue == codingKey.stringValue {
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:95:5: warning: 'public' modifier is redundant for subscript declared in a public extension
93 | -Returns: The child node
94 | */
95 | public subscript(_ name: String) -> DecodeableAbstractSyntaxTree? {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
96 | for child in contents {
97 | if child.key.stringValue == name {
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:111:5: warning: 'public' modifier is redundant for subscript declared in a public extension
109 | -Returns: The child node, or `nil` if not found
110 | */
111 | public subscript(_ index: Int) -> DecodeableAbstractSyntaxTree {
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
112 | return contents[index]
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1092:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1090 | fileprivate extension _ParsingDecoder {
1091 | /// Returns the given value unboxed from a container.
1092 | fileprivate func unbox(_ value: Any, as type: Bool.Type) throws -> Bool? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1093 | guard !(value is NSNull) else { return nil }
1094 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1110:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1108 | }
1109 |
1110 | fileprivate func unbox(_ value: Any, as type: Int.Type) throws -> Int? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1111 | guard !(value is NSNull) else { return nil }
1112 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1125:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1123 | }
1124 |
1125 | fileprivate func unbox(_ value: Any, as type: Int8.Type) throws -> Int8? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1126 | guard !(value is NSNull) else { return nil }
1127 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1140:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1138 | }
1139 |
1140 | fileprivate func unbox(_ value: Any, as type: Int16.Type) throws -> Int16? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1141 | guard !(value is NSNull) else { return nil }
1142 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1155:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1153 | }
1154 |
1155 | fileprivate func unbox(_ value: Any, as type: Int32.Type) throws -> Int32? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1156 | guard !(value is NSNull) else { return nil }
1157 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1170:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1168 | }
1169 |
1170 | fileprivate func unbox(_ value: Any, as type: Int64.Type) throws -> Int64? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1171 | guard !(value is NSNull) else { return nil }
1172 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1185:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1183 | }
1184 |
1185 | fileprivate func unbox(_ value: Any, as type: UInt.Type) throws -> UInt? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1186 | guard !(value is NSNull) else { return nil }
1187 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1200:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1198 | }
1199 |
1200 | fileprivate func unbox(_ value: Any, as type: UInt8.Type) throws -> UInt8? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1201 | guard !(value is NSNull) else { return nil }
1202 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1215:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1213 | }
1214 |
1215 | fileprivate func unbox(_ value: Any, as type: UInt16.Type) throws -> UInt16? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1216 | guard !(value is NSNull) else { return nil }
1217 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1230:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1228 | }
1229 |
1230 | fileprivate func unbox(_ value: Any, as type: UInt32.Type) throws -> UInt32? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1231 | guard !(value is NSNull) else { return nil }
1232 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1245:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1243 | }
1244 |
1245 | fileprivate func unbox(_ value: Any, as type: UInt64.Type) throws -> UInt64? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1246 | guard !(value is NSNull) else { return nil }
1247 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1260:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1258 | }
1259 |
1260 | fileprivate func unbox(_ value: Any, as type: Float.Type) throws -> Float? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1261 | guard !(value is NSNull) else { return nil }
1262 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1295:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1293 | }
1294 |
1295 | fileprivate func unbox(_ value: Any, as type: Double.Type) throws -> Double? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1296 | guard !(value is NSNull) else { return nil }
1297 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1320:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1318 | }
1319 |
1320 | fileprivate func unbox(_ value: Any, as type: String.Type) throws -> String? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1321 | guard !(value is NSNull) else { return nil }
1322 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1330:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1328 | }
1329 |
1330 | fileprivate func unbox(_ value: Any, as type: Date.Type) throws -> Date? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1331 | guard !(value is NSNull) else { return nil }
1332 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1378:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1376 | }
1377 |
1378 | fileprivate func unbox(_ value: Any, as type: Data.Type) throws -> Data? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1379 | guard !(value is NSNull) else { return nil }
1380 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1392:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1390 | }
1391 |
1392 | fileprivate func unbox(_ value: Any, as type: Decimal.Type) throws -> Decimal? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1393 | guard !(value is NSNull) else { return nil }
1394 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Decoding/Parsing Decoder.swift:1401:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1399 | }
1400 |
1401 | fileprivate func unbox<T : Decodable>(_ value: Any, as type: T.Type) throws -> T? {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
1402 | let decoded: T
1403 | if T.self == Date.self {
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Errors/CausalErrorType.swift:81:5: warning: 'public' modifier is redundant for instance method declared in a public extension
79 | - Returns: True if it contains the message, false if not
80 | */
81 | public func hasCause(description:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
82 | if message.contains(description){
83 | return true
[50/63] Compiling OysterKit Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:21:23: warning: static property 'parsingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static let _decodingLog = OSLog(subsystem: "com.swift-studies.OysterKit", category: "decoding")
20 |
21 | public static var parsingLog : OSLog = .disabled
| |- warning: static property 'parsingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parsingLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'parsingLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var decodingLog : OSLog = _decodingLog
23 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:22:23: warning: static property 'decodingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static var parsingLog : OSLog = .disabled
22 | public static var decodingLog : OSLog = _decodingLog
| |- warning: static property 'decodingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decodingLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'decodingLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public func enable(){
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:41:24: warning: static property 'signPostIdStack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | private static var signPostIdStack = [OSSignpostID]()
| |- warning: static property 'signPostIdStack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'signPostIdStack' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'signPostIdStack' with '@MainActor' 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 | static func decodingError(_ error:DecodingError){
43 | guard decodingLog.isEnabled(type: .default) else{
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | - Returns: An iterable stream of tokens
69 | **/
70 | public func tokenize(_ source:String)->TokenStream{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return TokenStream(source, using: self)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:96:5: warning: 'public' modifier is redundant for instance method declared in a public extension
94 | - Returns: A `HomogenousTree`
95 | **/
96 | public func parse(_ source:String) throws ->HomogenousTree{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
97 | return try AbstractSyntaxTreeConstructor(with: source).build(using: self)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:116:5: warning: 'public' modifier is redundant for instance method declared in a public extension
114 | - Returns: The populated type
115 | **/
116 | public func build<T : Decodable>(_ source:String,as type: T.Type) throws -> T{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
117 | return try ParsingDecoder().decode(T.self, using: parse(source))
118 | }
[51/63] Compiling OysterKit Grammar.swift
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:21:23: warning: static property 'parsingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static let _decodingLog = OSLog(subsystem: "com.swift-studies.OysterKit", category: "decoding")
20 |
21 | public static var parsingLog : OSLog = .disabled
| |- warning: static property 'parsingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parsingLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'parsingLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var decodingLog : OSLog = _decodingLog
23 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:22:23: warning: static property 'decodingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static var parsingLog : OSLog = .disabled
22 | public static var decodingLog : OSLog = _decodingLog
| |- warning: static property 'decodingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decodingLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'decodingLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public func enable(){
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:41:24: warning: static property 'signPostIdStack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | private static var signPostIdStack = [OSSignpostID]()
| |- warning: static property 'signPostIdStack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'signPostIdStack' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'signPostIdStack' with '@MainActor' 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 | static func decodingError(_ error:DecodingError){
43 | guard decodingLog.isEnabled(type: .default) else{
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | - Returns: An iterable stream of tokens
69 | **/
70 | public func tokenize(_ source:String)->TokenStream{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return TokenStream(source, using: self)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:96:5: warning: 'public' modifier is redundant for instance method declared in a public extension
94 | - Returns: A `HomogenousTree`
95 | **/
96 | public func parse(_ source:String) throws ->HomogenousTree{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
97 | return try AbstractSyntaxTreeConstructor(with: source).build(using: self)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:116:5: warning: 'public' modifier is redundant for instance method declared in a public extension
114 | - Returns: The populated type
115 | **/
116 | public func build<T : Decodable>(_ source:String,as type: T.Type) throws -> T{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
117 | return try ParsingDecoder().decode(T.self, using: parse(source))
118 | }
[52/63] Compiling OysterKit AbstractSyntaxTree.swift
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:21:23: warning: static property 'parsingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static let _decodingLog = OSLog(subsystem: "com.swift-studies.OysterKit", category: "decoding")
20 |
21 | public static var parsingLog : OSLog = .disabled
| |- warning: static property 'parsingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parsingLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'parsingLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var decodingLog : OSLog = _decodingLog
23 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:22:23: warning: static property 'decodingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static var parsingLog : OSLog = .disabled
22 | public static var decodingLog : OSLog = _decodingLog
| |- warning: static property 'decodingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decodingLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'decodingLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public func enable(){
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:41:24: warning: static property 'signPostIdStack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | private static var signPostIdStack = [OSSignpostID]()
| |- warning: static property 'signPostIdStack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'signPostIdStack' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'signPostIdStack' with '@MainActor' 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 | static func decodingError(_ error:DecodingError){
43 | guard decodingLog.isEnabled(type: .default) else{
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | - Returns: An iterable stream of tokens
69 | **/
70 | public func tokenize(_ source:String)->TokenStream{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return TokenStream(source, using: self)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:96:5: warning: 'public' modifier is redundant for instance method declared in a public extension
94 | - Returns: A `HomogenousTree`
95 | **/
96 | public func parse(_ source:String) throws ->HomogenousTree{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
97 | return try AbstractSyntaxTreeConstructor(with: source).build(using: self)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:116:5: warning: 'public' modifier is redundant for instance method declared in a public extension
114 | - Returns: The populated type
115 | **/
116 | public func build<T : Decodable>(_ source:String,as type: T.Type) throws -> T{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
117 | return try ParsingDecoder().decode(T.self, using: parse(source))
118 | }
[53/63] Compiling OysterKit AbstractSyntaxTreeConstructor.swift
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:21:23: warning: static property 'parsingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static let _decodingLog = OSLog(subsystem: "com.swift-studies.OysterKit", category: "decoding")
20 |
21 | public static var parsingLog : OSLog = .disabled
| |- warning: static property 'parsingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parsingLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'parsingLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var decodingLog : OSLog = _decodingLog
23 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:22:23: warning: static property 'decodingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static var parsingLog : OSLog = .disabled
22 | public static var decodingLog : OSLog = _decodingLog
| |- warning: static property 'decodingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decodingLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'decodingLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public func enable(){
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:41:24: warning: static property 'signPostIdStack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | private static var signPostIdStack = [OSSignpostID]()
| |- warning: static property 'signPostIdStack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'signPostIdStack' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'signPostIdStack' with '@MainActor' 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 | static func decodingError(_ error:DecodingError){
43 | guard decodingLog.isEnabled(type: .default) else{
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | - Returns: An iterable stream of tokens
69 | **/
70 | public func tokenize(_ source:String)->TokenStream{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return TokenStream(source, using: self)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:96:5: warning: 'public' modifier is redundant for instance method declared in a public extension
94 | - Returns: A `HomogenousTree`
95 | **/
96 | public func parse(_ source:String) throws ->HomogenousTree{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
97 | return try AbstractSyntaxTreeConstructor(with: source).build(using: self)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:116:5: warning: 'public' modifier is redundant for instance method declared in a public extension
114 | - Returns: The populated type
115 | **/
116 | public func build<T : Decodable>(_ source:String,as type: T.Type) throws -> T{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
117 | return try ParsingDecoder().decode(T.self, using: parse(source))
118 | }
[54/63] Compiling OysterKit HomogenousTree.swift
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:21:23: warning: static property 'parsingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static let _decodingLog = OSLog(subsystem: "com.swift-studies.OysterKit", category: "decoding")
20 |
21 | public static var parsingLog : OSLog = .disabled
| |- warning: static property 'parsingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parsingLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'parsingLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var decodingLog : OSLog = _decodingLog
23 |
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:22:23: warning: static property 'decodingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static var parsingLog : OSLog = .disabled
22 | public static var decodingLog : OSLog = _decodingLog
| |- warning: static property 'decodingLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decodingLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'decodingLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public func enable(){
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Logging/Log.swift:41:24: warning: static property 'signPostIdStack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | private static var signPostIdStack = [OSSignpostID]()
| |- warning: static property 'signPostIdStack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'signPostIdStack' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'signPostIdStack' with '@MainActor' 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 | static func decodingError(_ error:DecodingError){
43 | guard decodingLog.isEnabled(type: .default) else{
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | - Returns: An iterable stream of tokens
69 | **/
70 | public func tokenize(_ source:String)->TokenStream{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return TokenStream(source, using: self)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:96:5: warning: 'public' modifier is redundant for instance method declared in a public extension
94 | - Returns: A `HomogenousTree`
95 | **/
96 | public func parse(_ source:String) throws ->HomogenousTree{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
97 | return try AbstractSyntaxTreeConstructor(with: source).build(using: self)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:116:5: warning: 'public' modifier is redundant for instance method declared in a public extension
114 | - Returns: The populated type
115 | **/
116 | public func build<T : Decodable>(_ source:String,as type: T.Type) throws -> T{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
117 | return try ParsingDecoder().decode(T.self, using: parse(source))
118 | }
[54/63] Write Objects.LinkFileList
[55/63] Archiving libOysterKit.a
[57/84] Compiling STLR SwiftPackageManager.swift
[58/84] Compiling STLR SwiftRules.swift
[59/86] Compiling STLR STLR+SwiftGrammar.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/Swift/STLR+SwiftGrammar.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 | - Returns: A `String` containing the Swift source or `nil` if an error occured.
36 | */
37 | public func swift(in file:TextFile){
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | let grammarName = grammar.scopeName
39 |
[60/86] Compiling STLR String+Swift.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/Swift/STLR+SwiftGrammar.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 | - Returns: A `String` containing the Swift source or `nil` if an error occured.
36 | */
37 | public func swift(in file:TextFile){
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | let grammarName = grammar.scopeName
39 |
[61/86] Compiling STLR STLR+Optimization.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLR+Optimization.swift:31:5: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Optimizes the grammar using the optimizers registered by `register(optimizer:STLROptimizer)`
31 | public func optimize(){
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLROptimizers.swift:46:13: warning: var 'optmizers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | }
45 |
46 | private var optmizers = [STLROptimizer]()
| |- warning: var 'optmizers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'optmizers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'optmizers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Adds methods to register optimizers
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLROptimizers.swift:55:5: warning: 'public' modifier is redundant for static method declared in a public extension
53 | - Parameter optimizer: The optimizer
54 | */
55 | public static func register(optimizer:STLROptimizer){
| `- warning: 'public' modifier is redundant for static method declared in a public extension
56 | optmizers.append(optimizer)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLROptimizers.swift:60:5: warning: 'public' modifier is redundant for static method declared in a public extension
58 |
59 | /// Removes all registered optimizers
60 | public static func removeAllOptimizations(){
| `- warning: 'public' modifier is redundant for static method declared in a public extension
61 | optmizers.removeAll()
62 | }
[62/86] Compiling STLR STLROptimizers.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLR+Optimization.swift:31:5: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Optimizes the grammar using the optimizers registered by `register(optimizer:STLROptimizer)`
31 | public func optimize(){
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLROptimizers.swift:46:13: warning: var 'optmizers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | }
45 |
46 | private var optmizers = [STLROptimizer]()
| |- warning: var 'optmizers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'optmizers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'optmizers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Adds methods to register optimizers
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLROptimizers.swift:55:5: warning: 'public' modifier is redundant for static method declared in a public extension
53 | - Parameter optimizer: The optimizer
54 | */
55 | public static func register(optimizer:STLROptimizer){
| `- warning: 'public' modifier is redundant for static method declared in a public extension
56 | optmizers.append(optimizer)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLROptimizers.swift:60:5: warning: 'public' modifier is redundant for static method declared in a public extension
58 |
59 | /// Removes all registered optimizers
60 | public static func removeAllOptimizations(){
| `- warning: 'public' modifier is redundant for static method declared in a public extension
61 | optmizers.removeAll()
62 | }
[63/86] Emitting module STLR
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Extensions/String.swift:35:5: warning: 'public' modifier is redundant for instance method declared in a public extension
33 | */
34 | @available(*,deprecated,message: "Use .dynamicRule(Behaviour.Kind) instead")
35 | public func dynamicRule(token:TokenType)->Rule? {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
36 | return try? dynamicRule(Behaviour.Kind.structural(token: token))
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Extensions/String.swift:45:5: warning: 'public' modifier is redundant for instance method declared in a public extension
43 | - Returns: `nil` if compilation failed
44 | */
45 | public func dynamicRule(_ kind:Behaviour.Kind) throws ->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
46 | let compiled = try STLR.build("grammar Dynamic\n_ = \(self)")
47 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+DynamicRules.swift:284:5: warning: 'public' modifier is redundant for property declared in a public extension
282 | public extension STLR.Grammar {
283 | /// Builds a set of `Rule`s that can be used directly at run-time in your application
284 | public var dynamicRules : [Rule] {
| `- warning: 'public' modifier is redundant for property declared in a public extension
285 | let symbolTable = SymbolTable<Symbol>(self)
286 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:149:5: warning: 'public' modifier is redundant for instance method declared in a public extension
147 | }
148 |
149 | public func defined(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
150 | for rule in rules {
151 | if rule.identifier == identifier {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:209:5: warning: 'public' modifier is redundant for property declared in a public extension
207 |
208 | /// All rules, including those defined inline
209 | public var allRules : STLR.Rules {
| `- warning: 'public' modifier is redundant for property declared in a public extension
210 | var all = STLR.Rules()
211 | all.append(contentsOf: rules)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:216:5: warning: 'public' modifier is redundant for subscript declared in a public extension
214 | }
215 |
216 | public subscript(_ identifier:String)->STLR.Rule{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
217 | for rule in rules {
218 | if rule.identifier == identifier {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:242:5: warning: 'public' modifier is redundant for instance method declared in a public extension
240 | }
241 |
242 | public func isLeftHandRecursive(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
243 | var closedList = [String]()
244 | return self[identifier].expression.references(identifier, grammar: self, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:247:5: warning: 'public' modifier is redundant for instance method declared in a public extension
245 | }
246 |
247 | public func isDirectLeftHandRecursive(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
248 | var closedList = [String]()
249 | return self[identifier].expression.directlyReferences(identifier, grammar: self, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:252:5: warning: 'public' modifier is redundant for instance method declared in a public extension
250 | }
251 |
252 | public func isRoot(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
253 | var closedList = [String]()
254 | for rule in rules {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:262:5: warning: 'public' modifier is redundant for instance method declared in a public extension
260 | }
261 |
262 | public func validate(rule:STLR.Rule) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
263 | if isDirectLeftHandRecursive(identifier: rule.identifier){
264 | throw ProcessingError.interpretation(message: "\(rule.identifier) is directly left hand recursive (references itself without moving scan head forward)", causes: [])
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:272:5: warning: 'public' modifier is redundant for property declared in a public extension
270 | public extension STLR.Rule {
271 | /// True if the rule is skipping
272 | public var isVoid : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
273 | return void != nil || (annotations?.void ?? false)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:277:5: warning: 'public' modifier is redundant for property declared in a public extension
275 |
276 | /// True if it is a scanning rule
277 | public var isTransient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
278 | return transient != nil || (annotations?.transient ?? false)
279 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:281:5: warning: 'public' modifier is redundant for property declared in a public extension
279 | }
280 |
281 | public var type : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
282 | return annotations?.type
283 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:288:5: warning: 'public' modifier is redundant for property declared in a public extension
286 | public extension STLR.Quantifier {
287 | /// The minimum number of matches required to satisfy the quantifier
288 | public var minimumMatches : Int {
| `- warning: 'public' modifier is redundant for property declared in a public extension
289 | switch self {
290 | case .star, .questionMark:
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:300:5: warning: 'public' modifier is redundant for property declared in a public extension
298 |
299 | /// The maximum number of matches required to satisfy the quantifier
300 | public var maximumMatches : Int? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
301 | switch self {
302 | case .questionMark:
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:338:5: warning: 'public' modifier is redundant for instance method declared in a public extension
336 | }
337 |
338 | public func directlyReferences(_ identifier:String, grammar:STLR.Grammar, closedList:inout [String])->Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
339 | for element in elements {
340 | if element.directlyReferences(identifier, grammar: grammar, closedList: &closedList){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:353:5: warning: 'public' modifier is redundant for instance method declared in a public extension
351 |
352 |
353 | public func references(_ identifier:String, grammar:STLR.Grammar, closedList: inout [String])->Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
354 | for element in elements {
355 | if element.references(identifier, grammar: grammar, closedList: &closedList){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:366:5: warning: 'public' modifier is redundant for property declared in a public extension
364 |
365 | /// The annotations defined as `RuleAnnotations`
366 | public var ruleAnnotations : RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
367 | return annotations?.ruleAnnotations ?? [:]
368 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:371:5: warning: 'public' modifier is redundant for property declared in a public extension
369 |
370 | /// True if the element is skipping
371 | public var isVoid : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
372 | return void != nil || (annotations?.void ?? false)
373 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:376:5: warning: 'public' modifier is redundant for property declared in a public extension
374 |
375 | /// True if it is a scanning element
376 | public var isTransient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
377 | return transient != nil || (annotations?.transient ?? false)
378 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:381:5: warning: 'public' modifier is redundant for property declared in a public extension
379 |
380 | /// True if the element is lookahead
381 | public var isLookahead : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
382 | return lookahead != nil
383 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:386:5: warning: 'public' modifier is redundant for property declared in a public extension
384 |
385 | /// True if the element is negated
386 | public var isNegated : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
387 | return negated != nil
388 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:391:5: warning: 'public' modifier is redundant for property declared in a public extension
389 |
390 | /// Returns the token name (if any) of the element
391 | public var token : TokenType? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
392 | if case let Behaviour.Kind.structural(token) = kind {
393 | return token
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:400:5: warning: 'public' modifier is redundant for property declared in a public extension
398 |
399 | /// The `Kind` of the rule
400 | public var kind : Behaviour.Kind {
| `- warning: 'public' modifier is redundant for property declared in a public extension
401 | if isVoid {
402 | return .skipping
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:418:5: warning: 'public' modifier is redundant for property declared in a public extension
416 |
417 | /// The `Cardinality` of the match
418 | public var cardinality : Cardinality {
| `- warning: 'public' modifier is redundant for property declared in a public extension
419 | guard let quantifier = quantifier else {
420 | return .one
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:436:5: warning: 'public' modifier is redundant for property declared in a public extension
434 |
435 | /// The `Behaviour` of the rule
436 | public var behaviour : Behaviour {
| `- warning: 'public' modifier is redundant for property declared in a public extension
437 | return Behaviour(kind, cardinality: cardinality, negated: isNegated, lookahead: isLookahead)
438 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:463:5: warning: 'public' modifier is redundant for instance method declared in a public extension
461 | - Returns: `true` if the identifier could be referenced before the scan head has moved
462 | */
463 | public func directlyReferences(_ identifier:String, grammar:STLR.Grammar)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
464 | var closedList = [String]()
465 | return directlyReferences(identifier, grammar: grammar, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:620:5: warning: 'internal' modifier is redundant for property declared in an internal extension
618 | internal extension Array where Element == STLR.Annotation {
619 | /// The annotations on the element with any that would be captured in `Behaviour` removed (@token, @transient, @void)
620 | internal var unfilteredRuleAnnotationsForTesting : RuleAnnotations {
| `- warning: 'internal' modifier is redundant for property declared in an internal extension
621 | var ruleAnnotations = [RuleAnnotation : RuleAnnotationValue]()
622 | for annotation in self {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:641:5: warning: 'public' modifier is redundant for property declared in a public extension
639 |
640 | /// The annotations on the element with any that would be captured in `Behaviour` removed (@token, @transient, @void)
641 | public var ruleAnnotations : RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
642 | var ruleAnnotations = [RuleAnnotation : RuleAnnotationValue]()
643 | for annotation in filter({!$0.label.isBehavioural}){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:650:5: warning: 'public' modifier is redundant for property declared in a public extension
648 |
649 | /// The token if any specified in the annotations
650 | public var token : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
651 | guard let tokenAnnotationValue = self[RuleAnnotation.token] else {
652 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:665:5: warning: 'public' modifier is redundant for property declared in a public extension
663 |
664 | /// `true` if the annotations include @void
665 | public var void : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
666 | return self[RuleAnnotation.void] != nil
667 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:670:5: warning: 'public' modifier is redundant for property declared in a public extension
668 |
669 | /// `true` if the annotations include @transient
670 | public var transient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
671 | return self[RuleAnnotation.transient] != nil
672 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:673:5: warning: 'public' modifier is redundant for property declared in a public extension
671 | return self[RuleAnnotation.transient] != nil
672 | }
673 | public var type : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
674 | if let typeAnnotationValue = self[RuleAnnotation.type] {
675 | if case let RuleAnnotationValue.string(value) = typeAnnotationValue {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/STLR.swift:8:24: warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | typealias T = STLRTokens
7 | // Cache for compiled regular expressions
8 | private static var regularExpressionCache = [String : NSRegularExpression]()
| |- warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regularExpressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'regularExpressionCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Returns a pre-compiled pattern from the cache, or if not in the cache builds
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/STLR.swift:301:24: warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
299 |
300 | /// Cache for left-hand recursive rules
301 | private static var leftHandRecursiveRules = [ Int : Rule ]()
| |- warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftHandRecursiveRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftHandRecursiveRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 |
303 | /// Create a language that can be used for parsing etc
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/Generator.swift:34:14: warning: Make name optional and overriding
32 | ///
33 | /// - Parameter scope: The scope
34 | #warning("Make name optional and overriding")
| `- warning: Make name optional and overriding
35 | static func generate(for scope:STLR, grammar name:String, accessLevel:String) throws ->[Operation]
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/GrammarStructure+STLR.swift:524:5: warning: 'fileprivate' modifier is redundant for subscript declared in a fileprivate extension
522 | fileprivate extension Array where Element == GrammarStructure.Node {
523 |
524 | fileprivate subscript(_ name:String)->GrammarStructure.Node? {
| `- warning: 'fileprivate' modifier is redundant for subscript declared in a fileprivate extension
525 | return self.filter({$0.name == name}).first
526 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/GrammarStructure+STLR.swift:528:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
526 | }
527 |
528 | fileprivate func consolidate(accessLevel:String)->[Element]{
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
529 | var existingFields = [String : GrammarStructure.Node]()
530 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/Swift/STLR+SwiftGrammar.swift:37:5: warning: 'public' modifier is redundant for instance method declared in a public extension
35 | - Returns: A `String` containing the Swift source or `nil` if an error occured.
36 | */
37 | public func swift(in file:TextFile){
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
38 | let grammarName = grammar.scopeName
39 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLR Validation.swift:32:5: warning: 'public' modifier is redundant for instance method declared in a public extension
30 |
31 | /// Validates the AST throwing an exception if validation fails
32 | public func validate() throws{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLR+Optimization.swift:31:5: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Optimizes the grammar using the optimizers registered by `register(optimizer:STLROptimizer)`
31 | public func optimize(){
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLROptimizers.swift:46:13: warning: var 'optmizers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | }
45 |
46 | private var optmizers = [STLROptimizer]()
| |- warning: var 'optmizers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'optmizers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'optmizers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Adds methods to register optimizers
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLROptimizers.swift:55:5: warning: 'public' modifier is redundant for static method declared in a public extension
53 | - Parameter optimizer: The optimizer
54 | */
55 | public static func register(optimizer:STLROptimizer){
| `- warning: 'public' modifier is redundant for static method declared in a public extension
56 | optmizers.append(optimizer)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLROptimizers.swift:60:5: warning: 'public' modifier is redundant for static method declared in a public extension
58 |
59 | /// Removes all registered optimizers
60 | public static func removeAllOptimizations(){
| `- warning: 'public' modifier is redundant for static method declared in a public extension
61 | optmizers.removeAll()
62 | }
[64/86] Compiling STLR Branching.swift
[65/86] Compiling STLR Operation.swift
[66/86] Compiling STLR String.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Extensions/String.swift:35:5: warning: 'public' modifier is redundant for instance method declared in a public extension
33 | */
34 | @available(*,deprecated,message: "Use .dynamicRule(Behaviour.Kind) instead")
35 | public func dynamicRule(token:TokenType)->Rule? {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
36 | return try? dynamicRule(Behaviour.Kind.structural(token: token))
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Extensions/String.swift:45:5: warning: 'public' modifier is redundant for instance method declared in a public extension
43 | - Returns: `nil` if compilation failed
44 | */
45 | public func dynamicRule(_ kind:Behaviour.Kind) throws ->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
46 | let compiled = try STLR.build("grammar Dynamic\n_ = \(self)")
47 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+DynamicRules.swift:284:5: warning: 'public' modifier is redundant for property declared in a public extension
282 | public extension STLR.Grammar {
283 | /// Builds a set of `Rule`s that can be used directly at run-time in your application
284 | public var dynamicRules : [Rule] {
| `- warning: 'public' modifier is redundant for property declared in a public extension
285 | let symbolTable = SymbolTable<Symbol>(self)
286 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+DynamicRules.swift:176:26: warning: This might be bogus, remove warning when tests pass
174 | // return [singleElement.rule(symbolTable: symbolTable)].sequence.rule(with: element.behaviour, annotations: element.annotations?.ruleAnnotations ?? [:])
175 | // } else {
176 | #warning("This might be bogus, remove warning when tests pass")
| `- warning: This might be bogus, remove warning when tests pass
177 | return [group.expression.rule(using: symbolTable)].sequence.rule(with: element.behaviour,annotations: element.annotations?.ruleAnnotations ?? [:])
178 | // }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+DynamicRules.swift:274:18: warning: This is only required whilst legacy rules may be involved, as it is formally captured in Behaviour.Kind
272 |
273 | var ruleAnnotations : RuleAnnotations {
274 | #warning("This is only required whilst legacy rules may be involved, as it is formally captured in Behaviour.Kind")
| `- warning: This is only required whilst legacy rules may be involved, as it is formally captured in Behaviour.Kind
275 | let assumed : RuleAnnotations = void != nil ? [.void : .set] : transient != nil ? [.transient : .set ] : [:]
276 |
[67/86] Compiling STLR STLR+CustomStringConvertable.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Extensions/String.swift:35:5: warning: 'public' modifier is redundant for instance method declared in a public extension
33 | */
34 | @available(*,deprecated,message: "Use .dynamicRule(Behaviour.Kind) instead")
35 | public func dynamicRule(token:TokenType)->Rule? {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
36 | return try? dynamicRule(Behaviour.Kind.structural(token: token))
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Extensions/String.swift:45:5: warning: 'public' modifier is redundant for instance method declared in a public extension
43 | - Returns: `nil` if compilation failed
44 | */
45 | public func dynamicRule(_ kind:Behaviour.Kind) throws ->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
46 | let compiled = try STLR.build("grammar Dynamic\n_ = \(self)")
47 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+DynamicRules.swift:284:5: warning: 'public' modifier is redundant for property declared in a public extension
282 | public extension STLR.Grammar {
283 | /// Builds a set of `Rule`s that can be used directly at run-time in your application
284 | public var dynamicRules : [Rule] {
| `- warning: 'public' modifier is redundant for property declared in a public extension
285 | let symbolTable = SymbolTable<Symbol>(self)
286 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+DynamicRules.swift:176:26: warning: This might be bogus, remove warning when tests pass
174 | // return [singleElement.rule(symbolTable: symbolTable)].sequence.rule(with: element.behaviour, annotations: element.annotations?.ruleAnnotations ?? [:])
175 | // } else {
176 | #warning("This might be bogus, remove warning when tests pass")
| `- warning: This might be bogus, remove warning when tests pass
177 | return [group.expression.rule(using: symbolTable)].sequence.rule(with: element.behaviour,annotations: element.annotations?.ruleAnnotations ?? [:])
178 | // }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+DynamicRules.swift:274:18: warning: This is only required whilst legacy rules may be involved, as it is formally captured in Behaviour.Kind
272 |
273 | var ruleAnnotations : RuleAnnotations {
274 | #warning("This is only required whilst legacy rules may be involved, as it is formally captured in Behaviour.Kind")
| `- warning: This is only required whilst legacy rules may be involved, as it is formally captured in Behaviour.Kind
275 | let assumed : RuleAnnotations = void != nil ? [.void : .set] : transient != nil ? [.transient : .set ] : [:]
276 |
[68/86] Compiling STLR STLR+DynamicRules.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Extensions/String.swift:35:5: warning: 'public' modifier is redundant for instance method declared in a public extension
33 | */
34 | @available(*,deprecated,message: "Use .dynamicRule(Behaviour.Kind) instead")
35 | public func dynamicRule(token:TokenType)->Rule? {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
36 | return try? dynamicRule(Behaviour.Kind.structural(token: token))
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Extensions/String.swift:45:5: warning: 'public' modifier is redundant for instance method declared in a public extension
43 | - Returns: `nil` if compilation failed
44 | */
45 | public func dynamicRule(_ kind:Behaviour.Kind) throws ->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
46 | let compiled = try STLR.build("grammar Dynamic\n_ = \(self)")
47 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+DynamicRules.swift:284:5: warning: 'public' modifier is redundant for property declared in a public extension
282 | public extension STLR.Grammar {
283 | /// Builds a set of `Rule`s that can be used directly at run-time in your application
284 | public var dynamicRules : [Rule] {
| `- warning: 'public' modifier is redundant for property declared in a public extension
285 | let symbolTable = SymbolTable<Symbol>(self)
286 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+DynamicRules.swift:176:26: warning: This might be bogus, remove warning when tests pass
174 | // return [singleElement.rule(symbolTable: symbolTable)].sequence.rule(with: element.behaviour, annotations: element.annotations?.ruleAnnotations ?? [:])
175 | // } else {
176 | #warning("This might be bogus, remove warning when tests pass")
| `- warning: This might be bogus, remove warning when tests pass
177 | return [group.expression.rule(using: symbolTable)].sequence.rule(with: element.behaviour,annotations: element.annotations?.ruleAnnotations ?? [:])
178 | // }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+DynamicRules.swift:274:18: warning: This is only required whilst legacy rules may be involved, as it is formally captured in Behaviour.Kind
272 |
273 | var ruleAnnotations : RuleAnnotations {
274 | #warning("This is only required whilst legacy rules may be involved, as it is formally captured in Behaviour.Kind")
| `- warning: This is only required whilst legacy rules may be involved, as it is formally captured in Behaviour.Kind
275 | let assumed : RuleAnnotations = void != nil ? [.void : .set] : transient != nil ? [.transient : .set ] : [:]
276 |
[69/86] Compiling STLR System.swift
[70/86] Compiling STLR TextFile.swift
[71/86] Compiling STLR Generator.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/Generator.swift:34:14: warning: Make name optional and overriding
32 | ///
33 | /// - Parameter scope: The scope
34 | #warning("Make name optional and overriding")
| `- warning: Make name optional and overriding
35 | static func generate(for scope:STLR, grammar name:String, accessLevel:String) throws ->[Operation]
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/GrammarStructure+STLR.swift:524:5: warning: 'fileprivate' modifier is redundant for subscript declared in a fileprivate extension
522 | fileprivate extension Array where Element == GrammarStructure.Node {
523 |
524 | fileprivate subscript(_ name:String)->GrammarStructure.Node? {
| `- warning: 'fileprivate' modifier is redundant for subscript declared in a fileprivate extension
525 | return self.filter({$0.name == name}).first
526 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/GrammarStructure+STLR.swift:528:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
526 | }
527 |
528 | fileprivate func consolidate(accessLevel:String)->[Element]{
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
529 | var existingFields = [String : GrammarStructure.Node]()
530 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/GrammarStructure+STLR.swift:464:21: warning: initialization of immutable value 'rule' was never used; consider replacing with assignment to '_' or removing it
462 |
463 | if case let Behaviour.Kind.structural(token) = element.kind {
464 | let rule = scope.grammar["\(token)"]
| `- warning: initialization of immutable value 'rule' was never used; consider replacing with assignment to '_' or removing it
465 |
466 | return [
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/GrammarStructure+STLR.swift:539:120: warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
537 | //Do nothing, it will work fine
538 | } else {
539 | fatalError("There are multiple fields with the same name (\(child.name)) but different types:\n\t\(child.dataType)\n\t\(existingType)\nCannot generate structure")
| | `- note: use 'String(describing:)' to silence this warning
| `- warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
540 | }
541 | } else {
[72/86] Compiling STLR GrammarStructure+STLR.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/Generator.swift:34:14: warning: Make name optional and overriding
32 | ///
33 | /// - Parameter scope: The scope
34 | #warning("Make name optional and overriding")
| `- warning: Make name optional and overriding
35 | static func generate(for scope:STLR, grammar name:String, accessLevel:String) throws ->[Operation]
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/GrammarStructure+STLR.swift:524:5: warning: 'fileprivate' modifier is redundant for subscript declared in a fileprivate extension
522 | fileprivate extension Array where Element == GrammarStructure.Node {
523 |
524 | fileprivate subscript(_ name:String)->GrammarStructure.Node? {
| `- warning: 'fileprivate' modifier is redundant for subscript declared in a fileprivate extension
525 | return self.filter({$0.name == name}).first
526 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/GrammarStructure+STLR.swift:528:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
526 | }
527 |
528 | fileprivate func consolidate(accessLevel:String)->[Element]{
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
529 | var existingFields = [String : GrammarStructure.Node]()
530 |
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/GrammarStructure+STLR.swift:464:21: warning: initialization of immutable value 'rule' was never used; consider replacing with assignment to '_' or removing it
462 |
463 | if case let Behaviour.Kind.structural(token) = element.kind {
464 | let rule = scope.grammar["\(token)"]
| `- warning: initialization of immutable value 'rule' was never used; consider replacing with assignment to '_' or removing it
465 |
466 | return [
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generators/GrammarStructure+STLR.swift:539:120: warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
537 | //Do nothing, it will work fine
538 | } else {
539 | fatalError("There are multiple fields with the same name (\(child.name)) but different types:\n\t\(child.dataType)\n\t\(existingType)\nCannot generate structure")
| | `- note: use 'String(describing:)' to silence this warning
| `- warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
540 | }
541 | } else {
[73/86] Compiling STLR InlineIdentifierOptimizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLR Validation.swift:32:5: warning: 'public' modifier is redundant for instance method declared in a public extension
30 |
31 | /// Validates the AST throwing an exception if validation fails
32 | public func validate() throws{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
33 | }
34 | }
[74/86] Compiling STLR STLR Validation.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/STLR Validation.swift:32:5: warning: 'public' modifier is redundant for instance method declared in a public extension
30 |
31 | /// Validates the AST throwing an exception if validation fails
32 | public func validate() throws{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
33 | }
34 | }
[75/86] Compiling STLR SwiftStructure.swift
[76/86] Compiling STLR CharacterSetOnlyChoiceOptimizer.swift
[77/86] Compiling STLR STLR+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:149:5: warning: 'public' modifier is redundant for instance method declared in a public extension
147 | }
148 |
149 | public func defined(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
150 | for rule in rules {
151 | if rule.identifier == identifier {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:209:5: warning: 'public' modifier is redundant for property declared in a public extension
207 |
208 | /// All rules, including those defined inline
209 | public var allRules : STLR.Rules {
| `- warning: 'public' modifier is redundant for property declared in a public extension
210 | var all = STLR.Rules()
211 | all.append(contentsOf: rules)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:216:5: warning: 'public' modifier is redundant for subscript declared in a public extension
214 | }
215 |
216 | public subscript(_ identifier:String)->STLR.Rule{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
217 | for rule in rules {
218 | if rule.identifier == identifier {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:242:5: warning: 'public' modifier is redundant for instance method declared in a public extension
240 | }
241 |
242 | public func isLeftHandRecursive(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
243 | var closedList = [String]()
244 | return self[identifier].expression.references(identifier, grammar: self, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:247:5: warning: 'public' modifier is redundant for instance method declared in a public extension
245 | }
246 |
247 | public func isDirectLeftHandRecursive(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
248 | var closedList = [String]()
249 | return self[identifier].expression.directlyReferences(identifier, grammar: self, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:252:5: warning: 'public' modifier is redundant for instance method declared in a public extension
250 | }
251 |
252 | public func isRoot(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
253 | var closedList = [String]()
254 | for rule in rules {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:262:5: warning: 'public' modifier is redundant for instance method declared in a public extension
260 | }
261 |
262 | public func validate(rule:STLR.Rule) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
263 | if isDirectLeftHandRecursive(identifier: rule.identifier){
264 | throw ProcessingError.interpretation(message: "\(rule.identifier) is directly left hand recursive (references itself without moving scan head forward)", causes: [])
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:272:5: warning: 'public' modifier is redundant for property declared in a public extension
270 | public extension STLR.Rule {
271 | /// True if the rule is skipping
272 | public var isVoid : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
273 | return void != nil || (annotations?.void ?? false)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:277:5: warning: 'public' modifier is redundant for property declared in a public extension
275 |
276 | /// True if it is a scanning rule
277 | public var isTransient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
278 | return transient != nil || (annotations?.transient ?? false)
279 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:281:5: warning: 'public' modifier is redundant for property declared in a public extension
279 | }
280 |
281 | public var type : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
282 | return annotations?.type
283 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:288:5: warning: 'public' modifier is redundant for property declared in a public extension
286 | public extension STLR.Quantifier {
287 | /// The minimum number of matches required to satisfy the quantifier
288 | public var minimumMatches : Int {
| `- warning: 'public' modifier is redundant for property declared in a public extension
289 | switch self {
290 | case .star, .questionMark:
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:300:5: warning: 'public' modifier is redundant for property declared in a public extension
298 |
299 | /// The maximum number of matches required to satisfy the quantifier
300 | public var maximumMatches : Int? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
301 | switch self {
302 | case .questionMark:
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:338:5: warning: 'public' modifier is redundant for instance method declared in a public extension
336 | }
337 |
338 | public func directlyReferences(_ identifier:String, grammar:STLR.Grammar, closedList:inout [String])->Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
339 | for element in elements {
340 | if element.directlyReferences(identifier, grammar: grammar, closedList: &closedList){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:353:5: warning: 'public' modifier is redundant for instance method declared in a public extension
351 |
352 |
353 | public func references(_ identifier:String, grammar:STLR.Grammar, closedList: inout [String])->Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
354 | for element in elements {
355 | if element.references(identifier, grammar: grammar, closedList: &closedList){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:366:5: warning: 'public' modifier is redundant for property declared in a public extension
364 |
365 | /// The annotations defined as `RuleAnnotations`
366 | public var ruleAnnotations : RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
367 | return annotations?.ruleAnnotations ?? [:]
368 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:371:5: warning: 'public' modifier is redundant for property declared in a public extension
369 |
370 | /// True if the element is skipping
371 | public var isVoid : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
372 | return void != nil || (annotations?.void ?? false)
373 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:376:5: warning: 'public' modifier is redundant for property declared in a public extension
374 |
375 | /// True if it is a scanning element
376 | public var isTransient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
377 | return transient != nil || (annotations?.transient ?? false)
378 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:381:5: warning: 'public' modifier is redundant for property declared in a public extension
379 |
380 | /// True if the element is lookahead
381 | public var isLookahead : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
382 | return lookahead != nil
383 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:386:5: warning: 'public' modifier is redundant for property declared in a public extension
384 |
385 | /// True if the element is negated
386 | public var isNegated : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
387 | return negated != nil
388 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:391:5: warning: 'public' modifier is redundant for property declared in a public extension
389 |
390 | /// Returns the token name (if any) of the element
391 | public var token : TokenType? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
392 | if case let Behaviour.Kind.structural(token) = kind {
393 | return token
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:400:5: warning: 'public' modifier is redundant for property declared in a public extension
398 |
399 | /// The `Kind` of the rule
400 | public var kind : Behaviour.Kind {
| `- warning: 'public' modifier is redundant for property declared in a public extension
401 | if isVoid {
402 | return .skipping
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:418:5: warning: 'public' modifier is redundant for property declared in a public extension
416 |
417 | /// The `Cardinality` of the match
418 | public var cardinality : Cardinality {
| `- warning: 'public' modifier is redundant for property declared in a public extension
419 | guard let quantifier = quantifier else {
420 | return .one
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:436:5: warning: 'public' modifier is redundant for property declared in a public extension
434 |
435 | /// The `Behaviour` of the rule
436 | public var behaviour : Behaviour {
| `- warning: 'public' modifier is redundant for property declared in a public extension
437 | return Behaviour(kind, cardinality: cardinality, negated: isNegated, lookahead: isLookahead)
438 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:463:5: warning: 'public' modifier is redundant for instance method declared in a public extension
461 | - Returns: `true` if the identifier could be referenced before the scan head has moved
462 | */
463 | public func directlyReferences(_ identifier:String, grammar:STLR.Grammar)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
464 | var closedList = [String]()
465 | return directlyReferences(identifier, grammar: grammar, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:620:5: warning: 'internal' modifier is redundant for property declared in an internal extension
618 | internal extension Array where Element == STLR.Annotation {
619 | /// The annotations on the element with any that would be captured in `Behaviour` removed (@token, @transient, @void)
620 | internal var unfilteredRuleAnnotationsForTesting : RuleAnnotations {
| `- warning: 'internal' modifier is redundant for property declared in an internal extension
621 | var ruleAnnotations = [RuleAnnotation : RuleAnnotationValue]()
622 | for annotation in self {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:641:5: warning: 'public' modifier is redundant for property declared in a public extension
639 |
640 | /// The annotations on the element with any that would be captured in `Behaviour` removed (@token, @transient, @void)
641 | public var ruleAnnotations : RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
642 | var ruleAnnotations = [RuleAnnotation : RuleAnnotationValue]()
643 | for annotation in filter({!$0.label.isBehavioural}){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:650:5: warning: 'public' modifier is redundant for property declared in a public extension
648 |
649 | /// The token if any specified in the annotations
650 | public var token : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
651 | guard let tokenAnnotationValue = self[RuleAnnotation.token] else {
652 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:665:5: warning: 'public' modifier is redundant for property declared in a public extension
663 |
664 | /// `true` if the annotations include @void
665 | public var void : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
666 | return self[RuleAnnotation.void] != nil
667 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:670:5: warning: 'public' modifier is redundant for property declared in a public extension
668 |
669 | /// `true` if the annotations include @transient
670 | public var transient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
671 | return self[RuleAnnotation.transient] != nil
672 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:673:5: warning: 'public' modifier is redundant for property declared in a public extension
671 | return self[RuleAnnotation.transient] != nil
672 | }
673 | public var type : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
674 | if let typeAnnotationValue = self[RuleAnnotation.type] {
675 | if case let RuleAnnotationValue.string(value) = typeAnnotationValue {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:46:22: warning: Should be defined as standard type in STLR.stlr
44 | self = .definedLabel(definedLabel: STLR.DefinedLabel.transient)
45 | case .pinned:
46 | #warning("Should be defined as standard type in STLR.stlr")
| `- warning: Should be defined as standard type in STLR.stlr
47 | self = .customLabel(customLabel: "pin")
48 | case .type:
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:49:22: warning: Should be defined as standard type in STLR.stlr
47 | self = .customLabel(customLabel: "pin")
48 | case .type:
49 | #warning("Should be defined as standard type in STLR.stlr")
| `- warning: Should be defined as standard type in STLR.stlr
50 | self = .customLabel(customLabel: "type")
51 | case .custom(let label):
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:410:26: warning: Possible bug? should it be returning the kid of the identifier?
408 | } else {
409 | if let identifier = identifier {
410 | #warning("Possible bug? should it be returning the kid of the identifier?")
| `- warning: Possible bug? should it be returning the kid of the identifier?
411 | return .structural(token:StringToken(identifier))
412 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/STLR.swift:8:24: warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | typealias T = STLRTokens
7 | // Cache for compiled regular expressions
8 | private static var regularExpressionCache = [String : NSRegularExpression]()
| |- warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regularExpressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'regularExpressionCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Returns a pre-compiled pattern from the cache, or if not in the cache builds
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/STLR.swift:301:24: warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
299 |
300 | /// Cache for left-hand recursive rules
301 | private static var leftHandRecursiveRules = [ Int : Rule ]()
| |- warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftHandRecursiveRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftHandRecursiveRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 |
303 | /// Create a language that can be used for parsing etc
[78/86] Compiling STLR STLR.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:149:5: warning: 'public' modifier is redundant for instance method declared in a public extension
147 | }
148 |
149 | public func defined(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
150 | for rule in rules {
151 | if rule.identifier == identifier {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:209:5: warning: 'public' modifier is redundant for property declared in a public extension
207 |
208 | /// All rules, including those defined inline
209 | public var allRules : STLR.Rules {
| `- warning: 'public' modifier is redundant for property declared in a public extension
210 | var all = STLR.Rules()
211 | all.append(contentsOf: rules)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:216:5: warning: 'public' modifier is redundant for subscript declared in a public extension
214 | }
215 |
216 | public subscript(_ identifier:String)->STLR.Rule{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
217 | for rule in rules {
218 | if rule.identifier == identifier {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:242:5: warning: 'public' modifier is redundant for instance method declared in a public extension
240 | }
241 |
242 | public func isLeftHandRecursive(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
243 | var closedList = [String]()
244 | return self[identifier].expression.references(identifier, grammar: self, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:247:5: warning: 'public' modifier is redundant for instance method declared in a public extension
245 | }
246 |
247 | public func isDirectLeftHandRecursive(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
248 | var closedList = [String]()
249 | return self[identifier].expression.directlyReferences(identifier, grammar: self, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:252:5: warning: 'public' modifier is redundant for instance method declared in a public extension
250 | }
251 |
252 | public func isRoot(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
253 | var closedList = [String]()
254 | for rule in rules {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:262:5: warning: 'public' modifier is redundant for instance method declared in a public extension
260 | }
261 |
262 | public func validate(rule:STLR.Rule) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
263 | if isDirectLeftHandRecursive(identifier: rule.identifier){
264 | throw ProcessingError.interpretation(message: "\(rule.identifier) is directly left hand recursive (references itself without moving scan head forward)", causes: [])
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:272:5: warning: 'public' modifier is redundant for property declared in a public extension
270 | public extension STLR.Rule {
271 | /// True if the rule is skipping
272 | public var isVoid : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
273 | return void != nil || (annotations?.void ?? false)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:277:5: warning: 'public' modifier is redundant for property declared in a public extension
275 |
276 | /// True if it is a scanning rule
277 | public var isTransient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
278 | return transient != nil || (annotations?.transient ?? false)
279 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:281:5: warning: 'public' modifier is redundant for property declared in a public extension
279 | }
280 |
281 | public var type : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
282 | return annotations?.type
283 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:288:5: warning: 'public' modifier is redundant for property declared in a public extension
286 | public extension STLR.Quantifier {
287 | /// The minimum number of matches required to satisfy the quantifier
288 | public var minimumMatches : Int {
| `- warning: 'public' modifier is redundant for property declared in a public extension
289 | switch self {
290 | case .star, .questionMark:
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:300:5: warning: 'public' modifier is redundant for property declared in a public extension
298 |
299 | /// The maximum number of matches required to satisfy the quantifier
300 | public var maximumMatches : Int? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
301 | switch self {
302 | case .questionMark:
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:338:5: warning: 'public' modifier is redundant for instance method declared in a public extension
336 | }
337 |
338 | public func directlyReferences(_ identifier:String, grammar:STLR.Grammar, closedList:inout [String])->Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
339 | for element in elements {
340 | if element.directlyReferences(identifier, grammar: grammar, closedList: &closedList){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:353:5: warning: 'public' modifier is redundant for instance method declared in a public extension
351 |
352 |
353 | public func references(_ identifier:String, grammar:STLR.Grammar, closedList: inout [String])->Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
354 | for element in elements {
355 | if element.references(identifier, grammar: grammar, closedList: &closedList){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:366:5: warning: 'public' modifier is redundant for property declared in a public extension
364 |
365 | /// The annotations defined as `RuleAnnotations`
366 | public var ruleAnnotations : RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
367 | return annotations?.ruleAnnotations ?? [:]
368 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:371:5: warning: 'public' modifier is redundant for property declared in a public extension
369 |
370 | /// True if the element is skipping
371 | public var isVoid : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
372 | return void != nil || (annotations?.void ?? false)
373 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:376:5: warning: 'public' modifier is redundant for property declared in a public extension
374 |
375 | /// True if it is a scanning element
376 | public var isTransient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
377 | return transient != nil || (annotations?.transient ?? false)
378 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:381:5: warning: 'public' modifier is redundant for property declared in a public extension
379 |
380 | /// True if the element is lookahead
381 | public var isLookahead : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
382 | return lookahead != nil
383 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:386:5: warning: 'public' modifier is redundant for property declared in a public extension
384 |
385 | /// True if the element is negated
386 | public var isNegated : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
387 | return negated != nil
388 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:391:5: warning: 'public' modifier is redundant for property declared in a public extension
389 |
390 | /// Returns the token name (if any) of the element
391 | public var token : TokenType? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
392 | if case let Behaviour.Kind.structural(token) = kind {
393 | return token
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:400:5: warning: 'public' modifier is redundant for property declared in a public extension
398 |
399 | /// The `Kind` of the rule
400 | public var kind : Behaviour.Kind {
| `- warning: 'public' modifier is redundant for property declared in a public extension
401 | if isVoid {
402 | return .skipping
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:418:5: warning: 'public' modifier is redundant for property declared in a public extension
416 |
417 | /// The `Cardinality` of the match
418 | public var cardinality : Cardinality {
| `- warning: 'public' modifier is redundant for property declared in a public extension
419 | guard let quantifier = quantifier else {
420 | return .one
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:436:5: warning: 'public' modifier is redundant for property declared in a public extension
434 |
435 | /// The `Behaviour` of the rule
436 | public var behaviour : Behaviour {
| `- warning: 'public' modifier is redundant for property declared in a public extension
437 | return Behaviour(kind, cardinality: cardinality, negated: isNegated, lookahead: isLookahead)
438 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:463:5: warning: 'public' modifier is redundant for instance method declared in a public extension
461 | - Returns: `true` if the identifier could be referenced before the scan head has moved
462 | */
463 | public func directlyReferences(_ identifier:String, grammar:STLR.Grammar)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
464 | var closedList = [String]()
465 | return directlyReferences(identifier, grammar: grammar, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:620:5: warning: 'internal' modifier is redundant for property declared in an internal extension
618 | internal extension Array where Element == STLR.Annotation {
619 | /// The annotations on the element with any that would be captured in `Behaviour` removed (@token, @transient, @void)
620 | internal var unfilteredRuleAnnotationsForTesting : RuleAnnotations {
| `- warning: 'internal' modifier is redundant for property declared in an internal extension
621 | var ruleAnnotations = [RuleAnnotation : RuleAnnotationValue]()
622 | for annotation in self {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:641:5: warning: 'public' modifier is redundant for property declared in a public extension
639 |
640 | /// The annotations on the element with any that would be captured in `Behaviour` removed (@token, @transient, @void)
641 | public var ruleAnnotations : RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
642 | var ruleAnnotations = [RuleAnnotation : RuleAnnotationValue]()
643 | for annotation in filter({!$0.label.isBehavioural}){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:650:5: warning: 'public' modifier is redundant for property declared in a public extension
648 |
649 | /// The token if any specified in the annotations
650 | public var token : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
651 | guard let tokenAnnotationValue = self[RuleAnnotation.token] else {
652 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:665:5: warning: 'public' modifier is redundant for property declared in a public extension
663 |
664 | /// `true` if the annotations include @void
665 | public var void : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
666 | return self[RuleAnnotation.void] != nil
667 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:670:5: warning: 'public' modifier is redundant for property declared in a public extension
668 |
669 | /// `true` if the annotations include @transient
670 | public var transient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
671 | return self[RuleAnnotation.transient] != nil
672 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:673:5: warning: 'public' modifier is redundant for property declared in a public extension
671 | return self[RuleAnnotation.transient] != nil
672 | }
673 | public var type : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
674 | if let typeAnnotationValue = self[RuleAnnotation.type] {
675 | if case let RuleAnnotationValue.string(value) = typeAnnotationValue {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:46:22: warning: Should be defined as standard type in STLR.stlr
44 | self = .definedLabel(definedLabel: STLR.DefinedLabel.transient)
45 | case .pinned:
46 | #warning("Should be defined as standard type in STLR.stlr")
| `- warning: Should be defined as standard type in STLR.stlr
47 | self = .customLabel(customLabel: "pin")
48 | case .type:
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:49:22: warning: Should be defined as standard type in STLR.stlr
47 | self = .customLabel(customLabel: "pin")
48 | case .type:
49 | #warning("Should be defined as standard type in STLR.stlr")
| `- warning: Should be defined as standard type in STLR.stlr
50 | self = .customLabel(customLabel: "type")
51 | case .custom(let label):
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:410:26: warning: Possible bug? should it be returning the kid of the identifier?
408 | } else {
409 | if let identifier = identifier {
410 | #warning("Possible bug? should it be returning the kid of the identifier?")
| `- warning: Possible bug? should it be returning the kid of the identifier?
411 | return .structural(token:StringToken(identifier))
412 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/STLR.swift:8:24: warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | typealias T = STLRTokens
7 | // Cache for compiled regular expressions
8 | private static var regularExpressionCache = [String : NSRegularExpression]()
| |- warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regularExpressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'regularExpressionCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Returns a pre-compiled pattern from the cache, or if not in the cache builds
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/STLR.swift:301:24: warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
299 |
300 | /// Cache for left-hand recursive rules
301 | private static var leftHandRecursiveRules = [ Int : Rule ]()
| |- warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftHandRecursiveRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftHandRecursiveRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 |
303 | /// Create a language that can be used for parsing etc
[79/86] Compiling STLR SymbolTable.swift
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:149:5: warning: 'public' modifier is redundant for instance method declared in a public extension
147 | }
148 |
149 | public func defined(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
150 | for rule in rules {
151 | if rule.identifier == identifier {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:209:5: warning: 'public' modifier is redundant for property declared in a public extension
207 |
208 | /// All rules, including those defined inline
209 | public var allRules : STLR.Rules {
| `- warning: 'public' modifier is redundant for property declared in a public extension
210 | var all = STLR.Rules()
211 | all.append(contentsOf: rules)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:216:5: warning: 'public' modifier is redundant for subscript declared in a public extension
214 | }
215 |
216 | public subscript(_ identifier:String)->STLR.Rule{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
217 | for rule in rules {
218 | if rule.identifier == identifier {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:242:5: warning: 'public' modifier is redundant for instance method declared in a public extension
240 | }
241 |
242 | public func isLeftHandRecursive(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
243 | var closedList = [String]()
244 | return self[identifier].expression.references(identifier, grammar: self, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:247:5: warning: 'public' modifier is redundant for instance method declared in a public extension
245 | }
246 |
247 | public func isDirectLeftHandRecursive(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
248 | var closedList = [String]()
249 | return self[identifier].expression.directlyReferences(identifier, grammar: self, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:252:5: warning: 'public' modifier is redundant for instance method declared in a public extension
250 | }
251 |
252 | public func isRoot(identifier:String)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
253 | var closedList = [String]()
254 | for rule in rules {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:262:5: warning: 'public' modifier is redundant for instance method declared in a public extension
260 | }
261 |
262 | public func validate(rule:STLR.Rule) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
263 | if isDirectLeftHandRecursive(identifier: rule.identifier){
264 | throw ProcessingError.interpretation(message: "\(rule.identifier) is directly left hand recursive (references itself without moving scan head forward)", causes: [])
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:272:5: warning: 'public' modifier is redundant for property declared in a public extension
270 | public extension STLR.Rule {
271 | /// True if the rule is skipping
272 | public var isVoid : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
273 | return void != nil || (annotations?.void ?? false)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:277:5: warning: 'public' modifier is redundant for property declared in a public extension
275 |
276 | /// True if it is a scanning rule
277 | public var isTransient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
278 | return transient != nil || (annotations?.transient ?? false)
279 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:281:5: warning: 'public' modifier is redundant for property declared in a public extension
279 | }
280 |
281 | public var type : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
282 | return annotations?.type
283 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:288:5: warning: 'public' modifier is redundant for property declared in a public extension
286 | public extension STLR.Quantifier {
287 | /// The minimum number of matches required to satisfy the quantifier
288 | public var minimumMatches : Int {
| `- warning: 'public' modifier is redundant for property declared in a public extension
289 | switch self {
290 | case .star, .questionMark:
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:300:5: warning: 'public' modifier is redundant for property declared in a public extension
298 |
299 | /// The maximum number of matches required to satisfy the quantifier
300 | public var maximumMatches : Int? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
301 | switch self {
302 | case .questionMark:
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:338:5: warning: 'public' modifier is redundant for instance method declared in a public extension
336 | }
337 |
338 | public func directlyReferences(_ identifier:String, grammar:STLR.Grammar, closedList:inout [String])->Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
339 | for element in elements {
340 | if element.directlyReferences(identifier, grammar: grammar, closedList: &closedList){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:353:5: warning: 'public' modifier is redundant for instance method declared in a public extension
351 |
352 |
353 | public func references(_ identifier:String, grammar:STLR.Grammar, closedList: inout [String])->Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
354 | for element in elements {
355 | if element.references(identifier, grammar: grammar, closedList: &closedList){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:366:5: warning: 'public' modifier is redundant for property declared in a public extension
364 |
365 | /// The annotations defined as `RuleAnnotations`
366 | public var ruleAnnotations : RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
367 | return annotations?.ruleAnnotations ?? [:]
368 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:371:5: warning: 'public' modifier is redundant for property declared in a public extension
369 |
370 | /// True if the element is skipping
371 | public var isVoid : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
372 | return void != nil || (annotations?.void ?? false)
373 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:376:5: warning: 'public' modifier is redundant for property declared in a public extension
374 |
375 | /// True if it is a scanning element
376 | public var isTransient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
377 | return transient != nil || (annotations?.transient ?? false)
378 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:381:5: warning: 'public' modifier is redundant for property declared in a public extension
379 |
380 | /// True if the element is lookahead
381 | public var isLookahead : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
382 | return lookahead != nil
383 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:386:5: warning: 'public' modifier is redundant for property declared in a public extension
384 |
385 | /// True if the element is negated
386 | public var isNegated : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
387 | return negated != nil
388 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:391:5: warning: 'public' modifier is redundant for property declared in a public extension
389 |
390 | /// Returns the token name (if any) of the element
391 | public var token : TokenType? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
392 | if case let Behaviour.Kind.structural(token) = kind {
393 | return token
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:400:5: warning: 'public' modifier is redundant for property declared in a public extension
398 |
399 | /// The `Kind` of the rule
400 | public var kind : Behaviour.Kind {
| `- warning: 'public' modifier is redundant for property declared in a public extension
401 | if isVoid {
402 | return .skipping
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:418:5: warning: 'public' modifier is redundant for property declared in a public extension
416 |
417 | /// The `Cardinality` of the match
418 | public var cardinality : Cardinality {
| `- warning: 'public' modifier is redundant for property declared in a public extension
419 | guard let quantifier = quantifier else {
420 | return .one
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:436:5: warning: 'public' modifier is redundant for property declared in a public extension
434 |
435 | /// The `Behaviour` of the rule
436 | public var behaviour : Behaviour {
| `- warning: 'public' modifier is redundant for property declared in a public extension
437 | return Behaviour(kind, cardinality: cardinality, negated: isNegated, lookahead: isLookahead)
438 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:463:5: warning: 'public' modifier is redundant for instance method declared in a public extension
461 | - Returns: `true` if the identifier could be referenced before the scan head has moved
462 | */
463 | public func directlyReferences(_ identifier:String, grammar:STLR.Grammar)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
464 | var closedList = [String]()
465 | return directlyReferences(identifier, grammar: grammar, closedList: &closedList)
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:620:5: warning: 'internal' modifier is redundant for property declared in an internal extension
618 | internal extension Array where Element == STLR.Annotation {
619 | /// The annotations on the element with any that would be captured in `Behaviour` removed (@token, @transient, @void)
620 | internal var unfilteredRuleAnnotationsForTesting : RuleAnnotations {
| `- warning: 'internal' modifier is redundant for property declared in an internal extension
621 | var ruleAnnotations = [RuleAnnotation : RuleAnnotationValue]()
622 | for annotation in self {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:641:5: warning: 'public' modifier is redundant for property declared in a public extension
639 |
640 | /// The annotations on the element with any that would be captured in `Behaviour` removed (@token, @transient, @void)
641 | public var ruleAnnotations : RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
642 | var ruleAnnotations = [RuleAnnotation : RuleAnnotationValue]()
643 | for annotation in filter({!$0.label.isBehavioural}){
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:650:5: warning: 'public' modifier is redundant for property declared in a public extension
648 |
649 | /// The token if any specified in the annotations
650 | public var token : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
651 | guard let tokenAnnotationValue = self[RuleAnnotation.token] else {
652 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:665:5: warning: 'public' modifier is redundant for property declared in a public extension
663 |
664 | /// `true` if the annotations include @void
665 | public var void : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
666 | return self[RuleAnnotation.void] != nil
667 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:670:5: warning: 'public' modifier is redundant for property declared in a public extension
668 |
669 | /// `true` if the annotations include @transient
670 | public var transient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
671 | return self[RuleAnnotation.transient] != nil
672 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:673:5: warning: 'public' modifier is redundant for property declared in a public extension
671 | return self[RuleAnnotation.transient] != nil
672 | }
673 | public var type : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
674 | if let typeAnnotationValue = self[RuleAnnotation.type] {
675 | if case let RuleAnnotationValue.string(value) = typeAnnotationValue {
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:46:22: warning: Should be defined as standard type in STLR.stlr
44 | self = .definedLabel(definedLabel: STLR.DefinedLabel.transient)
45 | case .pinned:
46 | #warning("Should be defined as standard type in STLR.stlr")
| `- warning: Should be defined as standard type in STLR.stlr
47 | self = .customLabel(customLabel: "pin")
48 | case .type:
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:49:22: warning: Should be defined as standard type in STLR.stlr
47 | self = .customLabel(customLabel: "pin")
48 | case .type:
49 | #warning("Should be defined as standard type in STLR.stlr")
| `- warning: Should be defined as standard type in STLR.stlr
50 | self = .customLabel(customLabel: "type")
51 | case .custom(let label):
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/Extensions/STLR+Extensions.swift:410:26: warning: Possible bug? should it be returning the kid of the identifier?
408 | } else {
409 | if let identifier = identifier {
410 | #warning("Possible bug? should it be returning the kid of the identifier?")
| `- warning: Possible bug? should it be returning the kid of the identifier?
411 | return .structural(token:StringToken(identifier))
412 | }
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/STLR.swift:8:24: warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | typealias T = STLRTokens
7 | // Cache for compiled regular expressions
8 | private static var regularExpressionCache = [String : NSRegularExpression]()
| |- warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regularExpressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'regularExpressionCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Returns a pre-compiled pattern from the cache, or if not in the cache builds
/Users/admin/builder/spi-builder-workspace/Sources/STLR/Generated/STLR.swift:301:24: warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
299 |
300 | /// Cache for left-hand recursive rules
301 | private static var leftHandRecursiveRules = [ Int : Rule ]()
| |- warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftHandRecursiveRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftHandRecursiveRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 |
303 | /// Create a language that can be used for parsing etc
[79/86] Write Objects.LinkFileList
[80/86] Archiving libSTLR.a
[82/115] Compiling ExampleLanguages UtilityClasses.swift
[83/115] Compiling ExampleLanguages SwiftLanguage.swift
[84/115] Emitting module stlrc
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Commands/Parse.swift:28:20: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static var all: [Parameter] = [ inputFile.parameter ]
| |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Argument.swift:37:14: warning: associated value 'insufficientParameters(requiredOccurence:)' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Cardinality'; this is an error in the Swift 6 language mode
35 | case noCommandProvided
36 | case parametersNotFound
37 | case insufficientParameters(requiredOccurence: Cardinality)
| `- warning: associated value 'insufficientParameters(requiredOccurence:)' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Cardinality'; this is an error in the Swift 6 language mode
38 | case invalidParameterType
39 | case tooManyParameters
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:14:13: note: consider making enum 'Cardinality' conform to the 'Sendable' protocol
12 | Defines the number of times a parameter of a particular type can appear.
13 | */
14 | public enum Cardinality {
| `- note: consider making enum 'Cardinality' conform to the 'Sendable' protocol
15 | case one(optional:Bool)
16 | case range(Range<Int>)
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Extensions/ArrayExtensions.swift:19:5: warning: 'public' modifier is redundant for subscript declared in a public extension
17 |
18 | public extension Array where Element == Option {
19 | public subscript(optionNamed name:String)->Option?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
20 | for option in self {
21 | if option.longForm == name {
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Extensions/FileManager+stlr.swift:11:5: warning: 'public' modifier is redundant for instance method declared in a public extension
9 |
10 | public extension FileManager{
11 | public func isDirectory(_ url:URL)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
12 | var isDirectory : ObjCBool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Option.swift:15:5: warning: 'public' modifier is redundant for subscript declared in a public extension
13 |
14 | public extension Optioned {
15 | public subscript<O:Option>(optionCalled longForm:String)->O?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
16 | for option in options {
17 | if option.longForm == longForm {
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Option.swift:113:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
111 |
112 | internal extension String {
113 | internal func substring(_ range:CountableRange<Int>)->Substring{
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
114 | let first = index(startIndex, offsetBy: range.startIndex)
115 | let last = index(first, offsetBy: range.upperBound-range.lowerBound)
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:66:5: warning: 'public' modifier is redundant for instance method declared in a public extension
64 | }
65 |
66 | public func between(_ min:Int, and max:Int)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
67 | return parameter(withCardinality: Cardinality.range(min..<max))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | }
69 |
70 | public func multiple(optional:Bool)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return parameter(withCardinality: Cardinality.multiple(optional: optional))
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:73:5: warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return parameter(withCardinality: Cardinality.multiple(optional: optional))
72 | }
73 | public func one(optional:Bool)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
74 | return parameter(withCardinality: Cardinality.one(optional: optional))
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Options/GrammarOption.swift:49:20: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 |
49 | static var all: [Parameter] = [Parameters.inputGrammarFile.parameter]
| |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/String+STLR.swift:11:5: warning: 'public' modifier is redundant for property declared in a public extension
9 |
10 | public extension String {
11 | public var canonicalPath : String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
12 |
13 | return NSString(string:"\(hasPrefix(".") || hasPrefix("/") || hasPrefix("~") ? "" : "./")\(self)").expandingTildeInPath + (hasSuffix("/") ? "/" : "")
[85/117] Compiling stlrc GrammarOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Options/GrammarOption.swift:49:20: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 |
49 | static var all: [Parameter] = [Parameters.inputGrammarFile.parameter]
| |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | }
[86/117] Compiling stlrc LanguageOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Options/GrammarOption.swift:49:20: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 |
49 | static var all: [Parameter] = [Parameters.inputGrammarFile.parameter]
| |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | }
[87/117] Compiling stlrc OptimizeOption.swift
[88/117] Compiling stlrc OutputLocationOption.swift
[89/117] Compiling stlrc STLRScope.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Option.swift:15:5: warning: 'public' modifier is redundant for subscript declared in a public extension
13 |
14 | public extension Optioned {
15 | public subscript<O:Option>(optionCalled longForm:String)->O?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
16 | for option in options {
17 | if option.longForm == longForm {
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Option.swift:113:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
111 |
112 | internal extension String {
113 | internal func substring(_ range:CountableRange<Int>)->Substring{
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
114 | let first = index(startIndex, offsetBy: range.startIndex)
115 | let last = index(first, offsetBy: range.upperBound-range.lowerBound)
[90/117] Compiling stlrc StringExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Option.swift:15:5: warning: 'public' modifier is redundant for subscript declared in a public extension
13 |
14 | public extension Optioned {
15 | public subscript<O:Option>(optionCalled longForm:String)->O?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
16 | for option in options {
17 | if option.longForm == longForm {
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Option.swift:113:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
111 |
112 | internal extension String {
113 | internal func substring(_ range:CountableRange<Int>)->Substring{
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
114 | let first = index(startIndex, offsetBy: range.startIndex)
115 | let last = index(first, offsetBy: range.upperBound-range.lowerBound)
[91/117] Compiling stlrc Option.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Option.swift:15:5: warning: 'public' modifier is redundant for subscript declared in a public extension
13 |
14 | public extension Optioned {
15 | public subscript<O:Option>(optionCalled longForm:String)->O?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
16 | for option in options {
17 | if option.longForm == longForm {
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Option.swift:113:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
111 |
112 | internal extension String {
113 | internal func substring(_ range:CountableRange<Int>)->Substring{
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
114 | let first = index(startIndex, offsetBy: range.startIndex)
115 | let last = index(first, offsetBy: range.upperBound-range.lowerBound)
[92/117] Compiling stlrc Reporting.swift
[93/117] Compiling stlrc Tool.swift
[94/117] Compiling stlrc Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:66:5: warning: 'public' modifier is redundant for instance method declared in a public extension
64 | }
65 |
66 | public func between(_ min:Int, and max:Int)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
67 | return parameter(withCardinality: Cardinality.range(min..<max))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | }
69 |
70 | public func multiple(optional:Bool)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return parameter(withCardinality: Cardinality.multiple(optional: optional))
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:73:5: warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return parameter(withCardinality: Cardinality.multiple(optional: optional))
72 | }
73 | public func one(optional:Bool)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
74 | return parameter(withCardinality: Cardinality.one(optional: optional))
75 | }
[95/117] Compiling stlrc Parameters.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:66:5: warning: 'public' modifier is redundant for instance method declared in a public extension
64 | }
65 |
66 | public func between(_ min:Int, and max:Int)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
67 | return parameter(withCardinality: Cardinality.range(min..<max))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | }
69 |
70 | public func multiple(optional:Bool)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return parameter(withCardinality: Cardinality.multiple(optional: optional))
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:73:5: warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return parameter(withCardinality: Cardinality.multiple(optional: optional))
72 | }
73 | public func one(optional:Bool)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
74 | return parameter(withCardinality: Cardinality.one(optional: optional))
75 | }
[96/117] Compiling stlrc Runnable.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:66:5: warning: 'public' modifier is redundant for instance method declared in a public extension
64 | }
65 |
66 | public func between(_ min:Int, and max:Int)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
67 | return parameter(withCardinality: Cardinality.range(min..<max))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | }
69 |
70 | public func multiple(optional:Bool)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return parameter(withCardinality: Cardinality.multiple(optional: optional))
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:73:5: warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return parameter(withCardinality: Cardinality.multiple(optional: optional))
72 | }
73 | public func one(optional:Bool)->Parameter{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
74 | return parameter(withCardinality: Cardinality.one(optional: optional))
75 | }
[97/117] Compiling stlrc ArrayExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Extensions/ArrayExtensions.swift:19:5: warning: 'public' modifier is redundant for subscript declared in a public extension
17 |
18 | public extension Array where Element == Option {
19 | public subscript(optionNamed name:String)->Option?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
20 | for option in self {
21 | if option.longForm == name {
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Extensions/FileManager+stlr.swift:11:5: warning: 'public' modifier is redundant for instance method declared in a public extension
9 |
10 | public extension FileManager{
11 | public func isDirectory(_ url:URL)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
12 | var isDirectory : ObjCBool = false
13 |
[98/117] Compiling stlrc DictionaryExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Extensions/ArrayExtensions.swift:19:5: warning: 'public' modifier is redundant for subscript declared in a public extension
17 |
18 | public extension Array where Element == Option {
19 | public subscript(optionNamed name:String)->Option?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
20 | for option in self {
21 | if option.longForm == name {
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Extensions/FileManager+stlr.swift:11:5: warning: 'public' modifier is redundant for instance method declared in a public extension
9 |
10 | public extension FileManager{
11 | public func isDirectory(_ url:URL)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
12 | var isDirectory : ObjCBool = false
13 |
[99/117] Compiling stlrc FileManager+stlr.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Extensions/ArrayExtensions.swift:19:5: warning: 'public' modifier is redundant for subscript declared in a public extension
17 |
18 | public extension Array where Element == Option {
19 | public subscript(optionNamed name:String)->Option?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
20 | for option in self {
21 | if option.longForm == name {
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Extensions/FileManager+stlr.swift:11:5: warning: 'public' modifier is redundant for instance method declared in a public extension
9 |
10 | public extension FileManager{
11 | public func isDirectory(_ url:URL)->Bool{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
12 | var isDirectory : ObjCBool = false
13 |
[100/117] Compiling stlrc Profile.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Argument.swift:37:14: warning: associated value 'insufficientParameters(requiredOccurence:)' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Cardinality'; this is an error in the Swift 6 language mode
35 | case noCommandProvided
36 | case parametersNotFound
37 | case insufficientParameters(requiredOccurence: Cardinality)
| `- warning: associated value 'insufficientParameters(requiredOccurence:)' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Cardinality'; this is an error in the Swift 6 language mode
38 | case invalidParameterType
39 | case tooManyParameters
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:14:13: note: consider making enum 'Cardinality' conform to the 'Sendable' protocol
12 | Defines the number of times a parameter of a particular type can appear.
13 | */
14 | public enum Cardinality {
| `- note: consider making enum 'Cardinality' conform to the 'Sendable' protocol
15 | case one(optional:Bool)
16 | case range(Range<Int>)
[101/117] Compiling stlrc ANSIEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Argument.swift:37:14: warning: associated value 'insufficientParameters(requiredOccurence:)' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Cardinality'; this is an error in the Swift 6 language mode
35 | case noCommandProvided
36 | case parametersNotFound
37 | case insufficientParameters(requiredOccurence: Cardinality)
| `- warning: associated value 'insufficientParameters(requiredOccurence:)' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Cardinality'; this is an error in the Swift 6 language mode
38 | case invalidParameterType
39 | case tooManyParameters
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:14:13: note: consider making enum 'Cardinality' conform to the 'Sendable' protocol
12 | Defines the number of times a parameter of a particular type can appear.
13 | */
14 | public enum Cardinality {
| `- note: consider making enum 'Cardinality' conform to the 'Sendable' protocol
15 | case one(optional:Bool)
16 | case range(Range<Int>)
[102/117] Compiling stlrc Argument.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Argument.swift:37:14: warning: associated value 'insufficientParameters(requiredOccurence:)' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Cardinality'; this is an error in the Swift 6 language mode
35 | case noCommandProvided
36 | case parametersNotFound
37 | case insufficientParameters(requiredOccurence: Cardinality)
| `- warning: associated value 'insufficientParameters(requiredOccurence:)' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Cardinality'; this is an error in the Swift 6 language mode
38 | case invalidParameterType
39 | case tooManyParameters
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Framework/Protocols/Parameters.swift:14:13: note: consider making enum 'Cardinality' conform to the 'Sendable' protocol
12 | Defines the number of times a parameter of a particular type can appear.
13 | */
14 | public enum Cardinality {
| `- note: consider making enum 'Cardinality' conform to the 'Sendable' protocol
15 | case one(optional:Bool)
16 | case range(Range<Int>)
[103/117] Compiling stlrc Version.swift
[104/117] Compiling stlrc Operations.swift
[105/117] Compiling stlrc Generate.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Commands/Parse.swift:28:20: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static var all: [Parameter] = [ inputFile.parameter ]
| |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
[106/117] Compiling stlrc Install.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Commands/Parse.swift:28:20: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static var all: [Parameter] = [ inputFile.parameter ]
| |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
[107/117] Compiling stlrc Parse.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/Commands/Parse.swift:28:20: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static var all: [Parameter] = [ inputFile.parameter ]
| |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
[108/117] Compiling stlrc String+STLR.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/String+STLR.swift:11:5: warning: 'public' modifier is redundant for property declared in a public extension
9 |
10 | public extension String {
11 | public var canonicalPath : String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
12 |
13 | return NSString(string:"\(hasPrefix(".") || hasPrefix("/") || hasPrefix("~") ? "" : "./")\(self)").expandingTildeInPath + (hasSuffix("/") ? "/" : "")
[109/117] Compiling stlrc main.swift
/Users/admin/builder/spi-builder-workspace/Sources/stlrc/String+STLR.swift:11:5: warning: 'public' modifier is redundant for property declared in a public extension
9 |
10 | public extension String {
11 | public var canonicalPath : String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
12 |
13 | return NSString(string:"\(hasPrefix(".") || hasPrefix("/") || hasPrefix("~") ? "" : "./")\(self)").expandingTildeInPath + (hasSuffix("/") ? "/" : "")
[109/117] Write Objects.LinkFileList
[110/117] Linking stlrc
[112/117] Emitting module ExampleLanguages
/Users/admin/builder/spi-builder-workspace/Sources/ExampleLanguages/STLR.swift:8:24: warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | typealias T = STLRTokens
7 | // Cache for compiled regular expressions
8 | private static var regularExpressionCache = [String : NSRegularExpression]()
| |- warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regularExpressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'regularExpressionCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Returns a pre-compiled pattern from the cache, or if not in the cache builds
/Users/admin/builder/spi-builder-workspace/Sources/ExampleLanguages/STLR.swift:301:24: warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
299 |
300 | /// Cache for left-hand recursive rules
301 | private static var leftHandRecursiveRules = [ Int : Rule ]()
| |- warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftHandRecursiveRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftHandRecursiveRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 |
303 | /// Create a language that can be used for parsing etc
[113/117] Compiling ExampleLanguages STLR Testing Extensions.swift
[114/117] Compiling ExampleLanguages STLR.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExampleLanguages/STLR.swift:8:24: warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | typealias T = STLRTokens
7 | // Cache for compiled regular expressions
8 | private static var regularExpressionCache = [String : NSRegularExpression]()
| |- warning: static property 'regularExpressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regularExpressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'regularExpressionCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Returns a pre-compiled pattern from the cache, or if not in the cache builds
/Users/admin/builder/spi-builder-workspace/Sources/ExampleLanguages/STLR.swift:301:24: warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
299 |
300 | /// Cache for left-hand recursive rules
301 | private static var leftHandRecursiveRules = [ Int : Rule ]()
| |- warning: static property 'leftHandRecursiveRules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftHandRecursiveRules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftHandRecursiveRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 |
303 | /// Create a language that can be used for parsing etc
[114/117] Write Objects.LinkFileList
[115/117] Applying stlrc
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'STLR.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ExampleLanguages.build/STLR.swift.o(STLR.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/STLR.build/STLR.swift.o(STLR.swift.o)'
[116/117] Archiving libExampleLanguages.a
Build complete! (22.09s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "OysterKit",
"name" : "OysterKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "OysterKit",
"targets" : [
"OysterKit"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "STLR",
"targets" : [
"STLR"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "ExampleLanguages",
"targets" : [
"ExampleLanguages"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "stlrc",
"targets" : [
"stlrc"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "stlrc",
"module_type" : "SwiftTarget",
"name" : "stlrc",
"path" : "Sources/stlrc",
"product_memberships" : [
"stlrc"
],
"sources" : [
"Commands/Generate.swift",
"Commands/Install.swift",
"Commands/Parse.swift",
"Commands/Profile.swift",
"Framework/ANSIEncoding.swift",
"Framework/Argument.swift",
"Framework/Extensions/ArrayExtensions.swift",
"Framework/Extensions/DictionaryExtensions.swift",
"Framework/Extensions/FileManager+stlr.swift",
"Framework/Extensions/STLRScope.swift",
"Framework/Extensions/StringExtensions.swift",
"Framework/Option.swift",
"Framework/Protocols/Command.swift",
"Framework/Protocols/Parameters.swift",
"Framework/Protocols/Runnable.swift",
"Framework/Reporting.swift",
"Framework/Tool.swift",
"Framework/Version.swift",
"Operations.swift",
"Options/GrammarOption.swift",
"Options/LanguageOption.swift",
"Options/OptimizeOption.swift",
"Options/OutputLocationOption.swift",
"String+STLR.swift",
"main.swift"
],
"target_dependencies" : [
"OysterKit",
"STLR"
],
"type" : "executable"
},
{
"c99name" : "STLRTests",
"module_type" : "SwiftTarget",
"name" : "STLRTests",
"path" : "Tests/STLRTests",
"sources" : [
"AbstractSyntaxTree+Test.swift",
"CompilerTest.swift",
"DynamicGeneratorTest.swift",
"FixValidations.swift",
"FullSwiftGenerationTest.swift",
"GrammarStructureTest.swift",
"GrammarTest.swift",
"HierarchyTests.swift",
"Infrastructure.swift",
"OptimizersTest.swift",
"ParserTest.swift",
"STLRTests.swift",
"SwiftGenerationTest.swift"
],
"target_dependencies" : [
"OysterKit",
"ExampleLanguages",
"STLR"
],
"type" : "test"
},
{
"c99name" : "STLR",
"module_type" : "SwiftTarget",
"name" : "STLR",
"path" : "Sources/STLR",
"product_memberships" : [
"STLR",
"ExampleLanguages",
"stlrc"
],
"sources" : [
"Extensions/String.swift",
"Generated/Extensions/STLR+CustomStringConvertable.swift",
"Generated/Extensions/STLR+DynamicRules.swift",
"Generated/Extensions/STLR+Extensions.swift",
"Generated/STLR.swift",
"Generated/SymbolTable.swift",
"Generators/Framework/Operations/Branching.swift",
"Generators/Framework/Operations/Operation.swift",
"Generators/Framework/Operations/System.swift",
"Generators/Framework/TextFile.swift",
"Generators/Generator.swift",
"Generators/GrammarStructure+STLR.swift",
"Generators/Swift/STLR+SwiftGrammar.swift",
"Generators/Swift/String+Swift.swift",
"Generators/Swift/SwiftPackageManager.swift",
"Generators/Swift/SwiftRules.swift",
"Generators/Swift/SwiftStructure.swift",
"Optimisers/CharacterSetOnlyChoiceOptimizer.swift",
"Optimisers/InlineIdentifierOptimizer.swift",
"STLR Validation.swift",
"STLR+Optimization.swift",
"STLROptimizers.swift"
],
"target_dependencies" : [
"OysterKit"
],
"type" : "library"
},
{
"c99name" : "PerformanceTests",
"module_type" : "SwiftTarget",
"name" : "PerformanceTests",
"path" : "Tests/PerformanceTests",
"sources" : [
"OysterKitPerformanceTests.swift"
],
"target_dependencies" : [
"OysterKit",
"ExampleLanguages",
"STLR"
],
"type" : "test"
},
{
"c99name" : "OysterKitTests",
"module_type" : "SwiftTarget",
"name" : "OysterKitTests",
"path" : "Tests/OysterKitTests",
"sources" : [
"BlockRuleTest.swift",
"DecoderTests.swift",
"FixValidations.swift",
"HomegenousASTTests.swift",
"Infrastructure.swift",
"LexerTest.swift",
"Light Weight AST.swift",
"NodeStackTests.swift",
"OneOfEverythingGrammar.swift",
"RuleAnnotationDescriptionTests.swift",
"RuleAnnotationDescriptionsTests.swift",
"RuleMatchRangeTest.swift",
"RuleOperatorTests.swift",
"RuleTests.swift",
"ScannerTest.swift",
"TerminalTests.swift",
"TestAbstractSyntaxTree.swift",
"TestErrors.swift"
],
"target_dependencies" : [
"OysterKit",
"ExampleLanguages",
"STLR"
],
"type" : "test"
},
{
"c99name" : "OysterKit",
"module_type" : "SwiftTarget",
"name" : "OysterKit",
"path" : "Sources/OysterKit",
"product_memberships" : [
"OysterKit",
"STLR",
"ExampleLanguages",
"stlrc"
],
"sources" : [
"Decoding/Extensions.swift",
"Decoding/Parsing Decoder.swift",
"Errors/Array+Error.swift",
"Errors/CausalErrorType.swift",
"Errors/ProcessingError.swift",
"Errors/ProcessingErrorType.swift",
"Lexical Analysis/Lexer.swift",
"Lexical Analysis/LexicalAnalyzer.swift",
"Lexical Analysis/Scanner.swift",
"Logging/DecodingError+Logging.swift",
"Logging/Log.swift",
"Parser/Grammar.swift",
"Parser/Intermediate Representations/Abstract Syntax Trees/AbstractSyntaxTree.swift",
"Parser/Intermediate Representations/Abstract Syntax Trees/AbstractSyntaxTreeConstructor.swift",
"Parser/Intermediate Representations/Abstract Syntax Trees/HomogenousTree.swift",
"Parser/Intermediate Representations/IntermediateRepresentation.swift",
"Parser/Intermediate Representations/LookAheadIR.swift",
"Parser/Intermediate Representations/MatchResult.swift",
"Parser/Intermediate Representations/NodeStack.swift",
"Parser/Intermediate Representations/Nodes.swift",
"Parser/Intermediate Representations/StateCache.swift",
"Parser/Intermediate Representations/Streams/TokenStream.swift",
"Parser/ParsingStrategy.swift",
"Rules/Annotations/RuleAnnotation.swift",
"Rules/Annotations/RuleAnnotationValue.swift",
"Rules/Annotations/RuleAnnotations.swift",
"Rules/Behaviour.swift",
"Rules/Cadinality.swift",
"Rules/Extensions/RuleAnnotations+Description.swift",
"Rules/Implementations/ChoiceRule.swift",
"Rules/Implementations/ClosureRule.swift",
"Rules/Implementations/RecursiveRule.swift",
"Rules/Implementations/RecursiveRuleInstance.swift",
"Rules/Implementations/ReferenceRule.swift",
"Rules/Implementations/SequenceRule.swift",
"Rules/Implementations/TerminalRule.swift",
"Rules/Rule Production/Terminal+Rule.swift",
"Rules/Rule Production/Token+Rule.swift",
"Rules/Rule+Extensions.swift",
"Rules/Rule.swift",
"Rules/Terminals/CharacterSet+Terminal.swift",
"Rules/Terminals/EndOfFile.swift",
"Rules/Terminals/NSRegularExpression+Terminal.swift",
"Rules/Terminals/String+Terminal.swift",
"Rules/Terminals/Terminal.swift",
"Tokens/StringToken.swift",
"Tokens/TokenType.swift"
],
"type" : "library"
},
{
"c99name" : "ExampleLanguages",
"module_type" : "SwiftTarget",
"name" : "ExampleLanguages",
"path" : "Sources/ExampleLanguages",
"product_memberships" : [
"ExampleLanguages"
],
"sources" : [
"STLR Testing Extensions.swift",
"STLR.swift",
"SwiftLanguage.swift",
"UtilityClasses.swift"
],
"target_dependencies" : [
"OysterKit",
"STLR"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.