Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonSourceKittenFramework/File.swift:20: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=260 "The file “file.swift” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/file.swift, NSUnderlyingError=0x138708aa0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. #105

Open
kadieweberdj opened this issue Dec 17, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@kadieweberdj
Copy link

%60Error%3A%20Command%20failed%3A%20%2Fusr%2Fbin%2Fenv%20swiftlint%20lint%20--use-script-input-files%20--quiet%20--reporter%20json%0ASourceKittenFramework%2FFile.swift%3A20%3A%20Fatal%20error%3A%20'try!'%20expression%20unexpectedly%20raised%20an%20error%3A%20Error%20Domain%3DNSCocoaErrorDomain%20Code%3D260%20%22The%20file%20%E2%80%9Cfile.swift%E2%80%9D%20couldn%E2%80%99t%20be%20opened%20because%20there%20is%20no%20such%20file.%22%20UserInfo%3D%7BNSFilePath%3D%2Ffile.swift%2C%20NSUnderlyingError%3D0x138708aa0%20%7BError%20Domain%3DNSPOSIXErrorDomain%20Code%3D2%20%22No%20such%20file%20or%20directory%22%7D%7D%0APLEASE%20submit%20a%20bug%20report%20to%20https%3A%2F%2Fgithub.com%2Fllvm%2Fllvm-project%2Fissues%2F%20and%20include%20the%20crash%20backtrace.%0A%0A%20%20%20%20at%20genericNodeError%20(node%3Ainternal%2Ferrors%3A984%3A15)%0A%20%20%20%20at%20wrappedFn%20(node%3Ainternal%2Ferrors%3A538%3A14)%0A%20%20%20%20at%20ChildProcess.exithandler%20(node%3Achild_process%3A423%3A12)%0A%20%20%20%20at%20ChildProcess.emit%20(node%3Aevents%3A518%3A28)%0A%20%20%20%20at%20maybeClose%20(node%3Ainternal%2Fchild_process%3A1104%3A16)%0A%20%20%20%20at%20Process.ChildProcess._handle.onexit%20(node%3Ainternal%2Fchild_process%3A304%3A5)%0Aos%3A%20darwin%60

@vknabel
Copy link
Owner

vknabel commented Jan 7, 2025

Can you provide some additional information about when and where this error happened?

@vknabel vknabel added bug Something isn't working help wanted Extra attention is needed labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants