{"action":"opened","issue":{"url":"https://api.github.com/repos/beltex/SystemKit/issues/18","labels_url":"https://api.github.com/repos/beltex/SystemKit/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/beltex/SystemKit/issues/18/comments","events_url":"https://api.github.com/repos/beltex/SystemKit/issues/18/events","html_url":"https://github.com/beltex/SystemKit/issues/18","id":88589231,"number":18,"title":"System.uname() - Swift 2.0 - Regression - Runtime crash using utsname() struct","user":{"login":"beltex","id":2666961,"avatar_url":"https://avatars.githubusercontent.com/u/2666961?v=3","gravatar_id":"","url":"https://api.github.com/users/beltex","html_url":"https://github.com/beltex","followers_url":"https://api.github.com/users/beltex/followers","following_url":"https://api.github.com/users/beltex/following{/other_user}","gists_url":"https://api.github.com/users/beltex/gists{/gist_id}","starred_url":"https://api.github.com/users/beltex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beltex/subscriptions","organizations_url":"https://api.github.com/users/beltex/orgs","repos_url":"https://api.github.com/users/beltex/repos","events_url":"https://api.github.com/users/beltex/events{/privacy}","received_events_url":"https://api.github.com/users/beltex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/beltex/SystemKit/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-16T01:58:28Z","updated_at":"2015-06-16T01:58:28Z","closed_at":null,"body":"Can't see a way to get around this bug in pure Swift. Anything besides simply initing the struct seems to cause a crash at runtime. This affects the `System.uname()` method. Only option I can see for now is to call a C wrapper function, but I don't think its worth it. It will likely be fixed soon, as we should be getting new Xcode beta's at the usual 2 week cycle rate for the next while.\r\n\r\nRef: https://github.com/practicalswift/swift-compiler-crashes/pull/76"}}