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

[SR-14462] SwiftPM lacks a friendly error message when run in bad directory. #4439

Open
PeterAdams-A opened this issue Apr 9, 2021 · 1 comment
Labels

Comments

@PeterAdams-A
Copy link
Contributor

Previous ID SR-14462
Radar rdar://problem/76455248
Original Reporter @PeterAdams-A
Type Bug
Environment
  1. Swift Nightly Docker Image #

  2. Tag: swift-DEVELOPMENT-SNAPSHOT-2021-03-25-a #

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 93de08228555b9d558ee300ed02eccef

Issue Description:

I foolishly tried creating a swift package in the root of my file system. Yes this is obviously a stupid thing to do but the error message could have been more helpful than `Illegal instruction`

root@d902e6e703ca:/# swift package init --type executable
Creating executable package: /
Creating Package.swift
Creating README.md
Creating .gitignore
Creating Sources/
Creating Sources/main.swift
Creating Tests/
Illegal instruction

@typesanitizer
Copy link

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants