Skip to content

windows compiling #4854

Closed
Closed

Description

@hgsbart

New Issue Checklist

Describe the bug

try compiling a SwiftLint windows binary as there no windows instructions except compile from source
need help if anyone knows where the swift compiler compiles windows binaries if at all possible for swift project
such as this one can be compiled for windows

Complete output when running SwiftLint, including the stack trace and command used

this is the compilation output on windows

swift build -c release
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
warning: 'sourcekitten': skipping cache due to an error: Error Domain=NSCocoaErrorDomain Code=516 "A file with the same name already exists."
warning: 'swiftytexttable': skipping cache due to an error: Error Domain=NSCocoaErrorDomain Code=516 "A file with the same name already exists."
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git (3.07s)
Fetched https://github.com/jpsim/SourceKitten.git (3.07s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/apple/swift-argument-parser.git (3.18s)
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git (1.05s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetched https://github.com/jpsim/Yams.git (3.71s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetched https://github.com/drmohundro/SWXMLHash.git (2.69s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (4.07s)
Fetched https://github.com/apple/swift-syntax.git (8.86s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.6.0 (1.28s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (1.21s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (6.23s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.5 (2.51s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.34.1 (1.77s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-03-17-a (1.61s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.1 (1.36s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.1 (1.23s)
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-03-17-a
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.34.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.5
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.6.0
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.51.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.51.0/SwiftLintBinary-macos.artifactbundle.zip (2.42s)
[2/2] Compiling plugin SwiftLintPlugin

Environment

  • SwiftLint version (latest)?
  • Installation method used (Source?

Activity

  1. SimplyDanny commented on Apr 3, 2023

    @SimplyDanny
    Collaborator

    Up to now no one seems to be using SwiftLint on Windows. You may try to get it running in a WSL2 environment. Other than that, we'll have to wait for a motivated user to fiddle with this.

  2. added
    discussion
    on Apr 3, 2023
  3. roman-bcny commented on Nov 10, 2025

    @roman-bcny
    Contributor

    hey @SimplyDanny, checking if the current Windows state is as described above or if anything changed, and if you're open to taking Windows-specific contributions including a Windows release workflow so that releases include .exe/.msi files.

    (if everything works) this would be structured similarly to this SwiftFormat workflow we did recently and generate a statically linked .exe: nicklockwood/SwiftFormat#2265
    Hopefully the static linking will soon be converted to the main sdk and shipped in an upcoming swift release https://forums.swift.org/t/upcoming-changes-to-windows-swift-sdks/81313/43

    Let us know if you're anticipating any issues with this or have preferences on the structure (eg installers)
    cc @compnerd

  4. compnerd commented on Nov 10, 2025

    @compnerd
    Contributor

    See #5030

  5. roman-bcny commented on Nov 10, 2025

    @roman-bcny
    Contributor

    ah thanks I only searched issues, should've checked open PRs!

  6. SimplyDanny commented on Nov 11, 2025

    @SimplyDanny
    Collaborator

    Some time has passed and dependencies progressed in this regard. In fact, with @compnerd's changes in #5030 everything builds, but some test fail on Windows. I guess, it's because the replacement implementations are not fully correct yet.

    I'd be happy to support in moving this forward. As a first step, we should rebase and update #5030. Ideally, we could bring it into a state that builds. Even better would be all tests passing in a basic GitHub Actions workflow.

    The next and final step would be building release artifacts and their integration into the release workflows.

    What do you guys think? I appreciate your help!

  7. roman-bcny commented on Nov 11, 2025

    @roman-bcny
    Contributor

    @SimplyDanny ha nice, so we shouldn't need the SourceKitten patch any more? (unless that's the reason tests are failing I suppose...) I'll have a look to see if I can build and figure out the test failures, but if there's not too many of those it's already very encouraging!

  8. compnerd commented on Nov 12, 2025

    @compnerd
    Contributor

    I've rebased the original PR; seems that SourceKitten is still referenced?

  9. compnerd commented on Nov 12, 2025

    @compnerd
    Contributor
    PS S:\SourceCache\realm\SwiftLint> swift test --parallel
    Building for debugging...
    [5/5] Write swift-version--6377052CE5648841.txt
    Build complete! (1.50s)
    [1024/1024] Testing IntegrationTests.IntegrationTests/testSwiftLintAutoCorrects
    Test Suite 'Selected tests' started at 2025-11-11 22:43:13.480
    Test Suite 'BaselineTests' started at 2025-11-11 22:43:13.483
    Test Case 'BaselineTests.testCompare' started at 2025-11-11 22:43:13.485
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:149: error: BaselineTests.testCompare : XCTAssertEqual failed: ("[C:\Users\compnerd\AppData\Local\Temp/C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:4:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init), C:\Users\compnerd\AppData\Local\Temp/C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:6:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo), C:\Users\compnerd\AppData\Local\Temp/C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:8:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:4:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init), C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:6:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo), C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:8:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:150: error: BaselineTests.testCompare : XCTAssertEqual failed: ("[C:\Users\compnerd\AppData\Local\Temp/C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:12:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo), C:\Users\compnerd\AppData\Local\Temp/C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:14:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace), C:\Users\compnerd\AppData\Local\Temp/C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:16:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:12:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo), C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:14:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace), C:/Users/compnerd/AppData/Local/Temp/4B99E2BF-9CF7-4FEA-8F50-25DFA113C707.swift:16:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") -
    Test Case 'BaselineTests.testCompare' failed (0.06 seconds)
    Test Suite 'BaselineTests' failed at 2025-11-11 22:43:13.545
             Executed 1 test, with 2 failures (0 unexpected) in 0.06 (0.06) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:13.545
             Executed 1 test, with 2 failures (0 unexpected) in 0.06 (0.06) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:13.470
    Test Suite 'BaselineTests' started at 2025-11-11 22:43:13.474
    Test Case 'BaselineTests.testNewViolation' started at 2025-11-11 22:43:13.476
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testNewViolation : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/C550B4E8-EBBB-4984-982E-A400A47CB8F4.swift:6:1: warning: Empty Collection Literal Violation: Prefer checking `isEmpty` over comparing collection to an empty array or dictionary literal (empty_collection_literal)]") -
    Test Case 'BaselineTests.testNewViolation' failed (0.073 seconds)
    Test Suite 'BaselineTests' failed at 2025-11-11 22:43:13.548
             Executed 1 test, with 1 failure (0 unexpected) in 0.073 (0.073) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:13.549
             Executed 1 test, with 1 failure (0 unexpected) in 0.073 (0.073) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:13.484
    Test Suite 'BaselineTests' started at 2025-11-11 22:43:13.488
    Test Case 'BaselineTests.testViolationDetection' started at 2025-11-11 22:43:13.489
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/F756869C-5268-4868-BBAE-4D15C9FEE0FB.swift:2:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/698B9349-DDE3-4543-86E5-1F30681DEADF.swift:4:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/99798212-1082-4E84-8D72-13C72E9146BB.swift:6:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/45847B0E-661A-4FA0-AA55-B5A180E1BCFF.swift:8:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/167E2D20-AB8A-4751-99EA-13A56F3D3D96.swift:10:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/8A09A46C-43D7-491A-9FCF-FCE7E519A49A.swift:12:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/EA4B9BC6-B790-4AD1-902D-38A51FBC18C8.swift:14:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/1C1FF145-D372-4406-A699-DD368BA7614B.swift:16:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/53E8BA1C-9BF0-40AA-93C4-3AD23BA5D08C.swift:18:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/96B4C295-2098-4561-B188-CBA34492FE27.swift:20:1: warning: Array Init Violation: Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array (array_init)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/6DD6AC4C-8CF7-41C0-91C5-501CE0C8228B.swift:2:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/7BBBF97C-F980-4A9B-A873-4E986ECB4150.swift:4:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/2C977B39-05BA-42C2-BE8B-595C0A90CDB6.swift:6:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/C6186BBF-C5F0-4CB9-91C7-BAF7DB41DBC1.swift:8:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/8A08658A-6252-4188-A573-0ED5F8D57FAD.swift:10:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/A12BE986-AF61-4395-95CF-503ABD18C0F0.swift:12:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/BEF179F6-9CA6-4F4E-8FE2-2922395BEF6E.swift:14:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/5F155D1B-A52B-452F-ADA5-45391A7737E6.swift:16:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/A58F2F47-F6D5-431E-80C2-6247D09E3A63.swift:18:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/42CD9319-5693-4411-A6F6-5378705095B2.swift:20:1: warning: Block Based KVO Violation: Prefer the new block based KVO API with keypaths when using Swift 3.2 or later (block_based_kvo)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/0F817A54-D962-467B-A92F-A168F3F13E29.swift:2:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/63BA8424-7BC5-4261-90A4-E6D0CA12ADED.swift:4:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/6D1B38B0-0AE8-4A41-9B59-F60EA2F81969.swift:6:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/EBBEA3A4-4F44-4787-AE23-A14F4DD594AB.swift:8:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/9430D56B-33F0-498D-9F66-B74E3FD43AD4.swift:10:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/8D091C31-BC05-4177-A8FC-FE009F3F8753.swift:12:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/5B4F40E4-286B-43E0-9E87-4C49184CF217.swift:14:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/018F46A1-520C-4B9B-9F8D-D8BFF9DBFF27.swift:16:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/AA2481BF-8EA3-4416-B033-9B70876DD4D8.swift:18:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/0B94DC67-92E6-4A87-A2FE-1F64F917D4A1.swift:20:1: warning: Closing Brace Spacing Violation: Closing brace with closing parenthesis should not have any whitespaces in the middle (closing_brace)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/107F4D48-6737-47E7-8163-127B0F52C579.swift:2:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/F6B33884-5ED0-44E6-92E0-2935F712C036.swift:4:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/1E085556-7A9C-481C-8D56-561D6444649D.swift:6:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/0105BEC4-D4AC-4A58-B2DC-DE8CB4CB5FE5.swift:8:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/267F13B1-1980-4535-A184-D0AD51F3E9B6.swift:10:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/2C630B62-1165-48FE-8A00-2EEE43383D9F.swift:12:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/5B42EDDA-5419-423A-B7F6-C76773299540.swift:14:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/76703096-2C5F-48B9-BDCC-C8BC2620ABDA.swift:16:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/2F5CE47F-9447-4FA8-84AD-FED4F3B1ECAC.swift:18:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") -
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\BaselineTests.swift:174: error: BaselineTests.testViolationDetection : XCTAssertEqual failed: ("[]") is not equal to ("[C:/Users/compnerd/AppData/Local/Temp/E2A06B40-89F6-4887-9A65-035A25E43E3A.swift:20:1: warning: Direct Return Violation: Directly return the expression instead of assigning it to a variable first (direct_return)]") -
    Test Case 'BaselineTests.testViolationDetection' failed (0.328 seconds)
    Test Suite 'BaselineTests' failed at 2025-11-11 22:43:13.818
             Executed 1 test, with 40 failures (0 unexpected) in 0.328 (0.328) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:13.818
             Executed 1 test, with 40 failures (0 unexpected) in 0.328 (0.328) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:15.704
    Test Suite 'ConfigurationTests' started at 2025-11-11 22:43:15.708
    Test Case 'ConfigurationTests.testExcludeByPrefixGlobExcludePaths' started at 2025-11-11 22:43:15.709
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\ConfigurationTests.swift:584: error: ConfigurationTests.testExcludeByPrefixGlobExcludePaths : XCTAssertEqual failed: ("["Level1.swift", "Level2.swift", "Level3.swift"]") is not equal to ("["Level1.swift"]") -
    Test Case 'ConfigurationTests.testExcludeByPrefixGlobExcludePaths' failed (0.064 seconds)
    Test Suite 'ConfigurationTests' failed at 2025-11-11 22:43:15.773
             Executed 1 test, with 1 failure (0 unexpected) in 0.064 (0.064) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:15.773
             Executed 1 test, with 1 failure (0 unexpected) in 0.064 (0.064) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:15.862
    Test Suite 'ConfigurationTests' started at 2025-11-11 22:43:15.870
    Test Case 'ConfigurationTests.testGlobExcludePaths' started at 2025-11-11 22:43:15.870
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\ConfigurationTests.swift:408: error: ConfigurationTests.testGlobExcludePaths : XCTAssertEqual failed: ("["S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Level1/Level2/Level3/Level3.swift"]") is not equal to ("[]") -
    Test Case 'ConfigurationTests.testGlobExcludePaths' failed (0.086 seconds)
    Test Suite 'ConfigurationTests' failed at 2025-11-11 22:43:15.956
             Executed 1 test, with 1 failure (0 unexpected) in 0.086 (0.086) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:15.956
             Executed 1 test, with 1 failure (0 unexpected) in 0.086 (0.086) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:15.923
    Test Suite 'ConfigurationTests' started at 2025-11-11 22:43:15.927
    Test Case 'ConfigurationTests.testGlobIncludePaths' started at 2025-11-11 22:43:15.928
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\ConfigurationTests.swift:395: error: ConfigurationTests.testGlobIncludePaths : XCTAssertEqual failed: ("["Level3.swift", "Level2.swift"]") is not equal to ("[]") -
    Test Case 'ConfigurationTests.testGlobIncludePaths' failed (0.522 seconds)
    Test Suite 'ConfigurationTests' failed at 2025-11-11 22:43:16.449
             Executed 1 test, with 1 failure (0 unexpected) in 0.522 (0.522) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:16.449
             Executed 1 test, with 1 failure (0 unexpected) in 0.522 (0.522) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:17.765
    Test Suite 'GlobTests' started at 2025-11-11 22:43:17.769
    Test Case 'GlobTests.testGlobstarSupport' started at 2025-11-11 22:43:17.770
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\GlobTests.swift:85: error: GlobTests.testGlobstarSupport : XCTAssertEqual failed: ("["S:/SourceCache/realm/SwiftLint/Directory.swift", "S:/SourceCache/realm/SwiftLint/DirectoryLevel1.swift", "S:/SourceCache/realm/SwiftLint/Level0.swift", "S:/SourceCache/realm/SwiftLint/Level1.swift", "S:/SourceCache/realm/SwiftLint/Level2.swift", "S:/SourceCache/realm/SwiftLint/Level3.swift", "S:/SourceCache/realm/SwiftLint/Main.swift", "S:/SourceCache/realm/SwiftLint/Sub.swift"]") is not equal to ("["S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Directory.swift", "S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Directory.swift/DirectoryLevel1.swift", "S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Level0.swift", "S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Level1/Level1.swift", "S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Level1/Level2/Level2.swift", "S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Level1/Level2/Level3/Level3.swift", "S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/NestedConfig/Test/Main.swift", "S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/NestedConfig/Test/Sub/Sub.swift"]") -
    Test Case 'GlobTests.testGlobstarSupport' failed (0.089 seconds)
    Test Suite 'GlobTests' failed at 2025-11-11 22:43:17.859
             Executed 1 test, with 1 failure (0 unexpected) in 0.089 (0.089) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:17.859
             Executed 1 test, with 1 failure (0 unexpected) in 0.089 (0.089) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:17.852
    Test Suite 'GlobTests' started at 2025-11-11 22:43:17.856
    Test Case 'GlobTests.testMatchesCharacterInRange' started at 2025-11-11 22:43:17.857
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\GlobTests.swift:47: error: GlobTests.testMatchesCharacterInRange : XCTAssertEqual failed: ("[]") is not equal to ("["S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Level0.swift"]") -
    Test Case 'GlobTests.testMatchesCharacterInRange' failed (0.012 seconds)
    Test Suite 'GlobTests' failed at 2025-11-11 22:43:17.869
             Executed 1 test, with 1 failure (0 unexpected) in 0.012 (0.012) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:17.869
             Executed 1 test, with 1 failure (0 unexpected) in 0.012 (0.012) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:17.888
    Test Suite 'GlobTests' started at 2025-11-11 22:43:17.893
    Test Case 'GlobTests.testMatchesFiles' started at 2025-11-11 22:43:17.894
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\GlobTests.swift:27: error: GlobTests.testMatchesFiles : XCTAssertEqual failed: ("["S:/SourceCache/realm/SwiftLint/Level0.swift"]") is not equal to ("["S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Level0.swift"]") -
    Test Case 'GlobTests.testMatchesFiles' failed (0.027 seconds)
    Test Suite 'GlobTests' failed at 2025-11-11 22:43:17.921
             Executed 1 test, with 1 failure (0 unexpected) in 0.027 (0.027) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:17.921
             Executed 1 test, with 1 failure (0 unexpected) in 0.027 (0.027) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:17.967
    Test Suite 'GlobTests' started at 2025-11-11 22:43:17.973
    Test Case 'GlobTests.testMatchesMultipleFiles' started at 2025-11-11 22:43:17.974
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\GlobTests.swift:62: error: GlobTests.testMatchesMultipleFiles : XCTAssertEqual failed: ("["S:/SourceCache/realm/SwiftLint/Directory.swift", "S:/SourceCache/realm/SwiftLint/Level0.swift"]") is not equal to ("["S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Directory.swift", "S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Level0.swift"]") -
    Test Case 'GlobTests.testMatchesMultipleFiles' failed (0.017 seconds)
    Test Suite 'GlobTests' failed at 2025-11-11 22:43:17.991
             Executed 1 test, with 1 failure (0 unexpected) in 0.017 (0.017) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:17.991
             Executed 1 test, with 1 failure (0 unexpected) in 0.017 (0.017) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:18.005
    Test Suite 'GlobTests' started at 2025-11-11 22:43:18.009
    Test Case 'GlobTests.testMatchesNestedDirectory' started at 2025-11-11 22:43:18.010
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\GlobTests.swift:67: error: GlobTests.testMatchesNestedDirectory : XCTAssertEqual failed: ("["S:/SourceCache/realm/SwiftLint/Level1.swift"]") is not equal to ("["S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Level1/Level1.swift"]") -
    Test Case 'GlobTests.testMatchesNestedDirectory' failed (0.022 seconds)
    Test Suite 'GlobTests' failed at 2025-11-11 22:43:18.032
             Executed 1 test, with 1 failure (0 unexpected) in 0.022 (0.022) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:18.032
             Executed 1 test, with 1 failure (0 unexpected) in 0.022 (0.022) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:18.046
    Test Suite 'GlobTests' started at 2025-11-11 22:43:18.054
    Test Case 'GlobTests.testMatchesOneCharacterInBracket' started at 2025-11-11 22:43:18.055
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\GlobTests.swift:37: error: GlobTests.testMatchesOneCharacterInBracket : XCTAssertEqual failed: ("[]") is not equal to ("["S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Level0.swift"]") -
    Test Case 'GlobTests.testMatchesOneCharacterInBracket' failed (0.018 seconds)
    Test Suite 'GlobTests' failed at 2025-11-11 22:43:18.073
             Executed 1 test, with 1 failure (0 unexpected) in 0.018 (0.018) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:18.073
             Executed 1 test, with 1 failure (0 unexpected) in 0.018 (0.018) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:18.091
    Test Suite 'GlobTests' started at 2025-11-11 22:43:18.096
    Test Case 'GlobTests.testMatchesSingleCharacter' started at 2025-11-11 22:43:18.096
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\GlobTests.swift:32: error: GlobTests.testMatchesSingleCharacter : XCTAssertEqual failed: ("["S:/SourceCache/realm/SwiftLint/Level0.swift"]") is not equal to ("["S:/SourceCache/realm/SwiftLint/Tests/FileSystemAccessTests/Resources/ProjectMock/Level0.swift"]") -
    Test Case 'GlobTests.testMatchesSingleCharacter' failed (0.019 seconds)
    Test Suite 'GlobTests' failed at 2025-11-11 22:43:18.115
             Executed 1 test, with 1 failure (0 unexpected) in 0.019 (0.019) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:18.115
             Executed 1 test, with 1 failure (0 unexpected) in 0.019 (0.019) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:18.380
    Test Suite 'ReporterTests' started at 2025-11-11 22:43:18.383
    Test Case 'ReporterTests.testEmojiReporter' started at 2025-11-11 22:43:18.384
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\ReporterTests.swift:57: error: ReporterTests.testEmojiReporter : XCTAssertEqual failed: ("Other
    ⛔️ Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
    filename
    ⛔️ Line 1: Violation Reason 2 (line_length)
    ⚠️ Line 1: Violation Reason 1 (line_length)
    S:\SourceCache\realm\SwiftLint/path/file.swift
    ⛔️ Line 1: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)") is not equal to ("Other
    ⛔️ Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
    S:\SourceCache\realm\SwiftLint/path/file.swift
    ⛔️ Line 1: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int> (syntactic_sugar)
    filename
    ⛔️ Line 1: Violation Reason 2 (line_length)
    ⚠️ Line 1: Violation Reason 1 (line_length)") -
    Test Case 'ReporterTests.testEmojiReporter' failed (0.041 seconds)
    Test Suite 'ReporterTests' failed at 2025-11-11 22:43:18.425
             Executed 1 test, with 1 failure (0 unexpected) in 0.041 (0.041) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:18.425
             Executed 1 test, with 1 failure (0 unexpected) in 0.041 (0.041) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:18.362
    Test Suite 'ReporterTests' started at 2025-11-11 22:43:18.376
    Test Case 'ReporterTests.testCheckstyleReporter' started at 2025-11-11 22:43:18.376
    S:\SourceCache\realm\SwiftLint\Tests\FileSystemAccessTests\ReporterTests.swift:105: error: ReporterTests.testCheckstyleReporter : XCTAssertEqual failed: ("<?xml version="1.0" encoding="utf-8"?>
    <checkstyle version="4.3">
            <file name="&lt;nopath&gt;">
                    <error line="0" column="0" severity="error" message="Colons should be next to the identifier when specifying a type and next to the key in dictionary literals" source="swiftlint.rules.colon"/>
            </file>
            <file name="filename">
                    <error line="1" column="1" severity="warning" message="Violation Reason 1" source="swiftlint.rules.line_length"/>
                    <error line="1" column="0" severity="error" message="Violation Reason 2" source="swiftlint.rules.line_length"/>
            </file>
            <file name="S:\SourceCache\realm\SwiftLint/path/file.swift">
                    <error line="1" column="2" severity="error" message="Shorthand syntactic sugar should be used, i.e. [Int] instead of Array&lt;Int&gt;" source="swiftlint.rules.syntactic_sugar"/>
            </file>
    </checkstyle>") is not equal to ("<?xml version="1.0" encoding="utf-8"?>
    <checkstyle version="4.3">
            <file name="&lt;nopath&gt;">
                    <error line="0" column="0" severity="error" message="Colons should be next to the identifier when specifying a type and next to the key in dictionary literals" source="swiftlint.rules.colon"/>
            </file>
            <file name="S:\SourceCache\realm\SwiftLint/path/file.swift">
                    <error line="1" column="2" severity="error" message="Shorthand syntactic sugar should be used, i.e. [Int] instead of Array&lt;Int&gt;" source="swiftlint.rules.syntactic_sugar"/>
            </file>
            <file name="filename">
                    <error line="1" column="1" severity="warning" message="Violation Reason 1" source="swiftlint.rules.line_length"/>
                    <error line="1" column="0" severity="error" message="Violation Reason 2" source="swiftlint.rules.line_length"/>
            </file>
    </checkstyle>") -
    Test Case 'ReporterTests.testCheckstyleReporter' failed (0.049 seconds)
    Test Suite 'ReporterTests' failed at 2025-11-11 22:43:18.426
             Executed 1 test, with 1 failure (0 unexpected) in 0.049 (0.049) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:18.426
             Executed 1 test, with 1 failure (0 unexpected) in 0.049 (0.049) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:43:18.575
    Test Suite 'ReporterTests' started at 2025-11-11 22:43:18.579
    Test Case 'ReporterTests.testJSONReporter' started at 2025-11-11 22:43:18.580
    <EXPR>:0: error: ReporterTests.testJSONReporter : threw error "Error Domain=NSCocoaErrorDomain Code=3840 "The data is not in the correct format."UserInfo={NSDebugDescription=Invalid escape sequence around character 432.}"
    Test Case 'ReporterTests.testJSONReporter' failed (0.054 seconds)
    Test Suite 'ReporterTests' failed at 2025-11-11 22:43:18.634
             Executed 1 test, with 1 failure (1 unexpected) in 0.054 (0.054) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:43:18.634
             Executed 1 test, with 1 failure (1 unexpected) in 0.054 (0.054) seconds
    
    error: Unable to cache remote config from "https://www.mock.com". Also didn't found cached version to fallback to.
    Could not read configuration: file Configuration.swift, line 289
    Test Suite 'Selected tests' started at 2025-11-11 22:43:17.374
    Test Suite 'ConfigurationTests' started at 2025-11-11 22:43:17.378
    Test Case 'ConfigurationTests.testValidRemoteChildConfig' started at 2025-11-11 22:43:17.378
    
    error: Unable to cache remote config from "https://www.mock.com". Also didn't found cached version to fallback to.
    Could not read configuration: file Configuration.swift, line 289
    Test Suite 'Selected tests' started at 2025-11-11 22:43:17.498
    Test Suite 'ConfigurationTests' started at 2025-11-11 22:43:17.504
    Test Case 'ConfigurationTests.testValidRemoteParentConfig' started at 2025-11-11 22:43:17.504
    
    C:\Users\compnerd\AppData\Local\Temp\651012DC-BB83-4A74-A0C9-A370271C9AC3.swift:2:6: error: Objective-C interoperability is disabled
        @objc func foo() {
        ~^~~~~
    
    C:\Users\compnerd\AppData\Local\Temp\37763F3E-F256-442D-BD4A-25B4041A46C8.swift:1:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\14080217-5AE2-49E3-9F7D-784F69424BD4.swift:1:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\A48232D9-C6C5-41B2-BE13-170204E9F45F.swift:2:8: error: type 'ResponseModel' does not conform to protocol 'Decodable'
    struct ResponseModel: Codable {
           ^
    Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
    init(from decoder: any Decoder) throws}
    ^
    C:\Users\compnerd\AppData\Local\Temp\A48232D9-C6C5-41B2-BE13-170204E9F45F.swift:5:10: note: cannot automatically synthesize 'Decodable' because 'CodingKeys' does not conform to CodingKey
        enum CodingKeys: String {
             ^
    C:\Users\compnerd\AppData\Local\Temp\A48232D9-C6C5-41B2-BE13-170204E9F45F.swift:2:8: error: type 'ResponseModel' does not conform to protocol 'Encodable'
    struct ResponseModel: Codable {
           ^
    Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
    func encode(to encoder: any Encoder) throws}
         ^
    C:\Users\compnerd\AppData\Local\Temp\A48232D9-C6C5-41B2-BE13-170204E9F45F.swift:5:10: note: cannot automatically synthesize 'Encodable' because 'CodingKeys' does not conform to CodingKey
        enum CodingKeys: String {
             ^
    C:\Users\compnerd\AppData\Local\Temp\BB265C0B-2D41-40E8-A997-E29EDCCDAE25.swift:1:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\79BD08F7-6042-4595-B8D9-706C69026606.swift:3:6: error: Objective-C interoperability is disabled
        @objc func foo() {
        ~^~~~~
    
    C:\Users\compnerd\AppData\Local\Temp\F897F0C9-E324-43A5-BD17-A6001A0200C5.swift:2:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\2DC9F3AE-36A5-46CA-84F0-42E31E1D299B.swift:2:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\F75DA3DC-9B58-42AB-804E-599A7090080F.swift:3:8: error: type 'ResponseModel' does not conform to protocol 'Decodable'
    struct ResponseModel: Codable {
           ^
    Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
    init(from decoder: any Decoder) throws}
    ^
    C:\Users\compnerd\AppData\Local\Temp\F75DA3DC-9B58-42AB-804E-599A7090080F.swift:6:10: note: cannot automatically synthesize 'Decodable' because 'CodingKeys' does not conform to CodingKey
        enum CodingKeys: String {
             ^
    C:\Users\compnerd\AppData\Local\Temp\F75DA3DC-9B58-42AB-804E-599A7090080F.swift:3:8: error: type 'ResponseModel' does not conform to protocol 'Encodable'
    struct ResponseModel: Codable {
           ^
    Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
    func encode(to encoder: any Encoder) throws}
         ^
    C:\Users\compnerd\AppData\Local\Temp\F75DA3DC-9B58-42AB-804E-599A7090080F.swift:6:10: note: cannot automatically synthesize 'Encodable' because 'CodingKeys' does not conform to CodingKey
        enum CodingKeys: String {
             ^
    C:\Users\compnerd\AppData\Local\Temp\4A6DAD37-0574-4E5E-A6B0-CD11EB6AF2CF.swift:2:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\D65B88FE-DBD8-44BC-8E8F-0200075E9624.swift:3:6: error: Objective-C interoperability is disabled
        @objc func foo() {
        ~^~~~~
    
    C:\Users\compnerd\AppData\Local\Temp\8B533CB1-A436-40F4-8047-53575A98381F.swift:2:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\B899909D-88BB-4DC2-B049-06185EA0FAC9.swift:2:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\CFA1A15F-E5A0-4D6E-BEC3-6660429E2B98.swift:3:8: error: type 'ResponseModel' does not conform to protocol 'Decodable'
    struct ResponseModel: Codable {
           ^
    Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
    init(from decoder: any Decoder) throws}
    ^
    C:\Users\compnerd\AppData\Local\Temp\CFA1A15F-E5A0-4D6E-BEC3-6660429E2B98.swift:6:10: note: cannot automatically synthesize 'Decodable' because 'CodingKeys' does not conform to CodingKey
        enum CodingKeys: String {
             ^
    C:\Users\compnerd\AppData\Local\Temp\CFA1A15F-E5A0-4D6E-BEC3-6660429E2B98.swift:3:8: error: type 'ResponseModel' does not conform to protocol 'Encodable'
    struct ResponseModel: Codable {
           ^
    Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
    func encode(to encoder: any Encoder) throws}
         ^
    C:\Users\compnerd\AppData\Local\Temp\CFA1A15F-E5A0-4D6E-BEC3-6660429E2B98.swift:6:10: note: cannot automatically synthesize 'Encodable' because 'CodingKeys' does not conform to CodingKey
        enum CodingKeys: String {
             ^
    C:\Users\compnerd\AppData\Local\Temp\47279E15-2179-4810-B335-399631E0FA26.swift:2:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\84E506B4-9A3F-4F05-970F-5CE6B5470CF3.swift:1:1: warning: string literal is unused [#no-usage]
    "let kConstant = 0"
    ^~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\7FB78BCF-43D9-4C9F-AB4A-01B6D237DC43.swift:1:129: error: consecutive statements on a line must be separated by ';'
    "struct Item {}\nstruct ResponseModel: Codable {\n    let items: [Item]\n\n    enum CodingKeys: String {\n        case items = "ResponseItems"\n    }\n}"
    
            ^
    
            ;
    C:\Users\compnerd\AppData\Local\Temp\7FB78BCF-43D9-4C9F-AB4A-01B6D237DC43.swift:1:142: error: consecutive statements on a line must be separated by ';'
    "struct Item {}\nstruct ResponseModel: Codable {\n    let items: [Item]\n\n    enum CodingKeys: String {\n        case items = "ResponseItems"\n    }\n}"
    
                         ^
    
                         ;
    C:\Users\compnerd\AppData\Local\Temp\7FB78BCF-43D9-4C9F-AB4A-01B6D237DC43.swift:1:1: warning: string literal is unused [#no-usage]
    "struct Item {}\nstruct ResponseModel: Codable {\n    let items: [Item]\n\n    enum CodingKeys: String {\n        case items = "ResponseItems"\n    }\n}"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\7FB78BCF-43D9-4C9F-AB4A-01B6D237DC43.swift:1:129: error: cannot find 'ResponseItems' in scope
    "struct Item {}\nstruct ResponseModel: Codable {\n    let items: [Item]\n\n    enum CodingKeys: String {\n        case items = "ResponseItems"\n    }\n}"
    
            ^~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\7FB78BCF-43D9-4C9F-AB4A-01B6D237DC43.swift:1:142: warning: string literal is unused [#no-usage]
    "struct Item {}\nstruct ResponseModel: Codable {\n    let items: [Item]\n\n    enum CodingKeys: String {\n        case items = "ResponseItems"\n    }\n}"
    
                         ^~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\10D9C9CF-03DF-4D05-9552-4A57C979C5D7.swift:1:1: warning: string literal is unused [#no-usage]
    "class ResponseModel {\n    func foo() {\n    }\n}"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\C077090F-340A-4945-9ECF-8CC7BA79A371.swift:1:1: warning: string literal is unused [#no-usage]
    "public func foo() {}"
    ^~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\495A5C47-4F17-4BF1-B6FA-7AF35ADC1171.swift:1:1: warning: string literal is unused [#no-usage]
    "protocol Foo {\n    func bar1()\n}\n\nextension Foo {\n    func bar1() {}\n    func bar2() {}\n}\n\nstruct MyStruct: Foo {}\n_ = MyStruct()"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\0727AD46-9A4F-4A5D-B11F-85373736490D.swift:1:1: warning: string literal is unused [#no-usage]
    "import XCTest\nclass MyTests: NSObject {\n    func testExample() {}\n}"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\1ECE5279-4ACB-4E05-BA25-509AE77E859A.swift:1:1: warning: string literal is unused [#no-usage]
    "enum Component {\n  case string(StaticString)\n  indirect case array([Component])\n  indirect case optional(Component?)\n}\n\nstruct ComponentBuilder {\n  func buildExpression(_ string: StaticString) -> Component {\n    return .string(string)\n  }\n\n  func buildBlock(_ components: Component...) -> Component {\n    return .array(components)\n  }\n\n  func buildIf(_ value: Component?) -> Component {\n    return .optional(value)\n  }\n\n  static func buildABear(_ components: Component...) -> Component {\n    return .array(components)\n  }\n}\n\n_ = ComponentBuilder()"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\9E782BEF-B074-46BE-99EB-58054CA449D2.swift:1:1: warning: string literal is unused [#no-usage]
    "protocol Foo {}\nextension Foo {}"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\B8755E13-494C-4306-B428-B198C3541D49.swift:1:1: warning: string literal is unused [#no-usage]
    "class C<T> {}\nextension C<Int> {}"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\2288309F-D1CD-4D0B-A997-646CED33291A.swift:1:1: warning: string literal is unused [#no-usage]
    "protocol Foo {}\nactor FooImpl {}\nextension FooImpl {}\nextension FooImpl: Foo {}"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\DF7F40D7-712E-4E73-9A7A-A79C9A840922.swift:1:1: warning: string literal is unused [#no-usage]
    "protocol Foo {}\nenum FooImpl {}\nextension FooImpl {}\nextension FooImpl: Foo {}"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\50DB0F73-2B25-46A9-B471-2BEB698012C3.swift:1:1: warning: string literal is unused [#no-usage]
    "protocol Foo {}\nclass FooImpl {}\nextension FooImpl {}\nextension FooImpl: Foo {}"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\8992FF85-7065-42FE-B921-12D0FBCA8AE7.swift:1:1: warning: string literal is unused [#no-usage]
    "protocol Foo {}\nstruct FooImpl {}\nextension FooImpl {}\nextension FooImpl: Foo {}"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\0ED9346C-128F-437D-9509-5B18BBFE324A.swift:3:8: error: type 'ResponseModel' does not conform to protocol 'Decodable'
    struct ResponseModel: Codable {
           ^
    Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
    init(from decoder: any Decoder) throws}
    ^
    C:\Users\compnerd\AppData\Local\Temp\0ED9346C-128F-437D-9509-5B18BBFE324A.swift:6:10: note: cannot automatically synthesize 'Decodable' because 'CodingKeys' does not conform to CodingKey
        enum CodingKeys: String {
             ^
    C:\Users\compnerd\AppData\Local\Temp\0ED9346C-128F-437D-9509-5B18BBFE324A.swift:3:8: error: type 'ResponseModel' does not conform to protocol 'Encodable'
    struct ResponseModel: Codable {
           ^
    Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
    func encode(to encoder: any Encoder) throws}
         ^
    C:\Users\compnerd\AppData\Local\Temp\0ED9346C-128F-437D-9509-5B18BBFE324A.swift:6:10: note: cannot automatically synthesize 'Encodable' because 'CodingKeys' does not conform to CodingKey
        enum CodingKeys: String {
             ^
    C:\Users\compnerd\AppData\Local\Temp\973C1891-9D97-4E62-B68E-2477418EB351.swift:2:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\7C2A7CF8-ADD1-41D6-A001-B7DB8638E60A.swift:2:6: error: Objective-C interoperability is disabled
        @objc func foo() {
        ~^~~~~
    
    C:\Users\compnerd\AppData\Local\Temp\430C4129-E1E8-458F-B7C3-80E135A4588D.swift:3:6: error: Objective-C interoperability is disabled
        @objc func foo() {
        ~^~~~~
    
    C:\Users\compnerd\AppData\Local\Temp\FC18B58E-061F-4169-9BBC-DFBE56B9453A.swift:1:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\8D895C58-D1EF-4106-A634-EFC75588E7AB.swift:2:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\12F77205-1DB3-4518-B42F-FF0A04349A9E.swift:1:8: error: no such module 'XCTest'
    import XCTest
           ^
    C:\Users\compnerd\AppData\Local\Temp\60A8C5B7-1325-4D88-8211-DEFD4674F4F6.swift:2:8: error: no such module 'XCTest'
    import XCTest
           ^
    Test Suite 'Selected tests' started at 2025-11-11 22:44:41.494
    Test Suite 'UnusedDeclarationRuleGeneratedTests' started at 2025-11-11 22:44:41.498
    Test Case 'UnusedDeclarationRuleGeneratedTests.testWithDefaultConfiguration' started at 2025-11-11 22:44:41.499
    S:\SourceCache\realm\SwiftLint\Source\SwiftLintBuiltInRules\Rules\Lint\UnusedDeclarationRuleExamples.swift:60: error: UnusedDeclarationRuleGeneratedTests.testWithDefaultConfiguration : failed - nonTriggeringExample violated:
    

    import XCTest
    class MyTests: XCTestCase {
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    func testExample() {}
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    }

    S:\SourceCache\realm\SwiftLint\Source\SwiftLintBuiltInRules\Rules\Lint\UnusedDeclarationRuleExamples.swift:66: error: UnusedDeclarationRuleGeneratedTests.testWithDefaultConfiguration : failed - nonTriggeringExample violated:
    

    import XCTest
    open class BestTestCase: XCTestCase {}
    class MyTests: BestTestCase {
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    func testExample() {}
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    }

    S:\SourceCache\realm\SwiftLint\Source\SwiftLintBuiltInRules\Rules\Lint\UnusedDeclarationRuleExamples.swift:60: error: UnusedDeclarationRuleGeneratedTests.testWithDefaultConfiguration : failed - nonTriggeringExample violated:
    

    /* 👨‍👩‍👧‍👦👨‍👩‍👧‍👦👨‍👩‍👧‍👦 */
    import XCTest
    class MyTests: XCTestCase {
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    func testExample() {}
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    }

    S:\SourceCache\realm\SwiftLint\Source\SwiftLintBuiltInRules\Rules\Lint\UnusedDeclarationRuleExamples.swift:66: error: UnusedDeclarationRuleGeneratedTests.testWithDefaultConfiguration : failed - nonTriggeringExample violated:
    

    /* 👨‍👩‍👧‍👦👨‍👩‍👧‍👦👨‍👩‍👧‍👦 */
    import XCTest
    open class BestTestCase: XCTestCase {}
    class MyTests: BestTestCase {
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    func testExample() {}
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    }

    S:\SourceCache\realm\SwiftLint\Source\SwiftLintBuiltInRules\Rules\Lint\UnusedDeclarationRuleExamples.swift:60: error: UnusedDeclarationRuleGeneratedTests.testWithDefaultConfiguration : failed - nonTriggeringExample violated:
    

    #!/usr/bin/env swift
    import XCTest
    class MyTests: XCTestCase {
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    func testExample() {}
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    }

    S:\SourceCache\realm\SwiftLint\Source\SwiftLintBuiltInRules\Rules\Lint\UnusedDeclarationRuleExamples.swift:66: error: UnusedDeclarationRuleGeneratedTests.testWithDefaultConfiguration : failed - nonTriggeringExample violated:
    

    #!/usr/bin/env swift
    import XCTest
    open class BestTestCase: XCTestCase {}
    class MyTests: BestTestCase {
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    func testExample() {}
    ^ error: Unused Declaration Violation: Declarations should be referenced at least once within all files linted (unused_declaration)
    }

    Test Case 'UnusedDeclarationRuleGeneratedTests.testWithDefaultConfiguration' failed (79.37 seconds)
    Test Suite 'UnusedDeclarationRuleGeneratedTests' failed at 2025-11-11 22:46:00.869
             Executed 1 test, with 6 failures (0 unexpected) in 79.37 (79.37) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:46:00.869
             Executed 1 test, with 6 failures (0 unexpected) in 79.37 (79.37) seconds
    
    Test Suite 'Selected tests' started at 2025-11-11 22:44:42.659
    Test Suite 'UnusedImportRuleGeneratedTests' started at 2025-11-11 22:44:42.662
    Test Case 'UnusedImportRuleGeneratedTests.testWithDefaultConfiguration' started at 2025-11-11 22:44:42.663
    S:\SourceCache\realm\SwiftLint\Source\SwiftLintBuiltInRules\Rules\Lint\UnusedImportRuleExamples.swift:199: error: UnusedImportRuleGeneratedTests.testWithDefaultConfiguration : XCTAssertEqual failed: ("import Dispatch
    typealias Foo = CFData
    dispatchMain()") is not equal to ("import CoreFoundation
    import Dispatch
    typealias Foo = CFData
    dispatchMain()") - assertCorrection(_:expected:).file contents
    S:\SourceCache\realm\SwiftLint\Source\SwiftLintBuiltInRules\Rules\Lint\UnusedImportRuleExamples.swift:199: error: UnusedImportRuleGeneratedTests.testWithDefaultConfiguration : XCTAssertEqual failed: ("import Dispatch
    typealias Foo = CFData
    dispatchMain()") is not equal to ("import CoreFoundation
    import Dispatch
    typealias Foo = CFData
    dispatchMain()") - assertCorrection(_:expected:).corrected file equals expected
    S:\SourceCache\realm\SwiftLint\Source\SwiftLintBuiltInRules\Rules\Lint\UnusedImportRuleExamples.swift:232: error: UnusedImportRuleGeneratedTests.testWithDefaultConfiguration : XCTAssertGreaterThanOrEqual failed: ("0") is less than ("1") - assertCorrection(_:expected:).expectedLocationsEmpty
    S:\SourceCache\realm\SwiftLint\Source\SwiftLintBuiltInRules\Rules\Lint\UnusedImportRuleExamples.swift:232: error: UnusedImportRuleGeneratedTests.testWithDefaultConfiguration : XCTAssertEqual failed: ("import Foundation
    typealias Bar = CFData
    @objc
    class A {}") is not equal to ("import CoreFoundation
    import Foundation
    typealias Bar = CFData
    @objc
    class A {}") - assertCorrection(_:expected:).file contents
    S:\SourceCache\realm\SwiftLint\Source\SwiftLintBuiltInRules\Rules\Lint\UnusedImportRuleExamples.swift:232: error: UnusedImportRuleGeneratedTests.testWithDefaultConfiguration : XCTAssertEqual failed: ("import Foundation
    typealias Bar = CFData
    @objc
    class A {}") is not equal to ("import CoreFoundation
    import Foundation
    typealias Bar = CFData
    @objc
    class A {}") - assertCorrection(_:expected:).corrected file equals expected
    Test Case 'UnusedImportRuleGeneratedTests.testWithDefaultConfiguration' failed (121.684 seconds)
    Test Suite 'UnusedImportRuleGeneratedTests' failed at 2025-11-11 22:46:44.347
             Executed 1 test, with 5 failures (0 unexpected) in 121.684 (121.684) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:46:44.347
             Executed 1 test, with 5 failures (0 unexpected) in 121.684 (121.684) seconds
    C:\Users\compnerd\AppData\Local\Temp\6E3EC875-FE47-4192-B747-97A556EBFAB2.swift:1:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\25F85D81-CC3B-4908-9CD2-0FF433703680.swift:1:19: error: no such module 'UnknownModule'
    @_exported import UnknownModule
                      ^
    C:\Users\compnerd\AppData\Local\Temp\59544E3C-01E1-451C-88F4-AA5A7AB942F6.swift:1:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\59544E3C-01E1-451C-88F4-AA5A7AB942F6.swift:1:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\59544E3C-01E1-451C-88F4-AA5A7AB942F6.swift:1:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\628F3AC4-BD1B-4E9D-B7F5-D879BB7FEB9A.swift:2:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\628F3AC4-BD1B-4E9D-B7F5-D879BB7FEB9A.swift:2:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\BA1C677A-420B-435B-9177-1EB77BCB3147.swift:2:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\3D178896-7F04-4774-974C-1D98CF1C970E.swift:2:19: error: no such module 'UnknownModule'
    @_exported import UnknownModule
                      ^
    C:\Users\compnerd\AppData\Local\Temp\CB7B5E3B-9C4E-4532-BB4D-D412CC29B157.swift:2:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\CB7B5E3B-9C4E-4532-BB4D-D412CC29B157.swift:2:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\CB7B5E3B-9C4E-4532-BB4D-D412CC29B157.swift:2:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\C7287E74-6B0C-4D88-9B77-4AAA8D91DE8C.swift:3:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\C7287E74-6B0C-4D88-9B77-4AAA8D91DE8C.swift:3:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\FCB3C25B-B748-45E3-832A-324D56FB25D4.swift:2:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\7989065A-8CD3-4D1B-8290-C7DE8E608B58.swift:2:19: error: no such module 'UnknownModule'
    @_exported import UnknownModule
                      ^
    C:\Users\compnerd\AppData\Local\Temp\1794600F-B33B-4E8A-946C-73F726E20645.swift:2:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\1794600F-B33B-4E8A-946C-73F726E20645.swift:2:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\1794600F-B33B-4E8A-946C-73F726E20645.swift:2:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\2B468BE4-9904-472D-A27D-BCD3CB06C437.swift:3:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\2B468BE4-9904-472D-A27D-BCD3CB06C437.swift:3:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\044C35BB-4C0A-47C5-A549-0FFAFBE24CFD.swift:3:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\044C35BB-4C0A-47C5-A549-0FFAFBE24CFD.swift:3:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\99AB0E59-260D-49A7-8814-E56DEAFF7DDE.swift:1:18: error: module 'Foundation' was not compiled for testing
    @testable import Foundation
    ~~~~~~~~~~       ^
    C:\Users\compnerd\AppData\Local\Temp\12382EB5-2DC4-49AD-A195-8A935FC61D77.swift:2:18: error: module 'Foundation' was not compiled for testing
    @testable import Foundation
    ~~~~~~~~~~       ^
    C:\Users\compnerd\AppData\Local\Temp\0DB0B887-87BD-4965-AE5F-449DEFBF6AB5.swift:1:18: error: module 'Foundation' was not compiled for testing
    @testable import Foundation
    ~~~~~~~~~~       ^
    C:\Users\compnerd\AppData\Local\Temp\7DB6C1CE-6749-4D1C-9DA6-9DDB27289CE8.swift:2:18: error: module 'Foundation' was not compiled for testing
    @testable import Foundation
    ~~~~~~~~~~       ^
    C:\Users\compnerd\AppData\Local\Temp\EA6E8D19-34A9-4D45-B016-3C5EFCD0F78B.swift:2:17: error: cannot find type 'CFData' in scope
    typealias Foo = CFData
                    ^~~~~~
    C:\Users\compnerd\AppData\Local\Temp\8CF8B667-D8C3-4752-B71D-41F56D88E7AA.swift:2:17: error: cannot find type 'CFArray' in scope
    typealias Foo = CFArray
                    ^~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\6C795CF1-0433-4184-9063-B11279132F4E.swift:1:18: error: module 'Foundation' was not compiled for testing
    @testable import Foundation
    ~~~~~~~~~~       ^
    C:\Users\compnerd\AppData\Local\Temp\AF062B6A-8011-438E-9B1A-058C2F806615.swift:2:18: error: module 'Foundation' was not compiled for testing
    @testable import Foundation
    ~~~~~~~~~~       ^
    C:\Users\compnerd\AppData\Local\Temp\8CD65172-10B1-4253-A0BD-A9556D9073AA.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'main' may lead to instability during execution [#ImplementationOnlyDeprecated]
    @_implementationOnly import Foundation
                         ^
    C:\Users\compnerd\AppData\Local\Temp\35E209CF-481D-476D-B49C-365D9DF62DAB.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'main' may lead to instability during execution [#ImplementationOnlyDeprecated]
    @_implementationOnly import Foundation
                         ^
    C:\Users\compnerd\AppData\Local\Temp\929FC573-967E-489A-AF65-E6C5909839F5.swift:1:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\E9B5F022-DB12-4202-8362-F6FA15345A41.swift:2:8: error: no such module 'UnknownModule'
    import UnknownModule
           ^
    C:\Users\compnerd\AppData\Local\Temp\4BC41F5A-7555-47F8-AFA8-0E0ADC6AD317.swift:1:19: error: no such module 'UnknownModule'
    @_exported import UnknownModule
                      ^
    C:\Users\compnerd\AppData\Local\Temp\1DC22F89-F990-4635-A883-A14DB1E5AA86.swift:2:19: error: no such module 'UnknownModule'
    @_exported import UnknownModule
                      ^
    C:\Users\compnerd\AppData\Local\Temp\AFB21368-9090-4B00-84CC-FAA321C61C8A.swift:1:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\AFB21368-9090-4B00-84CC-FAA321C61C8A.swift:1:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\AFB21368-9090-4B00-84CC-FAA321C61C8A.swift:1:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\A4C9E836-F026-470C-9336-9711C9891AA0.swift:2:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\A4C9E836-F026-470C-9336-9711C9891AA0.swift:2:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\A4C9E836-F026-470C-9336-9711C9891AA0.swift:2:8: error: no such module 'SwiftUI'
    import SwiftUI
           ^
    C:\Users\compnerd\AppData\Local\Temp\4E48251A-EFB3-4F4C-A89D-8185FAD44C01.swift:2:18: error: module 'Foundation' was not compiled for testing
    @testable import Foundation
    ~~~~~~~~~~       ^
    C:\Users\compnerd\AppData\Local\Temp\A442D0FF-CE9C-48A8-A2D1-40A9E9CD5822.swift:2:18: error: module 'Foundation' was not compiled for testing
    @testable import Foundation
    ~~~~~~~~~~       ^
    C:\Users\compnerd\AppData\Local\Temp\F1EDC475-6B40-4532-99FA-94D4B227BFA7.swift:3:17: error: cannot find type 'CFData' in scope
    typealias Foo = CFData
                    ^~~~~~
    C:\Users\compnerd\AppData\Local\Temp\BE31FD3E-309D-417F-8870-7E41C12B39A2.swift:3:17: error: cannot find type 'CFArray' in scope
    typealias Foo = CFArray
                    ^~~~~~~
    C:\Users\compnerd\AppData\Local\Temp\6C560119-3D51-4248-8318-4E9BF8B10CD0.swift:2:18: error: module 'Foundation' was not compiled for testing
    @testable import Foundation
    ~~~~~~~~~~       ^
    C:\Users\compnerd\AppData\Local\Temp\712A1167-DCF3-4047-8DEE-B8264FB6187D.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'main' may lead to instability during execution [#ImplementationOnlyDeprecated]
    @_implementationOnly import Foundation
                         ^
    
    Test Suite 'Selected tests' started at 2025-11-11 22:44:48.055
    Test Suite 'IntegrationTests' started at 2025-11-11 22:44:48.059
    Test Case 'IntegrationTests.testSwiftLintLints' started at 2025-11-11 22:44:48.060
    S:\SourceCache\realm\SwiftLint\Tests\IntegrationTests\IntegrationTests.swift:29: error: IntegrationTests.testSwiftLintLints : XCTAssertTrue failed - current file should be included
    S:/SourceCache/realm/SwiftLint/Source/SwiftLintFramework/Helpers/Glob.swift:39: error: IntegrationTests.testSwiftLintLints : failed - Line should be 120 characters or less; currently it has 136 characters
    Test Case 'IntegrationTests.testSwiftLintLints' failed (137.145 seconds)
    Test Suite 'IntegrationTests' failed at 2025-11-11 22:47:05.205
             Executed 1 test, with 2 failures (0 unexpected) in 137.145 (137.145) seconds
    Test Suite 'Selected tests' failed at 2025-11-11 22:47:05.205
             Executed 1 test, with 2 failures (0 unexpected) in 137.145 (137.145) seconds
    
    ◊ Test run started.
    → Testing Library Version: 6.2.1 (c9d57c83568b06d)
    → Target Platform: x86_64-unknown-windows-msvc
    √ Test run with 0 tests in 0 suites passed after 0.001 seconds.
    

    References to SwiftUI and CF types are not really going to be portable.

  10. SimplyDanny commented on Nov 12, 2025

    @SimplyDanny
    Collaborator

    That's what I meant: It builds and test run, yet some tests fail. The swiftlint binary can also be built and it runs, but fails to find/read the configuration file.

    What both tests and running the binary show is that that there are issues in all interactions with the file system. That's mainly all the ones in FileSystemAccessTests and IntegrationTests. There are also other failures related to SourceKit usage indeed. I'd need to analyze this more detailed to see whether it's "only" a SourceKit(ten) problem.

    Maybe we could focus on file system access first, so that related tests pass and the binary itself can be used for non-SourceKit rules? SourceKit usage can be disabled by setting SWIFTLINT_DISABLE_SOURCEKIT as an environment variable.

    We also provide a static Linux binary now that has SourceKit strictly disabled. This could also be an option for Windows if getting this to work was too much of an effort. There is only a handful of SourceKit-dependent rules left (ones that haven't been migrated to SwiftSyntax). The static binary can anyway not load libraries dynamically at runtime, or can it in the Windows case?

  11. SimplyDanny commented on Nov 12, 2025

    @SimplyDanny
    Collaborator

    Adding * text=auto eol=lf to the .gitattributes file and ensuring that all locally checked out files use \n line endings fixes some tests. I think this is a valid prerequisite for now as SwiftLint just hasn't been build with \r\n in mind.

  12. roman-bcny commented on Nov 12, 2025

    @roman-bcny
    Contributor

    @SimplyDanny I checked with @compnerd and I'll be adding commits to the PR to fix the remaining issues. If we can merge that PR without figuring everything out so that we can resolve remaining issues in follow-ups, even better - but if that's not how you'd like to see it that's fair.

    Going with SWIFTLINT_DISABLE_SOURCEKIT sounds good, at least as a starting point. Hopefully we can move the rest of what we need to SwiftSyntax or stop using that. One less dependency to worry about sounds nice :)

  13. compnerd commented on Nov 12, 2025

    @compnerd
    Contributor

    Wait, is the dependency on SourceKit or SourceKitten? SourceKit is available on Windows, it is SourceKitten that is not.

  14. SimplyDanny commented on Nov 12, 2025

    @SimplyDanny
    Collaborator

    Wait, is the dependency on SourceKit or SourceKitten? SourceKit is available on Windows, it is SourceKitten that is not.

    The dependency is on SourceKit through SourceKitten, since SourceKitten being a wrapper around SourceKit.

    Surprisingly, I was able to run all but 2 GeneratedTests on your branch successfully. But there are definitely more than 2 rules still relying on SourceKit(ten). So this already seems to work for the most part even without fixes in SourceKitten.

  15. compnerd commented on Nov 12, 2025

    @compnerd
    Contributor

    That isn't too surprising - I had SwiftLint mostly passing tests when I originally did the port. The few last issues are new paths that are not handling the file system representation correctly I believe. That shouldn't be too difficult to repair. IMO, it might be better to merge these changes and then do separate work to get the test suite to pass.

  16. marked add Windows support #5268 as a duplicate of this issue on Nov 13, 2025
  17. roman-bcny commented on Nov 13, 2025

    @roman-bcny
    Contributor

    I'm trying to compare swift test runs on Mac vs Windows, and it appears that Windows only runs ConfigurationTests and BaselineTests suites. I see close to 100 suites on Mac as well as many GeneratedTests which don't show up on Windows. This is probably not expected?

  18. roman-bcny commented on Nov 13, 2025

    @roman-bcny
    Contributor

    However, swift test list list 1024 tests, identically on Mac and Windows (modulo ordering and crlf)

  19. roman-bcny commented on Nov 14, 2025

    @roman-bcny
    Contributor

    Previous comments were on arm64, where things might be broken...

    Re-checked on x64 and it seems to be running more tests, but still interrupted by testValidRemoteChildConfig and further tests don't run (the next one was supposed to be testValidRemoteParentConfig but the harness exited)

    Test Case 'ConfigurationTests.testStrict' started at 2025-11-13 19:27:00.128
    Test Case 'ConfigurationTests.testStrict' passed (0.001 seconds)
    Test Case 'ConfigurationTests.testValidChildConfig' started at 2025-11-13 19:27:00.130
    Test Case 'ConfigurationTests.testValidChildConfig' passed (0.109 seconds)
    Test Case 'ConfigurationTests.testValidParentConfig' started at 2025-11-13 19:27:00.238
    Test Case 'ConfigurationTests.testValidParentConfig' passed (0.08 seconds)
    Test Case 'ConfigurationTests.testValidRemoteChildConfig' started at 2025-11-13 19:27:00.318
    ◊ Test run started.
    → Testing Library Version: 6.2.1 (c9d57c83568b06d)
    → Target Platform: x86_64-unknown-windows-msvc
    √ Test run with 0 tests in 0 suites passed after 0.001 seconds.
    
    c:\workspace\SwiftLint>echo %errorlevel%
    1
    

    @SimplyDanny if you're seeing this as well that might explain why you're seeing less failures than expected. In my tests GeneratedTests don't run at all, for example.

  20. SimplyDanny commented on Nov 14, 2025

    @SimplyDanny
    Collaborator

    I ran every test target separately to reduce the risk of these interference failures. GeneratedTests alone runs with a few tests being marked as "skipped", which seems to be a glitch in VS Code; the console reports them as "passed". I tested on x86_64 only.

    I'm okay with merging the PR as is once the linting issues are resolved. At least, it builds on Windows with that, which is a first important step. A bunch of follow-up fixes will be required to get it fully working. We may track them in sub-issues.

  21. roman-bcny commented on Nov 20, 2025

    @roman-bcny
    Contributor

    @compnerd it seems I'm unable to push to the PR - possibly due to missing checkbox "Allow edits by maintainers" on the PR (but I have no idea how this works)

    git push contributor roman-windows:windows
    remote: Permission to compnerd/SwiftLint.git denied to roman-bcny.
    fatal: unable to access 'https://github.com/compnerd/SwiftLint.git/': The requested URL returned error: 403
    

    But here's the change that gets rid of the GeneratedTests failures for me (moving a few cases to be macOS specific due to objc, XCTest that requires platform sdk setup for compilation, CoreFoundation):
    roman-bcny@6644344

    Tested on 6.2.1 toolchain with

    swift test --disable-swift-testing --filter=".*GeneratedTests.*"
    echo errorlevel=%errorlevel%
    
    ...
    Test Suite 'Selected tests' passed at 2025-11-19 19:44:17.978
             Executed 246 tests, with 0 failures (0 unexpected) in 392.372 (392.372) seconds
    
    errorlevel=0
    
  22. compnerd commented on Nov 21, 2025

    @compnerd
    Contributor

    @roman-bcny I don't think that is the right way to address the issues. I have a different approach that accomplishes the same result (I have all the generated tests passing as well). However, I want to split up with the work to address the test failures from the actual port. If everyone else would like to merge it together, I can put it on top of the existing windows PR.

    Given that @SimplyDanny had mentioned that he is fine with splitting up the work, I've addressed the concern holding up the change, and I think that we should be able to move forward with getting that merged.

  23. roman-bcny commented on Nov 21, 2025

    @roman-bcny
    Contributor

    #5030 merged - woohoo!

    @compnerd fair enough, I just thought those failures were one of the blockers but I now see I misunderstood.

    @SimplyDanny looking forward to further steps as described in #5030 (review), please loop me in

  24. SimplyDanny commented on Nov 21, 2025

    @SimplyDanny
    Collaborator

    With #5030 merged, SwiftLint compiles successfully on Windows. That's an important first step. More tasks will be tracked in the parent issue of this ticket.

  25. added theissue type on Nov 21, 2025
  26. added
    enhancement
    on Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

discussionenhancement

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions