Build Information
Failed to build OysterKit, reference 0.6.2 (720e4d
), with Swift 6.1 for Linux on 25 Apr 2025 14:51:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
55 | }
56 |
57 | public var annotations: RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
58 | return [:]
59 | }
/host/spi-builder-workspace/Sources/OysterKit/Tokens/TokenType.swift:36:24: error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
34 |
35 | extension TokenType {
36 | public static func ==(lhs:TokenType, rhs:TokenType)->Bool{
| `- error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
37 | return lhs.rawValue == rhs.rawValue
38 | }
[3/61] Compiling OysterKit NSRegularExpression+Terminal.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
42 | public extension Terminal {
43 |
44 | public func test(with lexer: LexicalAnalyzer, for ir: IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
45 | try test(lexer: lexer, producing: behaviour.token)
46 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:48:5: warning: 'public' modifier is redundant for property declared in a public extension
46 | }
47 |
48 | public var shortDescription: String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
49 | return behaviour.describe(match: matchDescription, requiresScanningPrefix: false, annotatedWith: annotations)
50 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:53:5: warning: 'public' modifier is redundant for property declared in a public extension
51 |
52 |
53 | public var behaviour: Behaviour {
| `- warning: 'public' modifier is redundant for property declared in a public extension
54 | return Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false)
55 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:57:5: warning: 'public' modifier is redundant for property declared in a public extension
55 | }
56 |
57 | public var annotations: RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
58 | return [:]
59 | }
/host/spi-builder-workspace/Sources/OysterKit/Tokens/TokenType.swift:36:24: error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
34 |
35 | extension TokenType {
36 | public static func ==(lhs:TokenType, rhs:TokenType)->Bool{
| `- error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
37 | return lhs.rawValue == rhs.rawValue
38 | }
[4/61] Compiling OysterKit String+Terminal.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
42 | public extension Terminal {
43 |
44 | public func test(with lexer: LexicalAnalyzer, for ir: IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
45 | try test(lexer: lexer, producing: behaviour.token)
46 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:48:5: warning: 'public' modifier is redundant for property declared in a public extension
46 | }
47 |
48 | public var shortDescription: String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
49 | return behaviour.describe(match: matchDescription, requiresScanningPrefix: false, annotatedWith: annotations)
50 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:53:5: warning: 'public' modifier is redundant for property declared in a public extension
51 |
52 |
53 | public var behaviour: Behaviour {
| `- warning: 'public' modifier is redundant for property declared in a public extension
54 | return Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false)
55 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:57:5: warning: 'public' modifier is redundant for property declared in a public extension
55 | }
56 |
57 | public var annotations: RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
58 | return [:]
59 | }
/host/spi-builder-workspace/Sources/OysterKit/Tokens/TokenType.swift:36:24: error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
34 |
35 | extension TokenType {
36 | public static func ==(lhs:TokenType, rhs:TokenType)->Bool{
| `- error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
37 | return lhs.rawValue == rhs.rawValue
38 | }
[5/61] Compiling OysterKit Terminal.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
42 | public extension Terminal {
43 |
44 | public func test(with lexer: LexicalAnalyzer, for ir: IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
45 | try test(lexer: lexer, producing: behaviour.token)
46 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:48:5: warning: 'public' modifier is redundant for property declared in a public extension
46 | }
47 |
48 | public var shortDescription: String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
49 | return behaviour.describe(match: matchDescription, requiresScanningPrefix: false, annotatedWith: annotations)
50 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:53:5: warning: 'public' modifier is redundant for property declared in a public extension
51 |
52 |
53 | public var behaviour: Behaviour {
| `- warning: 'public' modifier is redundant for property declared in a public extension
54 | return Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false)
55 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:57:5: warning: 'public' modifier is redundant for property declared in a public extension
55 | }
56 |
57 | public var annotations: RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
58 | return [:]
59 | }
/host/spi-builder-workspace/Sources/OysterKit/Tokens/TokenType.swift:36:24: error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
34 |
35 | extension TokenType {
36 | public static func ==(lhs:TokenType, rhs:TokenType)->Bool{
| `- error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
37 | return lhs.rawValue == rhs.rawValue
38 | }
[6/61] Compiling OysterKit StringToken.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
42 | public extension Terminal {
43 |
44 | public func test(with lexer: LexicalAnalyzer, for ir: IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
45 | try test(lexer: lexer, producing: behaviour.token)
46 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:48:5: warning: 'public' modifier is redundant for property declared in a public extension
46 | }
47 |
48 | public var shortDescription: String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
49 | return behaviour.describe(match: matchDescription, requiresScanningPrefix: false, annotatedWith: annotations)
50 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:53:5: warning: 'public' modifier is redundant for property declared in a public extension
51 |
52 |
53 | public var behaviour: Behaviour {
| `- warning: 'public' modifier is redundant for property declared in a public extension
54 | return Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false)
55 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:57:5: warning: 'public' modifier is redundant for property declared in a public extension
55 | }
56 |
57 | public var annotations: RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
58 | return [:]
59 | }
/host/spi-builder-workspace/Sources/OysterKit/Tokens/TokenType.swift:36:24: error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
34 |
35 | extension TokenType {
36 | public static func ==(lhs:TokenType, rhs:TokenType)->Bool{
| `- error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
37 | return lhs.rawValue == rhs.rawValue
38 | }
[7/61] Compiling OysterKit TokenType.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
42 | public extension Terminal {
43 |
44 | public func test(with lexer: LexicalAnalyzer, for ir: IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
45 | try test(lexer: lexer, producing: behaviour.token)
46 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:48:5: warning: 'public' modifier is redundant for property declared in a public extension
46 | }
47 |
48 | public var shortDescription: String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
49 | return behaviour.describe(match: matchDescription, requiresScanningPrefix: false, annotatedWith: annotations)
50 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:53:5: warning: 'public' modifier is redundant for property declared in a public extension
51 |
52 |
53 | public var behaviour: Behaviour {
| `- warning: 'public' modifier is redundant for property declared in a public extension
54 | return Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false)
55 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Terminals/Terminal.swift:57:5: warning: 'public' modifier is redundant for property declared in a public extension
55 | }
56 |
57 | public var annotations: RuleAnnotations {
| `- warning: 'public' modifier is redundant for property declared in a public extension
58 | return [:]
59 | }
/host/spi-builder-workspace/Sources/OysterKit/Tokens/TokenType.swift:36:24: error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
34 |
35 | extension TokenType {
36 | public static func ==(lhs:TokenType, rhs:TokenType)->Bool{
| `- error: member operator '==' of protocol 'TokenType' must have at least one argument of type 'Self'
37 | return lhs.rawValue == rhs.rawValue
38 | }
[8/61] Compiling OysterKit Terminal+Rule.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Terminal+Rule.swift:29:5: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | /// Extends any terminal to be a `Rule`
28 | public extension Terminal {
29 | public func rule(with behaviour: Behaviour?, annotations: RuleAnnotations?) -> Rule {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return TerminalRule(
31 | behaviour ?? Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false),
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | - Returns: A rule
33 | */
34 | public func from(_ rule:Rule)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let intermediate = rule.rule(with: Behaviour(.structural(token: self), cardinality: rule.behaviour.cardinality, negated: rule.behaviour.negate, lookahead: rule.behaviour.lookahead), annotations: rule.annotations)
36 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:53:5: warning: 'public' modifier is redundant for instance method declared in a public extension
51 | - Returns: A rule
52 | */
53 | public func parse(as token:TokenType)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return token.from(self)
55 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
50 | - Returns: A new instance of the rule with the specified annotations
51 | */
52 | public func annotatedWith(_ annotations:RuleAnnotations)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
53 | var resultantRule : Rule = self
54 | var filterOut = [RuleAnnotation]()
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:100:5: warning: 'public' modifier is redundant for instance method declared in a public extension
98 | - Returns: The new rule instance
99 | */
100 | public func require(_ cardinality:Cardinality)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
101 | return newBehaviour(cardinality: cardinality)
102 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:127:5: warning: 'public' modifier is redundant for instance method declared in a public extension
125 | - Returns: A new version of the rule
126 | */
127 | public func lookahead()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
128 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: true), annotations: annotations)
129 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:140:5: warning: 'public' modifier is redundant for instance method declared in a public extension
138 | - Returns: A new version of the rule
139 | */
140 | public func negate()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
141 | return rule(with: Behaviour(behaviour.kind, cardinality: behaviour.cardinality, negated: true, lookahead: behaviour.lookahead), annotations: annotations)
142 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:152:5: warning: 'public' modifier is redundant for instance method declared in a public extension
150 | - Returns: A new version of the rule
151 | */
152 | public func skip()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
153 | return rule(with: Behaviour(.skipping, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
154 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:164:5: warning: 'public' modifier is redundant for instance method declared in a public extension
162 | - Returns: A new version of the rule
163 | */
164 | public func scan()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
165 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
166 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:168:5: warning: 'public' modifier is redundant for instance method declared in a public extension
166 | }
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:315:14: warning: Refactor to rule(with behaviour)
313 | - Parameter behaviour: The new behaviour
314 | */
315 | #warning("Refactor to rule(with behaviour)")
| `- warning: Refactor to rule(with behaviour)
316 | internal func instanceWith(with behaviour:Behaviour)->Rule{
317 | return rule(with: behaviour, annotations: nil)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:326:14: warning: Get rid of this, it's the same as annotate with
324 | - Parameter annotations: The new annotations
325 | */
326 | #warning("Get rid of this, it's the same as annotate with")
| `- warning: Get rid of this, it's the same as annotate with
327 | internal func instanceWith(annotations:RuleAnnotations)->Rule{
328 | return annotatedWith(annotations)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:73:30: warning: This should be a log entry
71 | }
72 | default:
73 | #warning("This should be a log entry")
| `- warning: This should be a log entry
74 | print("Warning: \(annotation) supplied with \(value) when only supports .set")
75 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:82:30: warning: This should be a log entry
80 | resultantRule = resultantRule.parse(as: StringToken(stringValue))
81 | default:
82 | #warning("This should be a log entry")
| `- warning: This should be a log entry
83 | print("Warning: \(annotation) supplied with \(value) when only supports .string")
84 | resultantRule = resultantRule.parse(as: StringToken("\(value)"))
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:169:18: warning: If I am already a reference I should wrap myself in a sequence and return that
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
| `- warning: If I am already a reference I should wrap myself in a sequence and return that
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
171 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 | public extension Rule{
94 | /// The user specified (in an annotation) error associated with the rule
95 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | guard let value = self[RuleAnnotation.error] else {
97 | return nil
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:108:5: warning: 'public' modifier is redundant for subscript declared in a public extension
106 |
107 | /// Returns the value of the specific `RuleAnnotationValue` identified by `annotation` if present
108 | public subscript(annotation:RuleAnnotation)->RuleAnnotationValue?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
109 | return annotations[annotation]
110 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:129:5: warning: 'public' modifier is redundant for property declared in a public extension
127 |
128 | /// `true` if the rule creates ndoes, false otherwise
129 | public var structural : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
130 | return behaviour.token != nil
131 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:134:5: warning: 'public' modifier is redundant for property declared in a public extension
132 |
133 | /// `true` if the rule creates ndoes, false otherwise
134 | public var skipping : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
135 | if case .skipping = behaviour.kind {
136 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:142:5: warning: 'public' modifier is redundant for property declared in a public extension
140 |
141 | /// `true` if the rule creates ndoes, false otherwise
142 | public var scanning : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
143 | if case .scanning = behaviour.kind {
144 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:156:5: warning: 'public' modifier is redundant for instance method declared in a public extension
154 | - Returns: The match result
155 | */
156 | public func match(with lexer: LexicalAnalyzer, for ir: IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
157 | // Log entrance
158 | do {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:175:5: warning: 'public' modifier is redundant for instance method declared in a public extension
173 | - Returns: The match result
174 | */
175 | public func evaluate(_ matcher:@escaping Test, using lexer:LexicalAnalyzer, and ir:IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
176 | //Prepare for any lookahead by putting a fake IR in place if is lookahead
177 | //as well as taking an additional mark to ensure position will always be
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:234:26: warning: If a structural node is pinned we should tell the IR to create a node anyway
232 | } catch {
233 | if matches == 0 && skippable {
234 | #warning("If a structural node is pinned we should tell the IR to create a node anyway")
| `- warning: If a structural node is pinned we should tell the IR to create a node anyway
235 | lexer.rewind()
236 | if structural {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:248:30: warning: Make this a predifined annotation
246 | if let specificError = self.error {
247 | let causes : [Error]
248 | #warning("Make this a predifined annotation")
| `- warning: Make this a predifined annotation
249 | if annotations[RuleAnnotation.custom(label: "coalesce")] != nil {
250 | causes = []
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:254:30: warning: Make this a predefined annotation
252 | causes = [error]
253 | }
254 | #warning("Make this a predefined annotation")
| `- warning: Make this a predefined annotation
255 | if annotations[RuleAnnotation.custom(label: "fatal")] != nil {
256 | throw ProcessingError.fatal(message: specificError, causes: causes)
[9/61] Compiling OysterKit Token+Rule.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Terminal+Rule.swift:29:5: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | /// Extends any terminal to be a `Rule`
28 | public extension Terminal {
29 | public func rule(with behaviour: Behaviour?, annotations: RuleAnnotations?) -> Rule {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return TerminalRule(
31 | behaviour ?? Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false),
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | - Returns: A rule
33 | */
34 | public func from(_ rule:Rule)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let intermediate = rule.rule(with: Behaviour(.structural(token: self), cardinality: rule.behaviour.cardinality, negated: rule.behaviour.negate, lookahead: rule.behaviour.lookahead), annotations: rule.annotations)
36 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:53:5: warning: 'public' modifier is redundant for instance method declared in a public extension
51 | - Returns: A rule
52 | */
53 | public func parse(as token:TokenType)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return token.from(self)
55 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
50 | - Returns: A new instance of the rule with the specified annotations
51 | */
52 | public func annotatedWith(_ annotations:RuleAnnotations)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
53 | var resultantRule : Rule = self
54 | var filterOut = [RuleAnnotation]()
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:100:5: warning: 'public' modifier is redundant for instance method declared in a public extension
98 | - Returns: The new rule instance
99 | */
100 | public func require(_ cardinality:Cardinality)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
101 | return newBehaviour(cardinality: cardinality)
102 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:127:5: warning: 'public' modifier is redundant for instance method declared in a public extension
125 | - Returns: A new version of the rule
126 | */
127 | public func lookahead()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
128 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: true), annotations: annotations)
129 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:140:5: warning: 'public' modifier is redundant for instance method declared in a public extension
138 | - Returns: A new version of the rule
139 | */
140 | public func negate()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
141 | return rule(with: Behaviour(behaviour.kind, cardinality: behaviour.cardinality, negated: true, lookahead: behaviour.lookahead), annotations: annotations)
142 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:152:5: warning: 'public' modifier is redundant for instance method declared in a public extension
150 | - Returns: A new version of the rule
151 | */
152 | public func skip()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
153 | return rule(with: Behaviour(.skipping, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
154 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:164:5: warning: 'public' modifier is redundant for instance method declared in a public extension
162 | - Returns: A new version of the rule
163 | */
164 | public func scan()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
165 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
166 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:168:5: warning: 'public' modifier is redundant for instance method declared in a public extension
166 | }
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:315:14: warning: Refactor to rule(with behaviour)
313 | - Parameter behaviour: The new behaviour
314 | */
315 | #warning("Refactor to rule(with behaviour)")
| `- warning: Refactor to rule(with behaviour)
316 | internal func instanceWith(with behaviour:Behaviour)->Rule{
317 | return rule(with: behaviour, annotations: nil)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:326:14: warning: Get rid of this, it's the same as annotate with
324 | - Parameter annotations: The new annotations
325 | */
326 | #warning("Get rid of this, it's the same as annotate with")
| `- warning: Get rid of this, it's the same as annotate with
327 | internal func instanceWith(annotations:RuleAnnotations)->Rule{
328 | return annotatedWith(annotations)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:73:30: warning: This should be a log entry
71 | }
72 | default:
73 | #warning("This should be a log entry")
| `- warning: This should be a log entry
74 | print("Warning: \(annotation) supplied with \(value) when only supports .set")
75 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:82:30: warning: This should be a log entry
80 | resultantRule = resultantRule.parse(as: StringToken(stringValue))
81 | default:
82 | #warning("This should be a log entry")
| `- warning: This should be a log entry
83 | print("Warning: \(annotation) supplied with \(value) when only supports .string")
84 | resultantRule = resultantRule.parse(as: StringToken("\(value)"))
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:169:18: warning: If I am already a reference I should wrap myself in a sequence and return that
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
| `- warning: If I am already a reference I should wrap myself in a sequence and return that
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
171 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 | public extension Rule{
94 | /// The user specified (in an annotation) error associated with the rule
95 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | guard let value = self[RuleAnnotation.error] else {
97 | return nil
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:108:5: warning: 'public' modifier is redundant for subscript declared in a public extension
106 |
107 | /// Returns the value of the specific `RuleAnnotationValue` identified by `annotation` if present
108 | public subscript(annotation:RuleAnnotation)->RuleAnnotationValue?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
109 | return annotations[annotation]
110 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:129:5: warning: 'public' modifier is redundant for property declared in a public extension
127 |
128 | /// `true` if the rule creates ndoes, false otherwise
129 | public var structural : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
130 | return behaviour.token != nil
131 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:134:5: warning: 'public' modifier is redundant for property declared in a public extension
132 |
133 | /// `true` if the rule creates ndoes, false otherwise
134 | public var skipping : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
135 | if case .skipping = behaviour.kind {
136 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:142:5: warning: 'public' modifier is redundant for property declared in a public extension
140 |
141 | /// `true` if the rule creates ndoes, false otherwise
142 | public var scanning : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
143 | if case .scanning = behaviour.kind {
144 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:156:5: warning: 'public' modifier is redundant for instance method declared in a public extension
154 | - Returns: The match result
155 | */
156 | public func match(with lexer: LexicalAnalyzer, for ir: IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
157 | // Log entrance
158 | do {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:175:5: warning: 'public' modifier is redundant for instance method declared in a public extension
173 | - Returns: The match result
174 | */
175 | public func evaluate(_ matcher:@escaping Test, using lexer:LexicalAnalyzer, and ir:IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
176 | //Prepare for any lookahead by putting a fake IR in place if is lookahead
177 | //as well as taking an additional mark to ensure position will always be
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:234:26: warning: If a structural node is pinned we should tell the IR to create a node anyway
232 | } catch {
233 | if matches == 0 && skippable {
234 | #warning("If a structural node is pinned we should tell the IR to create a node anyway")
| `- warning: If a structural node is pinned we should tell the IR to create a node anyway
235 | lexer.rewind()
236 | if structural {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:248:30: warning: Make this a predifined annotation
246 | if let specificError = self.error {
247 | let causes : [Error]
248 | #warning("Make this a predifined annotation")
| `- warning: Make this a predifined annotation
249 | if annotations[RuleAnnotation.custom(label: "coalesce")] != nil {
250 | causes = []
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:254:30: warning: Make this a predefined annotation
252 | causes = [error]
253 | }
254 | #warning("Make this a predefined annotation")
| `- warning: Make this a predefined annotation
255 | if annotations[RuleAnnotation.custom(label: "fatal")] != nil {
256 | throw ProcessingError.fatal(message: specificError, causes: causes)
[10/61] Compiling OysterKit Rule+Extensions.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Terminal+Rule.swift:29:5: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | /// Extends any terminal to be a `Rule`
28 | public extension Terminal {
29 | public func rule(with behaviour: Behaviour?, annotations: RuleAnnotations?) -> Rule {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return TerminalRule(
31 | behaviour ?? Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false),
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | - Returns: A rule
33 | */
34 | public func from(_ rule:Rule)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let intermediate = rule.rule(with: Behaviour(.structural(token: self), cardinality: rule.behaviour.cardinality, negated: rule.behaviour.negate, lookahead: rule.behaviour.lookahead), annotations: rule.annotations)
36 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:53:5: warning: 'public' modifier is redundant for instance method declared in a public extension
51 | - Returns: A rule
52 | */
53 | public func parse(as token:TokenType)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return token.from(self)
55 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
50 | - Returns: A new instance of the rule with the specified annotations
51 | */
52 | public func annotatedWith(_ annotations:RuleAnnotations)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
53 | var resultantRule : Rule = self
54 | var filterOut = [RuleAnnotation]()
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:100:5: warning: 'public' modifier is redundant for instance method declared in a public extension
98 | - Returns: The new rule instance
99 | */
100 | public func require(_ cardinality:Cardinality)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
101 | return newBehaviour(cardinality: cardinality)
102 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:127:5: warning: 'public' modifier is redundant for instance method declared in a public extension
125 | - Returns: A new version of the rule
126 | */
127 | public func lookahead()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
128 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: true), annotations: annotations)
129 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:140:5: warning: 'public' modifier is redundant for instance method declared in a public extension
138 | - Returns: A new version of the rule
139 | */
140 | public func negate()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
141 | return rule(with: Behaviour(behaviour.kind, cardinality: behaviour.cardinality, negated: true, lookahead: behaviour.lookahead), annotations: annotations)
142 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:152:5: warning: 'public' modifier is redundant for instance method declared in a public extension
150 | - Returns: A new version of the rule
151 | */
152 | public func skip()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
153 | return rule(with: Behaviour(.skipping, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
154 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:164:5: warning: 'public' modifier is redundant for instance method declared in a public extension
162 | - Returns: A new version of the rule
163 | */
164 | public func scan()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
165 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
166 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:168:5: warning: 'public' modifier is redundant for instance method declared in a public extension
166 | }
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:315:14: warning: Refactor to rule(with behaviour)
313 | - Parameter behaviour: The new behaviour
314 | */
315 | #warning("Refactor to rule(with behaviour)")
| `- warning: Refactor to rule(with behaviour)
316 | internal func instanceWith(with behaviour:Behaviour)->Rule{
317 | return rule(with: behaviour, annotations: nil)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:326:14: warning: Get rid of this, it's the same as annotate with
324 | - Parameter annotations: The new annotations
325 | */
326 | #warning("Get rid of this, it's the same as annotate with")
| `- warning: Get rid of this, it's the same as annotate with
327 | internal func instanceWith(annotations:RuleAnnotations)->Rule{
328 | return annotatedWith(annotations)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:73:30: warning: This should be a log entry
71 | }
72 | default:
73 | #warning("This should be a log entry")
| `- warning: This should be a log entry
74 | print("Warning: \(annotation) supplied with \(value) when only supports .set")
75 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:82:30: warning: This should be a log entry
80 | resultantRule = resultantRule.parse(as: StringToken(stringValue))
81 | default:
82 | #warning("This should be a log entry")
| `- warning: This should be a log entry
83 | print("Warning: \(annotation) supplied with \(value) when only supports .string")
84 | resultantRule = resultantRule.parse(as: StringToken("\(value)"))
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:169:18: warning: If I am already a reference I should wrap myself in a sequence and return that
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
| `- warning: If I am already a reference I should wrap myself in a sequence and return that
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
171 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 | public extension Rule{
94 | /// The user specified (in an annotation) error associated with the rule
95 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | guard let value = self[RuleAnnotation.error] else {
97 | return nil
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:108:5: warning: 'public' modifier is redundant for subscript declared in a public extension
106 |
107 | /// Returns the value of the specific `RuleAnnotationValue` identified by `annotation` if present
108 | public subscript(annotation:RuleAnnotation)->RuleAnnotationValue?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
109 | return annotations[annotation]
110 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:129:5: warning: 'public' modifier is redundant for property declared in a public extension
127 |
128 | /// `true` if the rule creates ndoes, false otherwise
129 | public var structural : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
130 | return behaviour.token != nil
131 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:134:5: warning: 'public' modifier is redundant for property declared in a public extension
132 |
133 | /// `true` if the rule creates ndoes, false otherwise
134 | public var skipping : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
135 | if case .skipping = behaviour.kind {
136 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:142:5: warning: 'public' modifier is redundant for property declared in a public extension
140 |
141 | /// `true` if the rule creates ndoes, false otherwise
142 | public var scanning : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
143 | if case .scanning = behaviour.kind {
144 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:156:5: warning: 'public' modifier is redundant for instance method declared in a public extension
154 | - Returns: The match result
155 | */
156 | public func match(with lexer: LexicalAnalyzer, for ir: IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
157 | // Log entrance
158 | do {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:175:5: warning: 'public' modifier is redundant for instance method declared in a public extension
173 | - Returns: The match result
174 | */
175 | public func evaluate(_ matcher:@escaping Test, using lexer:LexicalAnalyzer, and ir:IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
176 | //Prepare for any lookahead by putting a fake IR in place if is lookahead
177 | //as well as taking an additional mark to ensure position will always be
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:234:26: warning: If a structural node is pinned we should tell the IR to create a node anyway
232 | } catch {
233 | if matches == 0 && skippable {
234 | #warning("If a structural node is pinned we should tell the IR to create a node anyway")
| `- warning: If a structural node is pinned we should tell the IR to create a node anyway
235 | lexer.rewind()
236 | if structural {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:248:30: warning: Make this a predifined annotation
246 | if let specificError = self.error {
247 | let causes : [Error]
248 | #warning("Make this a predifined annotation")
| `- warning: Make this a predifined annotation
249 | if annotations[RuleAnnotation.custom(label: "coalesce")] != nil {
250 | causes = []
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:254:30: warning: Make this a predefined annotation
252 | causes = [error]
253 | }
254 | #warning("Make this a predefined annotation")
| `- warning: Make this a predefined annotation
255 | if annotations[RuleAnnotation.custom(label: "fatal")] != nil {
256 | throw ProcessingError.fatal(message: specificError, causes: causes)
[11/61] Compiling OysterKit Rule.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Terminal+Rule.swift:29:5: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | /// Extends any terminal to be a `Rule`
28 | public extension Terminal {
29 | public func rule(with behaviour: Behaviour?, annotations: RuleAnnotations?) -> Rule {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return TerminalRule(
31 | behaviour ?? Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false),
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | - Returns: A rule
33 | */
34 | public func from(_ rule:Rule)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let intermediate = rule.rule(with: Behaviour(.structural(token: self), cardinality: rule.behaviour.cardinality, negated: rule.behaviour.negate, lookahead: rule.behaviour.lookahead), annotations: rule.annotations)
36 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:53:5: warning: 'public' modifier is redundant for instance method declared in a public extension
51 | - Returns: A rule
52 | */
53 | public func parse(as token:TokenType)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return token.from(self)
55 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
50 | - Returns: A new instance of the rule with the specified annotations
51 | */
52 | public func annotatedWith(_ annotations:RuleAnnotations)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
53 | var resultantRule : Rule = self
54 | var filterOut = [RuleAnnotation]()
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:100:5: warning: 'public' modifier is redundant for instance method declared in a public extension
98 | - Returns: The new rule instance
99 | */
100 | public func require(_ cardinality:Cardinality)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
101 | return newBehaviour(cardinality: cardinality)
102 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:127:5: warning: 'public' modifier is redundant for instance method declared in a public extension
125 | - Returns: A new version of the rule
126 | */
127 | public func lookahead()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
128 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: true), annotations: annotations)
129 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:140:5: warning: 'public' modifier is redundant for instance method declared in a public extension
138 | - Returns: A new version of the rule
139 | */
140 | public func negate()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
141 | return rule(with: Behaviour(behaviour.kind, cardinality: behaviour.cardinality, negated: true, lookahead: behaviour.lookahead), annotations: annotations)
142 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:152:5: warning: 'public' modifier is redundant for instance method declared in a public extension
150 | - Returns: A new version of the rule
151 | */
152 | public func skip()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
153 | return rule(with: Behaviour(.skipping, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
154 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:164:5: warning: 'public' modifier is redundant for instance method declared in a public extension
162 | - Returns: A new version of the rule
163 | */
164 | public func scan()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
165 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
166 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:168:5: warning: 'public' modifier is redundant for instance method declared in a public extension
166 | }
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:315:14: warning: Refactor to rule(with behaviour)
313 | - Parameter behaviour: The new behaviour
314 | */
315 | #warning("Refactor to rule(with behaviour)")
| `- warning: Refactor to rule(with behaviour)
316 | internal func instanceWith(with behaviour:Behaviour)->Rule{
317 | return rule(with: behaviour, annotations: nil)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:326:14: warning: Get rid of this, it's the same as annotate with
324 | - Parameter annotations: The new annotations
325 | */
326 | #warning("Get rid of this, it's the same as annotate with")
| `- warning: Get rid of this, it's the same as annotate with
327 | internal func instanceWith(annotations:RuleAnnotations)->Rule{
328 | return annotatedWith(annotations)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:73:30: warning: This should be a log entry
71 | }
72 | default:
73 | #warning("This should be a log entry")
| `- warning: This should be a log entry
74 | print("Warning: \(annotation) supplied with \(value) when only supports .set")
75 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:82:30: warning: This should be a log entry
80 | resultantRule = resultantRule.parse(as: StringToken(stringValue))
81 | default:
82 | #warning("This should be a log entry")
| `- warning: This should be a log entry
83 | print("Warning: \(annotation) supplied with \(value) when only supports .string")
84 | resultantRule = resultantRule.parse(as: StringToken("\(value)"))
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:169:18: warning: If I am already a reference I should wrap myself in a sequence and return that
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
| `- warning: If I am already a reference I should wrap myself in a sequence and return that
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
171 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 | public extension Rule{
94 | /// The user specified (in an annotation) error associated with the rule
95 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | guard let value = self[RuleAnnotation.error] else {
97 | return nil
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:108:5: warning: 'public' modifier is redundant for subscript declared in a public extension
106 |
107 | /// Returns the value of the specific `RuleAnnotationValue` identified by `annotation` if present
108 | public subscript(annotation:RuleAnnotation)->RuleAnnotationValue?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
109 | return annotations[annotation]
110 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:129:5: warning: 'public' modifier is redundant for property declared in a public extension
127 |
128 | /// `true` if the rule creates ndoes, false otherwise
129 | public var structural : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
130 | return behaviour.token != nil
131 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:134:5: warning: 'public' modifier is redundant for property declared in a public extension
132 |
133 | /// `true` if the rule creates ndoes, false otherwise
134 | public var skipping : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
135 | if case .skipping = behaviour.kind {
136 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:142:5: warning: 'public' modifier is redundant for property declared in a public extension
140 |
141 | /// `true` if the rule creates ndoes, false otherwise
142 | public var scanning : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
143 | if case .scanning = behaviour.kind {
144 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:156:5: warning: 'public' modifier is redundant for instance method declared in a public extension
154 | - Returns: The match result
155 | */
156 | public func match(with lexer: LexicalAnalyzer, for ir: IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
157 | // Log entrance
158 | do {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:175:5: warning: 'public' modifier is redundant for instance method declared in a public extension
173 | - Returns: The match result
174 | */
175 | public func evaluate(_ matcher:@escaping Test, using lexer:LexicalAnalyzer, and ir:IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
176 | //Prepare for any lookahead by putting a fake IR in place if is lookahead
177 | //as well as taking an additional mark to ensure position will always be
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:234:26: warning: If a structural node is pinned we should tell the IR to create a node anyway
232 | } catch {
233 | if matches == 0 && skippable {
234 | #warning("If a structural node is pinned we should tell the IR to create a node anyway")
| `- warning: If a structural node is pinned we should tell the IR to create a node anyway
235 | lexer.rewind()
236 | if structural {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:248:30: warning: Make this a predifined annotation
246 | if let specificError = self.error {
247 | let causes : [Error]
248 | #warning("Make this a predifined annotation")
| `- warning: Make this a predifined annotation
249 | if annotations[RuleAnnotation.custom(label: "coalesce")] != nil {
250 | causes = []
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:254:30: warning: Make this a predefined annotation
252 | causes = [error]
253 | }
254 | #warning("Make this a predefined annotation")
| `- warning: Make this a predefined annotation
255 | if annotations[RuleAnnotation.custom(label: "fatal")] != nil {
256 | throw ProcessingError.fatal(message: specificError, causes: causes)
[12/61] Compiling OysterKit CharacterSet+Terminal.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Terminal+Rule.swift:29:5: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | /// Extends any terminal to be a `Rule`
28 | public extension Terminal {
29 | public func rule(with behaviour: Behaviour?, annotations: RuleAnnotations?) -> Rule {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return TerminalRule(
31 | behaviour ?? Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false),
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | - Returns: A rule
33 | */
34 | public func from(_ rule:Rule)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let intermediate = rule.rule(with: Behaviour(.structural(token: self), cardinality: rule.behaviour.cardinality, negated: rule.behaviour.negate, lookahead: rule.behaviour.lookahead), annotations: rule.annotations)
36 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:53:5: warning: 'public' modifier is redundant for instance method declared in a public extension
51 | - Returns: A rule
52 | */
53 | public func parse(as token:TokenType)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return token.from(self)
55 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
50 | - Returns: A new instance of the rule with the specified annotations
51 | */
52 | public func annotatedWith(_ annotations:RuleAnnotations)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
53 | var resultantRule : Rule = self
54 | var filterOut = [RuleAnnotation]()
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:100:5: warning: 'public' modifier is redundant for instance method declared in a public extension
98 | - Returns: The new rule instance
99 | */
100 | public func require(_ cardinality:Cardinality)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
101 | return newBehaviour(cardinality: cardinality)
102 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:127:5: warning: 'public' modifier is redundant for instance method declared in a public extension
125 | - Returns: A new version of the rule
126 | */
127 | public func lookahead()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
128 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: true), annotations: annotations)
129 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:140:5: warning: 'public' modifier is redundant for instance method declared in a public extension
138 | - Returns: A new version of the rule
139 | */
140 | public func negate()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
141 | return rule(with: Behaviour(behaviour.kind, cardinality: behaviour.cardinality, negated: true, lookahead: behaviour.lookahead), annotations: annotations)
142 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:152:5: warning: 'public' modifier is redundant for instance method declared in a public extension
150 | - Returns: A new version of the rule
151 | */
152 | public func skip()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
153 | return rule(with: Behaviour(.skipping, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
154 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:164:5: warning: 'public' modifier is redundant for instance method declared in a public extension
162 | - Returns: A new version of the rule
163 | */
164 | public func scan()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
165 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
166 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:168:5: warning: 'public' modifier is redundant for instance method declared in a public extension
166 | }
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:315:14: warning: Refactor to rule(with behaviour)
313 | - Parameter behaviour: The new behaviour
314 | */
315 | #warning("Refactor to rule(with behaviour)")
| `- warning: Refactor to rule(with behaviour)
316 | internal func instanceWith(with behaviour:Behaviour)->Rule{
317 | return rule(with: behaviour, annotations: nil)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:326:14: warning: Get rid of this, it's the same as annotate with
324 | - Parameter annotations: The new annotations
325 | */
326 | #warning("Get rid of this, it's the same as annotate with")
| `- warning: Get rid of this, it's the same as annotate with
327 | internal func instanceWith(annotations:RuleAnnotations)->Rule{
328 | return annotatedWith(annotations)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:73:30: warning: This should be a log entry
71 | }
72 | default:
73 | #warning("This should be a log entry")
| `- warning: This should be a log entry
74 | print("Warning: \(annotation) supplied with \(value) when only supports .set")
75 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:82:30: warning: This should be a log entry
80 | resultantRule = resultantRule.parse(as: StringToken(stringValue))
81 | default:
82 | #warning("This should be a log entry")
| `- warning: This should be a log entry
83 | print("Warning: \(annotation) supplied with \(value) when only supports .string")
84 | resultantRule = resultantRule.parse(as: StringToken("\(value)"))
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:169:18: warning: If I am already a reference I should wrap myself in a sequence and return that
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
| `- warning: If I am already a reference I should wrap myself in a sequence and return that
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
171 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 | public extension Rule{
94 | /// The user specified (in an annotation) error associated with the rule
95 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | guard let value = self[RuleAnnotation.error] else {
97 | return nil
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:108:5: warning: 'public' modifier is redundant for subscript declared in a public extension
106 |
107 | /// Returns the value of the specific `RuleAnnotationValue` identified by `annotation` if present
108 | public subscript(annotation:RuleAnnotation)->RuleAnnotationValue?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
109 | return annotations[annotation]
110 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:129:5: warning: 'public' modifier is redundant for property declared in a public extension
127 |
128 | /// `true` if the rule creates ndoes, false otherwise
129 | public var structural : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
130 | return behaviour.token != nil
131 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:134:5: warning: 'public' modifier is redundant for property declared in a public extension
132 |
133 | /// `true` if the rule creates ndoes, false otherwise
134 | public var skipping : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
135 | if case .skipping = behaviour.kind {
136 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:142:5: warning: 'public' modifier is redundant for property declared in a public extension
140 |
141 | /// `true` if the rule creates ndoes, false otherwise
142 | public var scanning : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
143 | if case .scanning = behaviour.kind {
144 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:156:5: warning: 'public' modifier is redundant for instance method declared in a public extension
154 | - Returns: The match result
155 | */
156 | public func match(with lexer: LexicalAnalyzer, for ir: IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
157 | // Log entrance
158 | do {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:175:5: warning: 'public' modifier is redundant for instance method declared in a public extension
173 | - Returns: The match result
174 | */
175 | public func evaluate(_ matcher:@escaping Test, using lexer:LexicalAnalyzer, and ir:IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
176 | //Prepare for any lookahead by putting a fake IR in place if is lookahead
177 | //as well as taking an additional mark to ensure position will always be
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:234:26: warning: If a structural node is pinned we should tell the IR to create a node anyway
232 | } catch {
233 | if matches == 0 && skippable {
234 | #warning("If a structural node is pinned we should tell the IR to create a node anyway")
| `- warning: If a structural node is pinned we should tell the IR to create a node anyway
235 | lexer.rewind()
236 | if structural {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:248:30: warning: Make this a predifined annotation
246 | if let specificError = self.error {
247 | let causes : [Error]
248 | #warning("Make this a predifined annotation")
| `- warning: Make this a predifined annotation
249 | if annotations[RuleAnnotation.custom(label: "coalesce")] != nil {
250 | causes = []
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:254:30: warning: Make this a predefined annotation
252 | causes = [error]
253 | }
254 | #warning("Make this a predefined annotation")
| `- warning: Make this a predefined annotation
255 | if annotations[RuleAnnotation.custom(label: "fatal")] != nil {
256 | throw ProcessingError.fatal(message: specificError, causes: causes)
[13/61] Compiling OysterKit EndOfFile.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Terminal+Rule.swift:29:5: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | /// Extends any terminal to be a `Rule`
28 | public extension Terminal {
29 | public func rule(with behaviour: Behaviour?, annotations: RuleAnnotations?) -> Rule {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return TerminalRule(
31 | behaviour ?? Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false),
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 | - Returns: A rule
33 | */
34 | public func from(_ rule:Rule)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 | let intermediate = rule.rule(with: Behaviour(.structural(token: self), cardinality: rule.behaviour.cardinality, negated: rule.behaviour.negate, lookahead: rule.behaviour.lookahead), annotations: rule.annotations)
36 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule Production/Token+Rule.swift:53:5: warning: 'public' modifier is redundant for instance method declared in a public extension
51 | - Returns: A rule
52 | */
53 | public func parse(as token:TokenType)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return token.from(self)
55 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
50 | - Returns: A new instance of the rule with the specified annotations
51 | */
52 | public func annotatedWith(_ annotations:RuleAnnotations)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
53 | var resultantRule : Rule = self
54 | var filterOut = [RuleAnnotation]()
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:100:5: warning: 'public' modifier is redundant for instance method declared in a public extension
98 | - Returns: The new rule instance
99 | */
100 | public func require(_ cardinality:Cardinality)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
101 | return newBehaviour(cardinality: cardinality)
102 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:127:5: warning: 'public' modifier is redundant for instance method declared in a public extension
125 | - Returns: A new version of the rule
126 | */
127 | public func lookahead()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
128 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: true), annotations: annotations)
129 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:140:5: warning: 'public' modifier is redundant for instance method declared in a public extension
138 | - Returns: A new version of the rule
139 | */
140 | public func negate()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
141 | return rule(with: Behaviour(behaviour.kind, cardinality: behaviour.cardinality, negated: true, lookahead: behaviour.lookahead), annotations: annotations)
142 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:152:5: warning: 'public' modifier is redundant for instance method declared in a public extension
150 | - Returns: A new version of the rule
151 | */
152 | public func skip()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
153 | return rule(with: Behaviour(.skipping, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
154 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:164:5: warning: 'public' modifier is redundant for instance method declared in a public extension
162 | - Returns: A new version of the rule
163 | */
164 | public func scan()->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
165 | return rule(with: Behaviour(.scanning, cardinality: behaviour.cardinality, negated: behaviour.negate, lookahead: behaviour.lookahead), annotations: annotations)
166 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:168:5: warning: 'public' modifier is redundant for instance method declared in a public extension
166 | }
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:315:14: warning: Refactor to rule(with behaviour)
313 | - Parameter behaviour: The new behaviour
314 | */
315 | #warning("Refactor to rule(with behaviour)")
| `- warning: Refactor to rule(with behaviour)
316 | internal func instanceWith(with behaviour:Behaviour)->Rule{
317 | return rule(with: behaviour, annotations: nil)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:326:14: warning: Get rid of this, it's the same as annotate with
324 | - Parameter annotations: The new annotations
325 | */
326 | #warning("Get rid of this, it's the same as annotate with")
| `- warning: Get rid of this, it's the same as annotate with
327 | internal func instanceWith(annotations:RuleAnnotations)->Rule{
328 | return annotatedWith(annotations)
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:73:30: warning: This should be a log entry
71 | }
72 | default:
73 | #warning("This should be a log entry")
| `- warning: This should be a log entry
74 | print("Warning: \(annotation) supplied with \(value) when only supports .set")
75 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:82:30: warning: This should be a log entry
80 | resultantRule = resultantRule.parse(as: StringToken(stringValue))
81 | default:
82 | #warning("This should be a log entry")
| `- warning: This should be a log entry
83 | print("Warning: \(annotation) supplied with \(value) when only supports .string")
84 | resultantRule = resultantRule.parse(as: StringToken("\(value)"))
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule+Extensions.swift:169:18: warning: If I am already a reference I should wrap myself in a sequence and return that
167 |
168 | public func reference(_ kind:Behaviour.Kind, annotations: RuleAnnotations? = nil)->Rule{
169 | #warning("If I am already a reference I should wrap myself in a sequence and return that")
| `- warning: If I am already a reference I should wrap myself in a sequence and return that
170 | let reference = ReferenceRule(Behaviour(.scanning, cardinality: .one, negated: false, lookahead: false), and: annotations ?? [:], for: self)
171 |
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 | public extension Rule{
94 | /// The user specified (in an annotation) error associated with the rule
95 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | guard let value = self[RuleAnnotation.error] else {
97 | return nil
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:108:5: warning: 'public' modifier is redundant for subscript declared in a public extension
106 |
107 | /// Returns the value of the specific `RuleAnnotationValue` identified by `annotation` if present
108 | public subscript(annotation:RuleAnnotation)->RuleAnnotationValue?{
| `- warning: 'public' modifier is redundant for subscript declared in a public extension
109 | return annotations[annotation]
110 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:129:5: warning: 'public' modifier is redundant for property declared in a public extension
127 |
128 | /// `true` if the rule creates ndoes, false otherwise
129 | public var structural : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
130 | return behaviour.token != nil
131 | }
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:134:5: warning: 'public' modifier is redundant for property declared in a public extension
132 |
133 | /// `true` if the rule creates ndoes, false otherwise
134 | public var skipping : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
135 | if case .skipping = behaviour.kind {
136 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:142:5: warning: 'public' modifier is redundant for property declared in a public extension
140 |
141 | /// `true` if the rule creates ndoes, false otherwise
142 | public var scanning : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
143 | if case .scanning = behaviour.kind {
144 | return true
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:156:5: warning: 'public' modifier is redundant for instance method declared in a public extension
154 | - Returns: The match result
155 | */
156 | public func match(with lexer: LexicalAnalyzer, for ir: IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
157 | // Log entrance
158 | do {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:175:5: warning: 'public' modifier is redundant for instance method declared in a public extension
173 | - Returns: The match result
174 | */
175 | public func evaluate(_ matcher:@escaping Test, using lexer:LexicalAnalyzer, and ir:IntermediateRepresentation) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
176 | //Prepare for any lookahead by putting a fake IR in place if is lookahead
177 | //as well as taking an additional mark to ensure position will always be
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:234:26: warning: If a structural node is pinned we should tell the IR to create a node anyway
232 | } catch {
233 | if matches == 0 && skippable {
234 | #warning("If a structural node is pinned we should tell the IR to create a node anyway")
| `- warning: If a structural node is pinned we should tell the IR to create a node anyway
235 | lexer.rewind()
236 | if structural {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:248:30: warning: Make this a predifined annotation
246 | if let specificError = self.error {
247 | let causes : [Error]
248 | #warning("Make this a predifined annotation")
| `- warning: Make this a predifined annotation
249 | if annotations[RuleAnnotation.custom(label: "coalesce")] != nil {
250 | causes = []
/host/spi-builder-workspace/Sources/OysterKit/Rules/Rule.swift:254:30: warning: Make this a predefined annotation
252 | causes = [error]
253 | }
254 | #warning("Make this a predefined annotation")
| `- warning: Make this a predefined annotation
255 | if annotations[RuleAnnotation.custom(label: "fatal")] != nil {
256 | throw ProcessingError.fatal(message: specificError, causes: causes)
[14/61] Compiling OysterKit NodeStack.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:19: 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:
[15/61] Compiling OysterKit Nodes.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:19: 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:
[16/61] Compiling OysterKit StateCache.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:19: 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:
[17/61] Compiling OysterKit TokenStream.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:19: 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:
[18/61] Compiling OysterKit ParsingStrategy.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:19: 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:
[19/61] Compiling OysterKit RuleAnnotation.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Intermediate Representations/Streams/TokenStream.swift:72:19: 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:
[20/61] Compiling OysterKit Lexer.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | - Returns: An iterable stream of tokens
69 | **/
70 | public func tokenize(_ source:String)->TokenStream{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return TokenStream(source, using: self)
72 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:96:5: warning: 'public' modifier is redundant for instance method declared in a public extension
94 | - Returns: A `HomogenousTree`
95 | **/
96 | public func parse(_ source:String) throws ->HomogenousTree{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
97 | return try AbstractSyntaxTreeConstructor(with: source).build(using: self)
98 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:116:5: warning: 'public' modifier is redundant for instance method declared in a public extension
114 | - Returns: The populated type
115 | **/
116 | public func build<T : Decodable>(_ source:String,as type: T.Type) throws -> T{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
117 | return try ParsingDecoder().decode(T.self, using: parse(source))
118 | }
[21/61] Compiling OysterKit LexicalAnalyzer.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | - Returns: An iterable stream of tokens
69 | **/
70 | public func tokenize(_ source:String)->TokenStream{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return TokenStream(source, using: self)
72 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:96:5: warning: 'public' modifier is redundant for instance method declared in a public extension
94 | - Returns: A `HomogenousTree`
95 | **/
96 | public func parse(_ source:String) throws ->HomogenousTree{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
97 | return try AbstractSyntaxTreeConstructor(with: source).build(using: self)
98 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:116:5: warning: 'public' modifier is redundant for instance method declared in a public extension
114 | - Returns: The populated type
115 | **/
116 | public func build<T : Decodable>(_ source:String,as type: T.Type) throws -> T{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
117 | return try ParsingDecoder().decode(T.self, using: parse(source))
118 | }
[22/61] Compiling OysterKit Scanner.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | - Returns: An iterable stream of tokens
69 | **/
70 | public func tokenize(_ source:String)->TokenStream{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return TokenStream(source, using: self)
72 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:96:5: warning: 'public' modifier is redundant for instance method declared in a public extension
94 | - Returns: A `HomogenousTree`
95 | **/
96 | public func parse(_ source:String) throws ->HomogenousTree{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
97 | return try AbstractSyntaxTreeConstructor(with: source).build(using: self)
98 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:116:5: warning: 'public' modifier is redundant for instance method declared in a public extension
114 | - Returns: The populated type
115 | **/
116 | public func build<T : Decodable>(_ source:String,as type: T.Type) throws -> T{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
117 | return try ParsingDecoder().decode(T.self, using: parse(source))
118 | }
[23/61] Compiling OysterKit DecodingError+Logging.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | - Returns: An iterable stream of tokens
69 | **/
70 | public func tokenize(_ source:String)->TokenStream{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return TokenStream(source, using: self)
72 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:96:5: warning: 'public' modifier is redundant for instance method declared in a public extension
94 | - Returns: A `HomogenousTree`
95 | **/
96 | public func parse(_ source:String) throws ->HomogenousTree{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
97 | return try AbstractSyntaxTreeConstructor(with: source).build(using: self)
98 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:116:5: warning: 'public' modifier is redundant for instance method declared in a public extension
114 | - Returns: The populated type
115 | **/
116 | public func build<T : Decodable>(_ source:String,as type: T.Type) throws -> T{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
117 | return try ParsingDecoder().decode(T.self, using: parse(source))
118 | }
[24/61] Compiling OysterKit Log.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | - Returns: An iterable stream of tokens
69 | **/
70 | public func tokenize(_ source:String)->TokenStream{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return TokenStream(source, using: self)
72 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:96:5: warning: 'public' modifier is redundant for instance method declared in a public extension
94 | - Returns: A `HomogenousTree`
95 | **/
96 | public func parse(_ source:String) throws ->HomogenousTree{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
97 | return try AbstractSyntaxTreeConstructor(with: source).build(using: self)
98 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:116:5: warning: 'public' modifier is redundant for instance method declared in a public extension
114 | - Returns: The populated type
115 | **/
116 | public func build<T : Decodable>(_ source:String,as type: T.Type) throws -> T{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
117 | return try ParsingDecoder().decode(T.self, using: parse(source))
118 | }
[25/61] Compiling OysterKit Grammar.swift
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:70:5: warning: 'public' modifier is redundant for instance method declared in a public extension
68 | - Returns: An iterable stream of tokens
69 | **/
70 | public func tokenize(_ source:String)->TokenStream{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
71 | return TokenStream(source, using: self)
72 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:96:5: warning: 'public' modifier is redundant for instance method declared in a public extension
94 | - Returns: A `HomogenousTree`
95 | **/
96 | public func parse(_ source:String) throws ->HomogenousTree{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
97 | return try AbstractSyntaxTreeConstructor(with: source).build(using: self)
98 | }
/host/spi-builder-workspace/Sources/OysterKit/Parser/Grammar.swift:116:5: warning: 'public' modifier is redundant for instance method declared in a public extension
114 | - Returns: The populated type
115 | **/
116 | public func build<T : Decodable>(_ source:String,as type: T.Type) throws -> T{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
117 | return try ParsingDecoder().decode(T.self, using: parse(source))
118 | }
[26/61] Compiling OysterKit AbstractSyntaxTree.swift
[27/61] Compiling OysterKit AbstractSyntaxTreeConstructor.swift
[28/61] Compiling OysterKit HomogenousTree.swift
[29/61] Compiling OysterKit IntermediateRepresentation.swift
[30/61] Compiling OysterKit LookAheadIR.swift
[31/61] Compiling OysterKit MatchResult.swift
[32/61] Compiling OysterKit RuleAnnotationValue.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 | /// this object
56 | /// - Parameter with: The annotations which will add to or override those already in the dictionary
57 | public func merge(with incoming:RuleAnnotations)->RuleAnnotations{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 | var merged = self as! RuleAnnotations
59 | for annotation in incoming {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:67:5: warning: 'public' modifier is redundant for property declared in a public extension
65 |
66 | /// A description in STLR format of the `RuleAnnotations`
67 | public var stlrDescription : String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
68 | var result = ""
69 | for tuple in self {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:85:5: warning: 'public' modifier is redundant for property declared in a public extension
83 |
84 | /// Any annotated error message, or nil if not set
85 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
86 | if let error = self[.error] {
87 | if case let .string(message) = error {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 |
94 | /// Any annotated error message, or nil if not set
95 | public var token : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | if let token = self[.token] {
97 | if case let .string(label) = token {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:105:5: warning: 'public' modifier is redundant for property declared in a public extension
103 |
104 | /// True if the annotations included the pinned annotation
105 | public var pinned : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
106 | if let value = self[.pinned] {
107 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:115:5: warning: 'public' modifier is redundant for property declared in a public extension
113 |
114 | /// True if the annotations include the void annotation
115 | public var void : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
116 | if let value = self[.void] {
117 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:125:5: warning: 'public' modifier is redundant for property declared in a public extension
123 |
124 | /// True if the annotations include the transient annotation
125 | public var transient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
126 | if let value = self[.transient] {
127 | if case .set = value {
[33/61] Compiling OysterKit RuleAnnotations.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 | /// this object
56 | /// - Parameter with: The annotations which will add to or override those already in the dictionary
57 | public func merge(with incoming:RuleAnnotations)->RuleAnnotations{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 | var merged = self as! RuleAnnotations
59 | for annotation in incoming {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:67:5: warning: 'public' modifier is redundant for property declared in a public extension
65 |
66 | /// A description in STLR format of the `RuleAnnotations`
67 | public var stlrDescription : String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
68 | var result = ""
69 | for tuple in self {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:85:5: warning: 'public' modifier is redundant for property declared in a public extension
83 |
84 | /// Any annotated error message, or nil if not set
85 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
86 | if let error = self[.error] {
87 | if case let .string(message) = error {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 |
94 | /// Any annotated error message, or nil if not set
95 | public var token : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | if let token = self[.token] {
97 | if case let .string(label) = token {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:105:5: warning: 'public' modifier is redundant for property declared in a public extension
103 |
104 | /// True if the annotations included the pinned annotation
105 | public var pinned : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
106 | if let value = self[.pinned] {
107 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:115:5: warning: 'public' modifier is redundant for property declared in a public extension
113 |
114 | /// True if the annotations include the void annotation
115 | public var void : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
116 | if let value = self[.void] {
117 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:125:5: warning: 'public' modifier is redundant for property declared in a public extension
123 |
124 | /// True if the annotations include the transient annotation
125 | public var transient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
126 | if let value = self[.transient] {
127 | if case .set = value {
[34/61] Compiling OysterKit Behaviour.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 | /// this object
56 | /// - Parameter with: The annotations which will add to or override those already in the dictionary
57 | public func merge(with incoming:RuleAnnotations)->RuleAnnotations{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 | var merged = self as! RuleAnnotations
59 | for annotation in incoming {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:67:5: warning: 'public' modifier is redundant for property declared in a public extension
65 |
66 | /// A description in STLR format of the `RuleAnnotations`
67 | public var stlrDescription : String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
68 | var result = ""
69 | for tuple in self {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:85:5: warning: 'public' modifier is redundant for property declared in a public extension
83 |
84 | /// Any annotated error message, or nil if not set
85 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
86 | if let error = self[.error] {
87 | if case let .string(message) = error {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 |
94 | /// Any annotated error message, or nil if not set
95 | public var token : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | if let token = self[.token] {
97 | if case let .string(label) = token {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:105:5: warning: 'public' modifier is redundant for property declared in a public extension
103 |
104 | /// True if the annotations included the pinned annotation
105 | public var pinned : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
106 | if let value = self[.pinned] {
107 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:115:5: warning: 'public' modifier is redundant for property declared in a public extension
113 |
114 | /// True if the annotations include the void annotation
115 | public var void : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
116 | if let value = self[.void] {
117 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:125:5: warning: 'public' modifier is redundant for property declared in a public extension
123 |
124 | /// True if the annotations include the transient annotation
125 | public var transient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
126 | if let value = self[.transient] {
127 | if case .set = value {
[35/61] Compiling OysterKit Cadinality.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 | /// this object
56 | /// - Parameter with: The annotations which will add to or override those already in the dictionary
57 | public func merge(with incoming:RuleAnnotations)->RuleAnnotations{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 | var merged = self as! RuleAnnotations
59 | for annotation in incoming {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:67:5: warning: 'public' modifier is redundant for property declared in a public extension
65 |
66 | /// A description in STLR format of the `RuleAnnotations`
67 | public var stlrDescription : String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
68 | var result = ""
69 | for tuple in self {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:85:5: warning: 'public' modifier is redundant for property declared in a public extension
83 |
84 | /// Any annotated error message, or nil if not set
85 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
86 | if let error = self[.error] {
87 | if case let .string(message) = error {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 |
94 | /// Any annotated error message, or nil if not set
95 | public var token : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | if let token = self[.token] {
97 | if case let .string(label) = token {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:105:5: warning: 'public' modifier is redundant for property declared in a public extension
103 |
104 | /// True if the annotations included the pinned annotation
105 | public var pinned : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
106 | if let value = self[.pinned] {
107 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:115:5: warning: 'public' modifier is redundant for property declared in a public extension
113 |
114 | /// True if the annotations include the void annotation
115 | public var void : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
116 | if let value = self[.void] {
117 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:125:5: warning: 'public' modifier is redundant for property declared in a public extension
123 |
124 | /// True if the annotations include the transient annotation
125 | public var transient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
126 | if let value = self[.transient] {
127 | if case .set = value {
[36/61] Compiling OysterKit RuleAnnotations+Description.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 | /// this object
56 | /// - Parameter with: The annotations which will add to or override those already in the dictionary
57 | public func merge(with incoming:RuleAnnotations)->RuleAnnotations{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 | var merged = self as! RuleAnnotations
59 | for annotation in incoming {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:67:5: warning: 'public' modifier is redundant for property declared in a public extension
65 |
66 | /// A description in STLR format of the `RuleAnnotations`
67 | public var stlrDescription : String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
68 | var result = ""
69 | for tuple in self {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:85:5: warning: 'public' modifier is redundant for property declared in a public extension
83 |
84 | /// Any annotated error message, or nil if not set
85 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
86 | if let error = self[.error] {
87 | if case let .string(message) = error {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 |
94 | /// Any annotated error message, or nil if not set
95 | public var token : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | if let token = self[.token] {
97 | if case let .string(label) = token {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:105:5: warning: 'public' modifier is redundant for property declared in a public extension
103 |
104 | /// True if the annotations included the pinned annotation
105 | public var pinned : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
106 | if let value = self[.pinned] {
107 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:115:5: warning: 'public' modifier is redundant for property declared in a public extension
113 |
114 | /// True if the annotations include the void annotation
115 | public var void : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
116 | if let value = self[.void] {
117 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:125:5: warning: 'public' modifier is redundant for property declared in a public extension
123 |
124 | /// True if the annotations include the transient annotation
125 | public var transient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
126 | if let value = self[.transient] {
127 | if case .set = value {
[37/61] Compiling OysterKit ChoiceRule.swift
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:57:5: warning: 'public' modifier is redundant for instance method declared in a public extension
55 | /// this object
56 | /// - Parameter with: The annotations which will add to or override those already in the dictionary
57 | public func merge(with incoming:RuleAnnotations)->RuleAnnotations{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
58 | var merged = self as! RuleAnnotations
59 | for annotation in incoming {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:67:5: warning: 'public' modifier is redundant for property declared in a public extension
65 |
66 | /// A description in STLR format of the `RuleAnnotations`
67 | public var stlrDescription : String {
| `- warning: 'public' modifier is redundant for property declared in a public extension
68 | var result = ""
69 | for tuple in self {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:85:5: warning: 'public' modifier is redundant for property declared in a public extension
83 |
84 | /// Any annotated error message, or nil if not set
85 | public var error : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
86 | if let error = self[.error] {
87 | if case let .string(message) = error {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
93 |
94 | /// Any annotated error message, or nil if not set
95 | public var token : String? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
96 | if let token = self[.token] {
97 | if case let .string(label) = token {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:105:5: warning: 'public' modifier is redundant for property declared in a public extension
103 |
104 | /// True if the annotations included the pinned annotation
105 | public var pinned : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
106 | if let value = self[.pinned] {
107 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:115:5: warning: 'public' modifier is redundant for property declared in a public extension
113 |
114 | /// True if the annotations include the void annotation
115 | public var void : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
116 | if let value = self[.void] {
117 | if case .set = value {
/host/spi-builder-workspace/Sources/OysterKit/Rules/Annotations/RuleAnnotations.swift:125:5: warning: 'public' modifier is redundant for property declared in a public extension
123 |
124 | /// True if the annotations include the transient annotation
125 | public var transient : Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
126 | if let value = self[.transient] {
127 | if case .set = value {
[38/61] Compiling OysterKit ClosureRule.swift
[39/61] Compiling OysterKit RecursiveRule.swift
[40/61] Compiling OysterKit RecursiveRuleInstance.swift
[41/61] Compiling OysterKit ReferenceRule.swift
[42/61] Compiling OysterKit SequenceRule.swift
[43/61] Compiling OysterKit TerminalRule.swift
[44/61] Compiling OysterKit Extensions.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
[45/61] Compiling OysterKit Parsing Decoder.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
[46/61] Compiling OysterKit Array+Error.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
[47/61] Compiling OysterKit CausalErrorType.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
[48/61] Compiling OysterKit ProcessingError.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
[49/61] 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
BUILD FAILURE 6.1 linux