Build Information
Successful build of OysterKit, reference 0.6.2 (720e4d
), with Swift 6.0 for Linux on 31 Oct 2024 14:25:11 UTC.
Swift 6 data race errors: 22
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
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 |
/host/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 {
/host/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
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:69:23: warning: static property 'foreign' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
67 |
68 | /// A non OysterKit error
69 | public static let foreign = ProcessingErrorType(rawValue:1 << 0)
| |- warning: static property 'foreign' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'foreign' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// An internal `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:72:23: warning: static property 'internal' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
70 |
71 | /// An internal `ProcessingError`
72 | public static let `internal` = ProcessingErrorType(rawValue:1 << 1)
| |- warning: static property 'internal' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /// An undefined `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:75:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
73 |
74 | /// An undefined `ProcessingError`
75 | public static let undefined = ProcessingErrorType(rawValue:1 << 2)
| |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'undefined' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// A scanning `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:78:23: warning: static property 'scanning' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
76 |
77 | /// A scanning `ProcessingError`
78 | public static let scanning = ProcessingErrorType(rawValue:1 << 3)
| |- warning: static property 'scanning' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'scanning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// A parsing `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:81:23: warning: static property 'parsing' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
79 |
80 | /// A parsing `ProcessingError`
81 | public static let parsing = ProcessingErrorType(rawValue:1 << 4)
| |- warning: static property 'parsing' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | /// An interpretation `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:84:23: warning: static property 'interpretation' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
82 |
83 | /// An interpretation `ProcessingError`
84 | public static let interpretation = ProcessingErrorType(rawValue:1 << 5)
| |- warning: static property 'interpretation' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'interpretation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// A fatal `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:87:23: warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
85 |
86 | /// A fatal `ProcessingError`
87 | public static let fatal = ProcessingErrorType(rawValue:1 << 6)
| |- warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fatal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | /// A low level scanner (not scanning) error
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:90:23: warning: static property 'scannedMatchFailed' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
88 |
89 | /// A low level scanner (not scanning) error
90 | public static let scannedMatchFailed = ProcessingErrorType(rawValue: 1 << 7)
| |- warning: static property 'scannedMatchFailed' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'scannedMatchFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
[47/65] Compiling OysterKit ProcessingErrorType.swift
/host/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 {
/host/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 {
/host/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 | }
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:69:23: warning: static property 'foreign' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
67 |
68 | /// A non OysterKit error
69 | public static let foreign = ProcessingErrorType(rawValue:1 << 0)
| |- warning: static property 'foreign' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'foreign' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// An internal `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:72:23: warning: static property 'internal' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
70 |
71 | /// An internal `ProcessingError`
72 | public static let `internal` = ProcessingErrorType(rawValue:1 << 1)
| |- warning: static property 'internal' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /// An undefined `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:75:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
73 |
74 | /// An undefined `ProcessingError`
75 | public static let undefined = ProcessingErrorType(rawValue:1 << 2)
| |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'undefined' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// A scanning `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:78:23: warning: static property 'scanning' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
76 |
77 | /// A scanning `ProcessingError`
78 | public static let scanning = ProcessingErrorType(rawValue:1 << 3)
| |- warning: static property 'scanning' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'scanning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// A parsing `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:81:23: warning: static property 'parsing' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
79 |
80 | /// A parsing `ProcessingError`
81 | public static let parsing = ProcessingErrorType(rawValue:1 << 4)
| |- warning: static property 'parsing' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | /// An interpretation `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:84:23: warning: static property 'interpretation' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
82 |
83 | /// An interpretation `ProcessingError`
84 | public static let interpretation = ProcessingErrorType(rawValue:1 << 5)
| |- warning: static property 'interpretation' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'interpretation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// A fatal `ProcessingError`
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:87:23: warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
85 |
86 | /// A fatal `ProcessingError`
87 | public static let fatal = ProcessingErrorType(rawValue:1 << 6)
| |- warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fatal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | /// A low level scanner (not scanning) error
/host/spi-builder-workspace/Sources/OysterKit/Errors/ProcessingErrorType.swift:90:23: warning: static property 'scannedMatchFailed' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Represents the type of processing error.
28 | public struct ProcessingErrorType : OptionSet {
| `- note: consider making struct 'ProcessingErrorType' conform to the 'Sendable' protocol
29 | public let rawValue: Int
30 |
:
88 |
89 | /// A low level scanner (not scanning) error
90 | public static let scannedMatchFailed = ProcessingErrorType(rawValue: 1 << 7)
| |- warning: static property 'scannedMatchFailed' is not concurrency-safe because non-'Sendable' type 'ProcessingErrorType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'scannedMatchFailed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
[48/65] Compiling OysterKit NodeStack.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
70 |
71 | /// Any errors encountered during parsing
72 | public private (set) var parsingErrors = [Error]()
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
73 |
74 | /// **DO NOT CALL**
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:30:5: warning: 'public' modifier is redundant for property declared in a public extension
28 | public extension Node {
29 | /// A human readable description of the `Node`
30 | public var description: String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
31 | return "\(token)"
32 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:40:5: warning: 'public' modifier is redundant for property declared in a public extension
38 | Returns the combined range of all `Node`s in the `Collection` essentially setting the `lowerBound` to the lowest of all range, and upperBound to the highest of all ranges.
39 | */
40 | public var combinedRange : Range<String.UnicodeScalarView.Index> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
41 | let finalRange = reduce(first!.range, { (rangeSoFar, nextChild) -> Range<String.UnicodeScalarView.Index> in
42 | let lowerBound = rangeSoFar.lowerBound < nextChild.range.lowerBound ? rangeSoFar.lowerBound : nextChild.range.lowerBound
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotation.swift:61:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
59 |
60 | ///The searchable hash value of the annotation
61 | public var hashValue: Int{
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
62 | switch self {
63 | case .token, .error, .void, .transient, .type:
[49/65] Compiling OysterKit Nodes.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
70 |
71 | /// Any errors encountered during parsing
72 | public private (set) var parsingErrors = [Error]()
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
73 |
74 | /// **DO NOT CALL**
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:30:5: warning: 'public' modifier is redundant for property declared in a public extension
28 | public extension Node {
29 | /// A human readable description of the `Node`
30 | public var description: String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
31 | return "\(token)"
32 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:40:5: warning: 'public' modifier is redundant for property declared in a public extension
38 | Returns the combined range of all `Node`s in the `Collection` essentially setting the `lowerBound` to the lowest of all range, and upperBound to the highest of all ranges.
39 | */
40 | public var combinedRange : Range<String.UnicodeScalarView.Index> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
41 | let finalRange = reduce(first!.range, { (rangeSoFar, nextChild) -> Range<String.UnicodeScalarView.Index> in
42 | let lowerBound = rangeSoFar.lowerBound < nextChild.range.lowerBound ? rangeSoFar.lowerBound : nextChild.range.lowerBound
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotation.swift:61:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
59 |
60 | ///The searchable hash value of the annotation
61 | public var hashValue: Int{
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
62 | switch self {
63 | case .token, .error, .void, .transient, .type:
[50/65] Compiling OysterKit StateCache.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
70 |
71 | /// Any errors encountered during parsing
72 | public private (set) var parsingErrors = [Error]()
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
73 |
74 | /// **DO NOT CALL**
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:30:5: warning: 'public' modifier is redundant for property declared in a public extension
28 | public extension Node {
29 | /// A human readable description of the `Node`
30 | public var description: String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
31 | return "\(token)"
32 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:40:5: warning: 'public' modifier is redundant for property declared in a public extension
38 | Returns the combined range of all `Node`s in the `Collection` essentially setting the `lowerBound` to the lowest of all range, and upperBound to the highest of all ranges.
39 | */
40 | public var combinedRange : Range<String.UnicodeScalarView.Index> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
41 | let finalRange = reduce(first!.range, { (rangeSoFar, nextChild) -> Range<String.UnicodeScalarView.Index> in
42 | let lowerBound = rangeSoFar.lowerBound < nextChild.range.lowerBound ? rangeSoFar.lowerBound : nextChild.range.lowerBound
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotation.swift:61:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
59 |
60 | ///The searchable hash value of the annotation
61 | public var hashValue: Int{
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
62 | switch self {
63 | case .token, .error, .void, .transient, .type:
[51/65] Compiling OysterKit TokenStream.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
70 |
71 | /// Any errors encountered during parsing
72 | public private (set) var parsingErrors = [Error]()
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
73 |
74 | /// **DO NOT CALL**
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:30:5: warning: 'public' modifier is redundant for property declared in a public extension
28 | public extension Node {
29 | /// A human readable description of the `Node`
30 | public var description: String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
31 | return "\(token)"
32 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:40:5: warning: 'public' modifier is redundant for property declared in a public extension
38 | Returns the combined range of all `Node`s in the `Collection` essentially setting the `lowerBound` to the lowest of all range, and upperBound to the highest of all ranges.
39 | */
40 | public var combinedRange : Range<String.UnicodeScalarView.Index> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
41 | let finalRange = reduce(first!.range, { (rangeSoFar, nextChild) -> Range<String.UnicodeScalarView.Index> in
42 | let lowerBound = rangeSoFar.lowerBound < nextChild.range.lowerBound ? rangeSoFar.lowerBound : nextChild.range.lowerBound
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotation.swift:61:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
59 |
60 | ///The searchable hash value of the annotation
61 | public var hashValue: Int{
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
62 | switch self {
63 | case .token, .error, .void, .transient, .type:
[52/65] Compiling OysterKit ParsingStrategy.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
70 |
71 | /// Any errors encountered during parsing
72 | public private (set) var parsingErrors = [Error]()
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
73 |
74 | /// **DO NOT CALL**
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:30:5: warning: 'public' modifier is redundant for property declared in a public extension
28 | public extension Node {
29 | /// A human readable description of the `Node`
30 | public var description: String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
31 | return "\(token)"
32 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:40:5: warning: 'public' modifier is redundant for property declared in a public extension
38 | Returns the combined range of all `Node`s in the `Collection` essentially setting the `lowerBound` to the lowest of all range, and upperBound to the highest of all ranges.
39 | */
40 | public var combinedRange : Range<String.UnicodeScalarView.Index> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
41 | let finalRange = reduce(first!.range, { (rangeSoFar, nextChild) -> Range<String.UnicodeScalarView.Index> in
42 | let lowerBound = rangeSoFar.lowerBound < nextChild.range.lowerBound ? rangeSoFar.lowerBound : nextChild.range.lowerBound
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotation.swift:61:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
59 |
60 | ///The searchable hash value of the annotation
61 | public var hashValue: Int{
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
62 | switch self {
63 | case .token, .error, .void, .transient, .type:
[53/65] Compiling OysterKit RuleAnnotation.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
70 |
71 | /// Any errors encountered during parsing
72 | public private (set) var parsingErrors = [Error]()
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
73 |
74 | /// **DO NOT CALL**
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:30:5: warning: 'public' modifier is redundant for property declared in a public extension
28 | public extension Node {
29 | /// A human readable description of the `Node`
30 | public var description: String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
31 | return "\(token)"
32 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Nodes.swift:40:5: warning: 'public' modifier is redundant for property declared in a public extension
38 | Returns the combined range of all `Node`s in the `Collection` essentially setting the `lowerBound` to the lowest of all range, and upperBound to the highest of all ranges.
39 | */
40 | public var combinedRange : Range<String.UnicodeScalarView.Index> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
41 | let finalRange = reduce(first!.range, { (rangeSoFar, nextChild) -> Range<String.UnicodeScalarView.Index> in
42 | let lowerBound = rangeSoFar.lowerBound < nextChild.range.lowerBound ? rangeSoFar.lowerBound : nextChild.range.lowerBound
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotation.swift:61:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
59 |
60 | ///The searchable hash value of the annotation
61 | public var hashValue: Int{
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'RuleAnnotation' to 'Hashable' by implementing 'hash(into:)' instead
62 | switch self {
63 | case .token, .error, .void, .transient, .type:
[54/66] Wrapping AST for OysterKit for debugging
[55/66] Write Objects.LinkFileList
[56/66] Archiving libOysterKit.a
[58/87] Compiling STLR String.swift
/host/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 | }
/host/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 |
/host/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 |
/host/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 | // }
/host/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 |
[59/87] Compiling STLR STLR+CustomStringConvertable.swift
/host/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 | }
/host/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 |
/host/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 |
/host/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 | // }
/host/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 |
[60/87] Compiling STLR STLR+DynamicRules.swift
/host/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 | }
/host/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 |
/host/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 |
/host/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 | // }
/host/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 |
[61/89] Compiling STLR STLR+Optimization.swift
/host/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 | }
/host/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
/host/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 | }
/host/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/89] Compiling STLR STLROptimizers.swift
/host/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 | }
/host/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
/host/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 | }
/host/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/89] Compiling STLR SwiftRules.swift
[64/89] Compiling STLR SwiftStructure.swift
[65/89] Compiling STLR CharacterSetOnlyChoiceOptimizer.swift
[66/89] Compiling STLR InlineIdentifierOptimizer.swift
/host/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 | }
[67/89] Compiling STLR STLR Validation.swift
/host/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 | }
[68/89] Compiling STLR Branching.swift
/host/spi-builder-workspace/Sources/STLR/Generators/Framework/Operations/System.swift:76:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
74 | arguments.insert(command, at: 0)
75 | let task = Process()
76 | task.launchPath = "/usr/bin/env"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
77 | task.currentDirectoryPath = path
78 | task.arguments = arguments
/host/spi-builder-workspace/Sources/STLR/Generators/Framework/Operations/System.swift:77:14: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
75 | let task = Process()
76 | task.launchPath = "/usr/bin/env"
77 | task.currentDirectoryPath = path
| |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
| `- note: use 'currentDirectoryURL' instead
78 | task.arguments = arguments
79 |
/host/spi-builder-workspace/Sources/STLR/Generators/Framework/Operations/System.swift:82:14: warning: 'launch()' is deprecated: renamed to 'run'
80 | let pipe = Pipe()
81 | task.standardOutput = pipe
82 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
83 |
84 | let data = pipe.fileHandleForReading.readDataToEndOfFile()
[69/89] Compiling STLR Operation.swift
/host/spi-builder-workspace/Sources/STLR/Generators/Framework/Operations/System.swift:76:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
74 | arguments.insert(command, at: 0)
75 | let task = Process()
76 | task.launchPath = "/usr/bin/env"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
77 | task.currentDirectoryPath = path
78 | task.arguments = arguments
/host/spi-builder-workspace/Sources/STLR/Generators/Framework/Operations/System.swift:77:14: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
75 | let task = Process()
76 | task.launchPath = "/usr/bin/env"
77 | task.currentDirectoryPath = path
| |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
| `- note: use 'currentDirectoryURL' instead
78 | task.arguments = arguments
79 |
/host/spi-builder-workspace/Sources/STLR/Generators/Framework/Operations/System.swift:82:14: warning: 'launch()' is deprecated: renamed to 'run'
80 | let pipe = Pipe()
81 | task.standardOutput = pipe
82 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
83 |
84 | let data = pipe.fileHandleForReading.readDataToEndOfFile()
[70/89] Compiling STLR System.swift
/host/spi-builder-workspace/Sources/STLR/Generators/Framework/Operations/System.swift:76:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
74 | arguments.insert(command, at: 0)
75 | let task = Process()
76 | task.launchPath = "/usr/bin/env"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
77 | task.currentDirectoryPath = path
78 | task.arguments = arguments
/host/spi-builder-workspace/Sources/STLR/Generators/Framework/Operations/System.swift:77:14: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
75 | let task = Process()
76 | task.launchPath = "/usr/bin/env"
77 | task.currentDirectoryPath = path
| |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
| `- note: use 'currentDirectoryURL' instead
78 | task.arguments = arguments
79 |
/host/spi-builder-workspace/Sources/STLR/Generators/Framework/Operations/System.swift:82:14: warning: 'launch()' is deprecated: renamed to 'run'
80 | let pipe = Pipe()
81 | task.standardOutput = pipe
82 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
83 |
84 | let data = pipe.fileHandleForReading.readDataToEndOfFile()
[71/89] Compiling STLR STLR+SwiftGrammar.swift
/host/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 |
[72/89] Compiling STLR String+Swift.swift
/host/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 |
[73/89] Compiling STLR SwiftPackageManager.swift
/host/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 |
[74/89] Emitting module STLR
/host/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 | }
/host/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 |
/host/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 |
/host/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 {
/host/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)
/host/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 {
/host/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)
/host/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)
/host/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 {
/host/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: [])
/host/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 | }
/host/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 | }
/host/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 | }
/host/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:
/host/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:
/host/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){
/host/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){
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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
/host/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
/host/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
/host/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 | }
/host/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)
/host/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 {
/host/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}){
/host/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
/host/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 | }
/host/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 | }
/host/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 {
/host/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
/host/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
/host/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 | }
/host/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 | }
/host/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 |
/host/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 |
/host/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 | }
/host/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 | }
/host/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
/host/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 | }
/host/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 | }
[75/89] Compiling STLR TextFile.swift
/host/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 | }
/host/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 | }
/host/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 |
/host/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 [
/host/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 {
[76/89] Compiling STLR Generator.swift
/host/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 | }
/host/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 | }
/host/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 |
/host/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 [
/host/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 {
[77/89] Compiling STLR GrammarStructure+STLR.swift
/host/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 | }
/host/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 | }
/host/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 |
/host/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 [
/host/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 {
[78/89] Compiling STLR STLR+Extensions.swift
/host/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 {
/host/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)
/host/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 {
/host/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)
/host/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)
/host/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 {
/host/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: [])
/host/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 | }
/host/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 | }
/host/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 | }
/host/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:
/host/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:
/host/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){
/host/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){
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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
/host/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
/host/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
/host/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 | }
/host/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)
/host/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 {
/host/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}){
/host/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
/host/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 | }
/host/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 | }
/host/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 {
/host/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:
/host/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):
/host/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 | }
/host/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
/host/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/89] Compiling STLR STLR.swift
/host/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 {
/host/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)
/host/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 {
/host/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)
/host/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)
/host/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 {
/host/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: [])
/host/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 | }
/host/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 | }
/host/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 | }
/host/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:
/host/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:
/host/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){
/host/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){
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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
/host/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
/host/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
/host/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 | }
/host/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)
/host/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 {
/host/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}){
/host/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
/host/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 | }
/host/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 | }
/host/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 {
/host/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:
/host/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):
/host/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 | }
/host/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
/host/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
[80/89] Compiling STLR SymbolTable.swift
/host/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 {
/host/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)
/host/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 {
/host/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)
/host/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)
/host/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 {
/host/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: [])
/host/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 | }
/host/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 | }
/host/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 | }
/host/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:
/host/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:
/host/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){
/host/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){
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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
/host/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
/host/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
/host/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 | }
/host/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)
/host/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 {
/host/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}){
/host/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
/host/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 | }
/host/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 | }
/host/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 {
/host/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:
/host/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):
/host/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 | }
/host/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
/host/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
[81/90] Wrapping AST for STLR for debugging
[82/90] Write Objects.LinkFileList
[83/90] Archiving libSTLR.a
[85/118] Compiling ExampleLanguages UtilityClasses.swift
[86/118] Compiling ExampleLanguages SwiftLanguage.swift
[87/118] Emitting module stlrc
/host/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 |
/host/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
/host/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>)
/host/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 {
/host/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 |
/host/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 {
/host/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)
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 | }
/host/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("/") ? "/" : "")
[88/118] Compiling stlrc DictionaryExtensions.swift
/host/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 |
[89/118] Compiling stlrc FileManager+stlr.swift
/host/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 |
[90/118] Compiling stlrc STLRScope.swift
/host/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 |
[91/121] Compiling stlrc GrammarOption.swift
/host/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 | }
[92/121] Compiling stlrc LanguageOption.swift
/host/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 | }
[93/121] Compiling stlrc OptimizeOption.swift
/host/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 | }
[94/121] Compiling stlrc Tool.swift
[95/121] Compiling stlrc Version.swift
[96/121] Compiling stlrc Operations.swift
[97/121] Compiling stlrc Parameters.swift
/host/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 | }
/host/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 | }
/host/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 | }
[98/121] Compiling stlrc Runnable.swift
/host/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 | }
/host/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 | }
/host/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 | }
[99/121] Compiling stlrc Reporting.swift
/host/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 | }
/host/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 | }
/host/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 | }
[100/121] Compiling stlrc StringExtensions.swift
/host/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 {
/host/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)
[101/121] Compiling stlrc Option.swift
/host/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 {
/host/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)
[102/121] Compiling stlrc Command.swift
/host/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 {
/host/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)
[103/121] Compiling stlrc OutputLocationOption.swift
/host/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("/") ? "/" : "")
[104/121] Compiling stlrc String+STLR.swift
/host/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("/") ? "/" : "")
[105/121] Compiling stlrc main.swift
/host/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("/") ? "/" : "")
[106/121] Compiling stlrc Generate.swift
/host/spi-builder-workspace/Sources/stlrc/Commands/Install.swift:79:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
77 | {
78 | let task = Process()
79 | task.launchPath = launchPath
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
80 | task.arguments = arguments
81 |
/host/spi-builder-workspace/Sources/stlrc/Commands/Install.swift:84:14: warning: 'launch()' is deprecated: renamed to 'run'
82 | let pipe = Pipe()
83 | task.standardOutput = pipe
84 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
85 |
86 | let data = pipe.fileHandleForReading.readDataToEndOfFile()
/host/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/121] Compiling stlrc Install.swift
/host/spi-builder-workspace/Sources/stlrc/Commands/Install.swift:79:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
77 | {
78 | let task = Process()
79 | task.launchPath = launchPath
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
80 | task.arguments = arguments
81 |
/host/spi-builder-workspace/Sources/stlrc/Commands/Install.swift:84:14: warning: 'launch()' is deprecated: renamed to 'run'
82 | let pipe = Pipe()
83 | task.standardOutput = pipe
84 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
85 |
86 | let data = pipe.fileHandleForReading.readDataToEndOfFile()
/host/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/121] Compiling stlrc Parse.swift
/host/spi-builder-workspace/Sources/stlrc/Commands/Install.swift:79:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
77 | {
78 | let task = Process()
79 | task.launchPath = launchPath
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
80 | task.arguments = arguments
81 |
/host/spi-builder-workspace/Sources/stlrc/Commands/Install.swift:84:14: warning: 'launch()' is deprecated: renamed to 'run'
82 | let pipe = Pipe()
83 | task.standardOutput = pipe
84 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
85 |
86 | let data = pipe.fileHandleForReading.readDataToEndOfFile()
/host/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 |
[109/121] Compiling stlrc Profile.swift
/host/spi-builder-workspace/Sources/stlrc/Commands/Install.swift:79:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
77 | {
78 | let task = Process()
79 | task.launchPath = launchPath
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
80 | task.arguments = arguments
81 |
/host/spi-builder-workspace/Sources/stlrc/Commands/Install.swift:84:14: warning: 'launch()' is deprecated: renamed to 'run'
82 | let pipe = Pipe()
83 | task.standardOutput = pipe
84 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
85 |
86 | let data = pipe.fileHandleForReading.readDataToEndOfFile()
/host/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 |
[110/121] Compiling stlrc ANSIEncoding.swift
/host/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
/host/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>)
/host/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 {
[111/121] Compiling stlrc Argument.swift
/host/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
/host/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>)
/host/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 {
[112/121] Compiling stlrc ArrayExtensions.swift
/host/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
/host/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>)
/host/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 {
[113/122] Wrapping AST for stlrc for debugging
[114/122] Write Objects.LinkFileList
[115/122] Linking stlrc
[117/122] Compiling ExampleLanguages STLR Testing Extensions.swift
[118/122] Compiling ExampleLanguages STLR.swift
/host/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
/host/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
[119/122] Emitting module ExampleLanguages
/host/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
/host/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
[120/123] Wrapping AST for ExampleLanguages for debugging
[121/123] Write Objects.LinkFileList
[122/123] Archiving libExampleLanguages.a
Build complete! (19.93s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "OysterKit",
"name" : "OysterKit",
"path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.