Build Information
Failed to build SwiftLint, reference main (e2ef7e
), with Swift 5.9 for Linux on 15 Jun 2025 19:55:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
^
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
^
;
[607/668] Compiling SwiftLintCore Rule.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
^
;
[608/668] Compiling SwiftLintCore RuleConfiguration.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
^
;
[609/668] Compiling SwiftLintCore SwiftSyntaxCorrectableRule.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
^
;
[610/668] Compiling SwiftLintCore SwiftSyntaxRule.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
^
;
[611/668] 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
~~~~~~~~~~~~~~~~^
[612/668] 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
~~~~~~~~~~~~~~~~^
[613/668] 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
~~~~~~~~~~~~~~~~^
[614/668] 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
~~~~~~~~~~~~~~~~^
[615/668] 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
~~~~~~~~~~~~~~~~^
[616/668] 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
~~~~~~~~~~~~~~~~^
[617/668] 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
~~~~~~~~~~~~~~~~^
[618/668] 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
~~~~~~~~~~~~~~~~^
[619/668] 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
^
;
[620/668] 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
^
;
[621/668] 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
^
;
[622/668] 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
^
;
[623/668] 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
^
;
[624/668] 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
^
;
[625/668] 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
^
;
[626/668] 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
^
;
[627/668] 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
~~~~~~~~~~~~~~~~^
[628/668] 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
~~~~~~~~~~~~~~~~^
[629/668] 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
~~~~~~~~~~~~~~~~^
[630/668] 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
~~~~~~~~~~~~~~~~^
[631/668] 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
~~~~~~~~~~~~~~~~^
[632/668] 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
~~~~~~~~~~~~~~~~^
[633/668] 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
~~~~~~~~~~~~~~~~^
[634/668] 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
~~~~~~~~~~~~~~~~^
[635/668] 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
^
[636/668] 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
^
[637/668] 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
^
[638/668] 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
^
[639/668] 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
^
[640/668] 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
^
[641/668] 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
^
[642/668] 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
^
[643/668] Compiling SwiftLintCore Array+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
~~~~~~~~~~~~~~~~^
[644/668] Compiling SwiftLintCore ByteCount+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/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
~~~~~~~~~~~~~~~~^
[645/668] 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
~~~~~~~~~~~~~~~~^
[646/668] 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
~~~~~~~~~~~~~~~~^
[647/668] 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
~~~~~~~~~~~~~~~~^
[648/668] 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
~~~~~~~~~~~~~~~~^
[649/668] 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
~~~~~~~~~~~~~~~~^
[650/668] 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
~~~~~~~~~~~~~~~~^
[651/668] 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
~~~~~~~~~~~~~~~~^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[652/668] 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
^~~~~~~~~~~
[653/668] 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
^
;
[654/668] 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
^
;
[655/668] 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
^
;
[656/668] 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
^
;
[657/668] 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
^
;
[658/668] 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
^
;
[659/668] 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
^
;
[660/668] 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