You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
swift lint installed with brew install swiftlint on Ubuntu 22.04 crashes #6080
helpQuestions or user problems that require more explanation rather than code changes.integrationIssues related to integration of SwiftLint into toolchains.
brew install swiftlint
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
You have 11 outdated formulae installed.
==> Downloading https://ghcr.io/v2/homebrew/core/swiftlint/manifests/0.59.1
############################################################################################## 100.0%
==> Fetching swiftlint
==> Downloading https://ghcr.io/v2/homebrew/core/swiftlint/blobs/sha256:64bfd1f18fd38050c83d117ef116c
############################################################################################## 100.0%
==> Pouring swiftlint--0.59.1.x86_64_linux.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/home/linuxbrew/.linuxbrew/etc/bash_completion.d
==> Summary
🍺 /home/linuxbrew/.linuxbrew/Cellar/swiftlint/0.59.1: 10 files, 166.4MB
==> Running `brew cleanup swiftlint`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
On Linux, SwiftLint is not self-contained and requires libsourcekitdInProc.so as a runtime dependency. It's contained in all Swift toolchains. Citing from the README:
On Linux, SourceKit is expected to be located in /usr/lib/libsourcekitdInProc.so or specified by the LINUX_SOURCEKIT_LIB_PATH environment variable.
helpQuestions or user problems that require more explanation rather than code changes.integrationIssues related to integration of SwiftLint into toolchains.
Activity
SimplyDanny commentedon Jun 15, 2025
On Linux, SwiftLint is not self-contained and requires
libsourcekitdInProc.soas a runtime dependency. It's contained in all Swift toolchains. Citing from the README:DetachHead commentedon Mar 15, 2026
that environment variable doesn't seem to work when using the build tool plugin: