Build Information
Failed to build SwiftLint, reference main (ad23d0
), with Swift 5.9 for Linux on 20 Apr 2025 10:05:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:61:25: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
if let result = regexCache[key] {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:66:9: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
regexCache[key] = result
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:45:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:46:30: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs(string + "\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:56:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:58:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs("\(string): file \(file), line \(line)\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:1:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import Dispatch
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:2:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^
[599/662] Compiling SwiftLintCore Collection+Windows.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: error: variable must be declared private or fileprivate because its type '[RegexCacheKey : NSRegularExpression]' uses a private type
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:8:16: warning: stored property 'regex' of 'Sendable'-conforming struct 'RegularExpression' has non-sendable type 'NSRegularExpression'
public let regex: NSRegularExpression
^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:61:25: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
if let result = regexCache[key] {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:66:9: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
regexCache[key] = result
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:45:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:46:30: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs(string + "\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:56:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:58:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs("\(string): file \(file), line \(line)\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:1:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import Dispatch
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:2:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^
[600/662] Compiling SwiftLintCore Dictionary+SwiftLint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: error: variable must be declared private or fileprivate because its type '[RegexCacheKey : NSRegularExpression]' uses a private type
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:8:16: warning: stored property 'regex' of 'Sendable'-conforming struct 'RegularExpression' has non-sendable type 'NSRegularExpression'
public let regex: NSRegularExpression
^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:61:25: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
if let result = regexCache[key] {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:66:9: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
regexCache[key] = result
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:45:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:46:30: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs(string + "\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:56:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:58:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs("\(string): file \(file), line \(line)\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:1:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import Dispatch
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:2:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^
[601/662] Compiling SwiftLintCore NSRange+SwiftLint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: error: variable must be declared private or fileprivate because its type '[RegexCacheKey : NSRegularExpression]' uses a private type
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:8:16: warning: stored property 'regex' of 'Sendable'-conforming struct 'RegularExpression' has non-sendable type 'NSRegularExpression'
public let regex: NSRegularExpression
^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:61:25: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
if let result = regexCache[key] {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:66:9: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
regexCache[key] = result
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:45:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:46:30: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs(string + "\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:56:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:58:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs("\(string): file \(file), line \(line)\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:1:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import Dispatch
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:2:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^
[602/662] Compiling SwiftLintCore NSRegularExpression+SwiftLint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: error: variable must be declared private or fileprivate because its type '[RegexCacheKey : NSRegularExpression]' uses a private type
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:8:16: warning: stored property 'regex' of 'Sendable'-conforming struct 'RegularExpression' has non-sendable type 'NSRegularExpression'
public let regex: NSRegularExpression
^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:61:25: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
if let result = regexCache[key] {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:66:9: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
regexCache[key] = result
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:45:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:46:30: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs(string + "\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:56:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:58:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs("\(string): file \(file), line \(line)\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:1:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import Dispatch
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:2:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^
[603/662] Compiling SwiftLintCore QueuedPrint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: error: variable must be declared private or fileprivate because its type '[RegexCacheKey : NSRegularExpression]' uses a private type
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:8:16: warning: stored property 'regex' of 'Sendable'-conforming struct 'RegularExpression' has non-sendable type 'NSRegularExpression'
public let regex: NSRegularExpression
^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:61:25: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
if let result = regexCache[key] {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:66:9: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
regexCache[key] = result
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:45:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:46:30: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs(string + "\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:56:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:58:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs("\(string): file \(file), line \(line)\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:1:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import Dispatch
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:2:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^
[604/662] Compiling SwiftLintCore RandomAccessCollection+Swiftlint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: error: variable must be declared private or fileprivate because its type '[RegexCacheKey : NSRegularExpression]' uses a private type
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:8:16: warning: stored property 'regex' of 'Sendable'-conforming struct 'RegularExpression' has non-sendable type 'NSRegularExpression'
public let regex: NSRegularExpression
^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:61:25: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
if let result = regexCache[key] {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:66:9: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
regexCache[key] = result
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:45:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:46:30: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs(string + "\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:56:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:58:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs("\(string): file \(file), line \(line)\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:1:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import Dispatch
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:2:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^
[605/662] Compiling SwiftLintCore Request+SwiftLint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: error: variable must be declared private or fileprivate because its type '[RegexCacheKey : NSRegularExpression]' uses a private type
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:8:16: warning: stored property 'regex' of 'Sendable'-conforming struct 'RegularExpression' has non-sendable type 'NSRegularExpression'
public let regex: NSRegularExpression
^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:61:25: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
if let result = regexCache[key] {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:66:9: warning: reference to var 'regexCache' is not concurrency-safe because it involves shared mutable state
regexCache[key] = result
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: note: var declared here
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:45:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:46:30: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs(string + "\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:56:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
fflush(stdout)
^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:58:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
fputs("\(string): file \(file), line \(line)\n", stderr)
^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:1:17: remark: '@preconcurrency' attribute on module 'Dispatch' is unused
@preconcurrency import Dispatch
~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/QueuedPrint.swift:2:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^
[606/662] Compiling SwiftLintCore Baseline.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: type annotation missing in pattern
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: enums must not contain stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:13: error: 'nonisolated' can not be applied to stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:132:47: warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state
if case .ruleDeprecated = self, !Self.printDeprecationWarnings {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:44: note: static property declared here
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
[607/662] Compiling SwiftLintCore ChildOptionSeverityConfiguration.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: type annotation missing in pattern
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: enums must not contain stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:13: error: 'nonisolated' can not be applied to stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:132:47: warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state
if case .ruleDeprecated = self, !Self.printDeprecationWarnings {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:44: note: static property declared here
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
[608/662] Compiling SwiftLintCore Command.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: type annotation missing in pattern
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: enums must not contain stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:13: error: 'nonisolated' can not be applied to stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:132:47: warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state
if case .ruleDeprecated = self, !Self.printDeprecationWarnings {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:44: note: static property declared here
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
[609/662] Compiling SwiftLintCore ConfigurationRuleWrapper.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: type annotation missing in pattern
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: enums must not contain stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:13: error: 'nonisolated' can not be applied to stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:132:47: warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state
if case .ruleDeprecated = self, !Self.printDeprecationWarnings {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:44: note: static property declared here
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
[610/662] Compiling SwiftLintCore Correction.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: type annotation missing in pattern
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: enums must not contain stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:13: error: 'nonisolated' can not be applied to stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:132:47: warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state
if case .ruleDeprecated = self, !Self.printDeprecationWarnings {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:44: note: static property declared here
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
[611/662] Compiling SwiftLintCore Example.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: type annotation missing in pattern
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: enums must not contain stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:13: error: 'nonisolated' can not be applied to stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:132:47: warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state
if case .ruleDeprecated = self, !Self.printDeprecationWarnings {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:44: note: static property declared here
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
[612/662] Compiling SwiftLintCore Issue.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: type annotation missing in pattern
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: enums must not contain stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:13: error: 'nonisolated' can not be applied to stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:132:47: warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state
if case .ruleDeprecated = self, !Self.printDeprecationWarnings {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:44: note: static property declared here
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
[613/662] Compiling SwiftLintCore Location.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: type annotation missing in pattern
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: enums must not contain stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:13: error: 'nonisolated' can not be applied to stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:132:47: warning: reference to static property 'printDeprecationWarnings' is not concurrency-safe because it involves shared mutable state
if case .ruleDeprecated = self, !Self.printDeprecationWarnings {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:44: note: static property declared here
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
[614/662] Compiling SwiftLintCore RuleStorage.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[615/662] Compiling SwiftLintCore SeverityConfiguration.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[616/662] Compiling SwiftLintCore StyleViolation.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[617/662] Compiling SwiftLintCore SwiftExpressionKind.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[618/662] Compiling SwiftLintCore SwiftLintFile.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[619/662] Compiling SwiftLintCore SwiftLintSyntaxMap.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[620/662] Compiling SwiftLintCore SwiftLintSyntaxToken.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[621/662] Compiling SwiftLintCore SwiftVersion.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[622/662] Compiling SwiftLintCore Region.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[623/662] Compiling SwiftLintCore RuleConfigurationDescription.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[624/662] Compiling SwiftLintCore RuleDescription.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[625/662] Compiling SwiftLintCore RuleIdentifier.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[626/662] Compiling SwiftLintCore RuleKind.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[627/662] Compiling SwiftLintCore RuleList.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[628/662] Compiling SwiftLintCore RuleParameter.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[629/662] Compiling SwiftLintCore RuleRegistry.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[630/662] Compiling SwiftLintCore SourceKittenDictionary+Swiftlint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftDeclarationKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[631/662] Compiling SwiftLintCore SourceRange+SwiftLint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftDeclarationKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[632/662] Compiling SwiftLintCore String+SwiftLint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftDeclarationKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[633/662] Compiling SwiftLintCore StringView+SwiftLint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftDeclarationKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[634/662] Compiling SwiftLintCore StringView+SwiftSyntax.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftDeclarationKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[635/662] Compiling SwiftLintCore SwiftDeclarationAttributeKind+Swiftlint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftDeclarationKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[636/662] Compiling SwiftLintCore SwiftDeclarationKind+SwiftLint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftDeclarationKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[637/662] Compiling SwiftLintCore SwiftLintFile+BodyLineCount.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftDeclarationKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[638/662] Compiling SwiftLintCore SwiftLintFile+Cache.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: cannot find 'package' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: cannot find 'nonisolated' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:21: error: cannot find 'unsafe' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: error: type annotation missing in pattern
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:13: error: 'nonisolated' can not be applied to stored properties
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: warning: stored property 'unsafe' of 'Sendable'-conforming generic class 'Cache' is mutable
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:230:17: warning: stored property 'primitiveLock' of 'Sendable'-conforming class 'PlatformLock' has non-sendable type 'NSLock'
private let primitiveLock = NSLock()
^
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
open class NSLock : NSObject, NSLocking {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:126:12: warning: reference to var 'parserDiagnosticsDisabledForTests' is not concurrency-safe because it involves shared mutable state
if parserDiagnosticsDisabledForTests {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:33: note: var declared here
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[639/662] Compiling SwiftLintCore SwiftLintFile+Regex.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: cannot find 'package' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: cannot find 'nonisolated' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:21: error: cannot find 'unsafe' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: error: type annotation missing in pattern
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:13: error: 'nonisolated' can not be applied to stored properties
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: warning: stored property 'unsafe' of 'Sendable'-conforming generic class 'Cache' is mutable
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:230:17: warning: stored property 'primitiveLock' of 'Sendable'-conforming class 'PlatformLock' has non-sendable type 'NSLock'
private let primitiveLock = NSLock()
^
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
open class NSLock : NSObject, NSLocking {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:126:12: warning: reference to var 'parserDiagnosticsDisabledForTests' is not concurrency-safe because it involves shared mutable state
if parserDiagnosticsDisabledForTests {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:33: note: var declared here
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[640/662] Compiling SwiftLintCore SwiftSyntax+SwiftLint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: cannot find 'package' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: cannot find 'nonisolated' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:21: error: cannot find 'unsafe' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: error: type annotation missing in pattern
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:13: error: 'nonisolated' can not be applied to stored properties
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: warning: stored property 'unsafe' of 'Sendable'-conforming generic class 'Cache' is mutable
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:230:17: warning: stored property 'primitiveLock' of 'Sendable'-conforming class 'PlatformLock' has non-sendable type 'NSLock'
private let primitiveLock = NSLock()
^
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
open class NSLock : NSObject, NSLocking {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:126:12: warning: reference to var 'parserDiagnosticsDisabledForTests' is not concurrency-safe because it involves shared mutable state
if parserDiagnosticsDisabledForTests {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:33: note: var declared here
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[641/662] Compiling SwiftLintCore SyntaxClassification+isComment.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: cannot find 'package' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: cannot find 'nonisolated' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:21: error: cannot find 'unsafe' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: error: type annotation missing in pattern
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:13: error: 'nonisolated' can not be applied to stored properties
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: warning: stored property 'unsafe' of 'Sendable'-conforming generic class 'Cache' is mutable
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:230:17: warning: stored property 'primitiveLock' of 'Sendable'-conforming class 'PlatformLock' has non-sendable type 'NSLock'
private let primitiveLock = NSLock()
^
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
open class NSLock : NSObject, NSLocking {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:126:12: warning: reference to var 'parserDiagnosticsDisabledForTests' is not concurrency-safe because it involves shared mutable state
if parserDiagnosticsDisabledForTests {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:33: note: var declared here
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[642/662] Compiling SwiftLintCore SyntaxKind+SwiftLint.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: cannot find 'package' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: cannot find 'nonisolated' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:21: error: cannot find 'unsafe' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: error: type annotation missing in pattern
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:13: error: 'nonisolated' can not be applied to stored properties
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: warning: stored property 'unsafe' of 'Sendable'-conforming generic class 'Cache' is mutable
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:230:17: warning: stored property 'primitiveLock' of 'Sendable'-conforming class 'PlatformLock' has non-sendable type 'NSLock'
private let primitiveLock = NSLock()
^
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
open class NSLock : NSObject, NSLocking {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:126:12: warning: reference to var 'parserDiagnosticsDisabledForTests' is not concurrency-safe because it involves shared mutable state
if parserDiagnosticsDisabledForTests {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:33: note: var declared here
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[643/662] Compiling SwiftLintCore Macros.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: cannot find 'package' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: cannot find 'nonisolated' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:21: error: cannot find 'unsafe' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: error: type annotation missing in pattern
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:13: error: 'nonisolated' can not be applied to stored properties
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: warning: stored property 'unsafe' of 'Sendable'-conforming generic class 'Cache' is mutable
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:230:17: warning: stored property 'primitiveLock' of 'Sendable'-conforming class 'PlatformLock' has non-sendable type 'NSLock'
private let primitiveLock = NSLock()
^
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
open class NSLock : NSObject, NSLocking {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:126:12: warning: reference to var 'parserDiagnosticsDisabledForTests' is not concurrency-safe because it involves shared mutable state
if parserDiagnosticsDisabledForTests {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:33: note: var declared here
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[644/662] Compiling SwiftLintCore Stack.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: cannot find 'package' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: cannot find 'nonisolated' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:21: error: cannot find 'unsafe' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: error: type annotation missing in pattern
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:13: error: 'nonisolated' can not be applied to stored properties
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: warning: stored property 'unsafe' of 'Sendable'-conforming generic class 'Cache' is mutable
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:230:17: warning: stored property 'primitiveLock' of 'Sendable'-conforming class 'PlatformLock' has non-sendable type 'NSLock'
private let primitiveLock = NSLock()
^
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
open class NSLock : NSObject, NSLocking {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:126:12: warning: reference to var 'parserDiagnosticsDisabledForTests' is not concurrency-safe because it involves shared mutable state
if parserDiagnosticsDisabledForTests {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:33: note: var declared here
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
[645/662] Compiling SwiftLintCore AccessControlLevel.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: cannot find 'package' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: cannot find 'nonisolated' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:21: error: cannot find 'unsafe' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: error: type annotation missing in pattern
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:13: error: 'nonisolated' can not be applied to stored properties
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: warning: stored property 'unsafe' of 'Sendable'-conforming generic class 'Cache' is mutable
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:230:17: warning: stored property 'primitiveLock' of 'Sendable'-conforming class 'PlatformLock' has non-sendable type 'NSLock'
private let primitiveLock = NSLock()
^
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
open class NSLock : NSObject, NSLocking {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:126:12: warning: reference to var 'parserDiagnosticsDisabledForTests' is not concurrency-safe because it involves shared mutable state
if parserDiagnosticsDisabledForTests {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:33: note: var declared here
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SyntaxKind+SwiftLint.swift:1:17: remark: '@preconcurrency' attribute on module 'SourceKittenFramework' is unused
@preconcurrency import SourceKittenFramework
~~~~~~~~~~~~~~~~^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[646/662] Emitting module SwiftLintCore
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:33: error: variable must be declared private or fileprivate because its type '[RegexCacheKey : NSRegularExpression]' uses a private type
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:8:16: warning: stored property 'regex' of 'Sendable'-conforming struct 'RegularExpression' has non-sendable type 'NSRegularExpression'
public let regex: NSRegularExpression
^
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: cannot find 'package' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: cannot find 'nonisolated' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:21: error: cannot find 'unsafe' in scope
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: error: type annotation missing in pattern
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:13: error: 'nonisolated' can not be applied to stored properties
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^~~~~~~~~~~
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:61:25: warning: stored property 'unsafe' of 'Sendable'-conforming generic class 'Cache' is mutable
private nonisolated(unsafe) var values = [FileCacheKey: T]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:230:17: warning: stored property 'primitiveLock' of 'Sendable'-conforming class 'PlatformLock' has non-sendable type 'NSLock'
private let primitiveLock = NSLock()
^
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
open class NSLock : NSObject, NSLocking {
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:4:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: type annotation missing in pattern
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:25: error: enums must not contain stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:13: error: 'nonisolated' can not be applied to stored properties
package nonisolated(unsafe) static var printDeprecationWarnings = true
^~~~~~~~~~~
[647/662] Compiling SwiftLintCore CodeIndentingRewriter.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[648/662] Compiling SwiftLintCore RegexConfiguration.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[649/662] Compiling SwiftLintCore SeverityLevelsConfiguration.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[650/662] Compiling SwiftLintCore BodyLengthRuleVisitor.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[651/662] Compiling SwiftLintCore CodeBlockVisitor.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[652/662] Compiling SwiftLintCore CommandVisitor.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[653/662] Compiling SwiftLintCore DeclaredIdentifiersTrackingVisitor.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
[654/662] Compiling SwiftLintCore ViolationsSyntaxVisitor.swift
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/NSRegularExpression+SwiftLint.swift:5:1: error: expected expression
private nonisolated(unsafe) var regexCache = [RegexCacheKey: NSRegularExpression]()
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:1: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:8: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:9: error: expressions are not allowed at the top level
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:56:28: error: consecutive statements on a line must be separated by ';'
package nonisolated(unsafe) var parserDiagnosticsDisabledForTests = false
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:24: error: expected 'var' keyword in property declaration
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Extensions/SwiftLintFile+Cache.swift:228:32: error: consecutive declarations on a line must be separated by ';'
private nonisolated(unsafe) let primitiveLock: UnsafeMutablePointer<os_unfair_lock>
^
;
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:24: error: expected 'var' keyword in property declaration
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
var
/host/spi-builder-workspace/Source/SwiftLintCore/Models/Issue.swift:85:32: error: consecutive declarations on a line must be separated by ';'
package nonisolated(unsafe) static var printDeprecationWarnings = true
^
;
error: fatalError
BUILD FAILURE 5.9 linux