Skip to content

windows compiling #4854

@hgsbart

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionTopics that cannot be categorized as bugs or enhancements yet. They require further discussions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions