{"action":"created","issue":{"url":"https://api.github.com/repos/realm/jazzy/issues/661","repository_url":"https://api.github.com/repos/realm/jazzy","labels_url":"https://api.github.com/repos/realm/jazzy/issues/661/labels{/name}","comments_url":"https://api.github.com/repos/realm/jazzy/issues/661/comments","events_url":"https://api.github.com/repos/realm/jazzy/issues/661/events","html_url":"https://github.com/realm/jazzy/issues/661","id":178427959,"number":661,"title":"Jazzy 0.7.2 crashes with \"comparison of Array with Array failed\" ArgumentError","user":{"login":"emaloney","id":3768925,"avatar_url":"https://avatars.githubusercontent.com/u/3768925?v=3","gravatar_id":"","url":"https://api.github.com/users/emaloney","html_url":"https://github.com/emaloney","followers_url":"https://api.github.com/users/emaloney/followers","following_url":"https://api.github.com/users/emaloney/following{/other_user}","gists_url":"https://api.github.com/users/emaloney/gists{/gist_id}","starred_url":"https://api.github.com/users/emaloney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emaloney/subscriptions","organizations_url":"https://api.github.com/users/emaloney/orgs","repos_url":"https://api.github.com/users/emaloney/repos","events_url":"https://api.github.com/users/emaloney/events{/privacy}","received_events_url":"https://api.github.com/users/emaloney/received_events","type":"User","site_admin":false},"labels":[{"id":104952829,"url":"https://api.github.com/repos/realm/jazzy/labels/bug","name":"bug","color":"FF251B","default":true},{"id":487021463,"url":"https://api.github.com/repos/realm/jazzy/labels/needs-investigation","name":"needs-investigation","color":"FFEFA5","default":false}],"state":"open","locked":false,"assignee":{"login":"istx25","id":6799989,"avatar_url":"https://avatars.githubusercontent.com/u/6799989?v=3","gravatar_id":"","url":"https://api.github.com/users/istx25","html_url":"https://github.com/istx25","followers_url":"https://api.github.com/users/istx25/followers","following_url":"https://api.github.com/users/istx25/following{/other_user}","gists_url":"https://api.github.com/users/istx25/gists{/gist_id}","starred_url":"https://api.github.com/users/istx25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/istx25/subscriptions","organizations_url":"https://api.github.com/users/istx25/orgs","repos_url":"https://api.github.com/users/istx25/repos","events_url":"https://api.github.com/users/istx25/events{/privacy}","received_events_url":"https://api.github.com/users/istx25/received_events","type":"User","site_admin":false},"assignees":[{"login":"istx25","id":6799989,"avatar_url":"https://avatars.githubusercontent.com/u/6799989?v=3","gravatar_id":"","url":"https://api.github.com/users/istx25","html_url":"https://github.com/istx25","followers_url":"https://api.github.com/users/istx25/followers","following_url":"https://api.github.com/users/istx25/following{/other_user}","gists_url":"https://api.github.com/users/istx25/gists{/gist_id}","starred_url":"https://api.github.com/users/istx25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/istx25/subscriptions","organizations_url":"https://api.github.com/users/istx25/orgs","repos_url":"https://api.github.com/users/istx25/repos","events_url":"https://api.github.com/users/istx25/events{/privacy}","received_events_url":"https://api.github.com/users/istx25/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-09-21T18:36:01Z","updated_at":"2016-11-26T05:56:01Z","closed_at":null,"body":"Hello,\n\nI recently updated to Jazzy 0.7.2 and have tried using it to generate documentation for an Xcode 8 project containing Swift 2.3 code. All 578 source files in our project are parsed, but when Jazzy gets to the \"building site\" stage, Jazzy exits with code `1` and logs:\n\n```\n/Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.2/lib/jazzy/doc_builder.rb:35:in `sort_by': comparison of Array with Array failed (ArgumentError)\n    from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.2/lib/jazzy/doc_builder.rb:35:in `block in doc_structure_for_docs'\n    from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.2/lib/jazzy/doc_builder.rb:33:in `map'\n    from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.2/lib/jazzy/doc_builder.rb:33:in `doc_structure_for_docs'\n    from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.2/lib/jazzy/doc_builder.rb:112:in `build_site'\n    from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.2/lib/jazzy/doc_builder.rb:151:in `build_docs_for_sourcekitten_output'\n    from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.2/lib/jazzy/doc_builder.rb:75:in `build'\n    from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.2/bin/jazzy:15:in `<top (required)>'\n    from /usr/local/bin/jazzy:23:in `load'\n    from /usr/local/bin/jazzy:23:in `<main>'\nerror: /usr/local/bin/jazzy failed with an exit code of 1; check any output above for additional details.\n```\n\nPrior to that, I get some USR warnings, eg.:\n\n```\nA compile error prevented CheckoutCountryViewModel.country from receiving a unique USR. Documentation may be incomplete. Please check for compile errors by running `xcodebuild `.\n\n`viewControllerForRouter(router:destination:)` has no USR. First make sure all modules used in your project have been imported. If all used modules are imported, please report this problem by filing an issue at https://github.com/realm/jazzy/issues along with your Xcode project. If this token is declared in an `#if` block, please ignore this message.\n```\n\nUnfortunately, this is a closed-source project so I can't share the code publicly. But if there is anything I can do to help diagnose the issue further, please let me know.\n\nThanks!\nE.\n"},"comment":{"url":"https://api.github.com/repos/realm/jazzy/issues/comments/263046133","html_url":"https://github.com/realm/jazzy/issues/661#issuecomment-263046133","issue_url":"https://api.github.com/repos/realm/jazzy/issues/661","id":263046133,"user":{"login":"groue","id":54219,"avatar_url":"https://avatars.githubusercontent.com/u/54219?v=3","gravatar_id":"","url":"https://api.github.com/users/groue","html_url":"https://github.com/groue","followers_url":"https://api.github.com/users/groue/followers","following_url":"https://api.github.com/users/groue/following{/other_user}","gists_url":"https://api.github.com/users/groue/gists{/gist_id}","starred_url":"https://api.github.com/users/groue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groue/subscriptions","organizations_url":"https://api.github.com/users/groue/orgs","repos_url":"https://api.github.com/users/groue/repos","events_url":"https://api.github.com/users/groue/events{/privacy}","received_events_url":"https://api.github.com/users/groue/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T05:56:01Z","updated_at":"2016-11-26T05:56:01Z","body":"Same here:\r\n\r\n```\r\nreport_error({\"message\":\"comparison of Array with Array failed\",\"trace\":[\"/Users/cocoadocs/.rvm/gems/ruby-2.1.3/bundler/gems/Jazzy-7242435d5756/lib/jazzy/doc_builder.rb:35:in `sort_by'\",\"/Users/cocoadocs/.rvm/gems/ruby-2.1.3/bundler/gems/Jazzy-7242435d5756/lib/jazzy/doc_builder.rb:35:in `block in doc_structure_for_docs'\",\"/Users/cocoadocs/.rvm/gems/ruby-2.1.3/bundler/gems/Jazzy-7242435d5756/lib/jazzy/doc_builder.rb:33:in `map'\",\"/Users/cocoadocs/.rvm/gems/ruby-2.1.3/bundler/gems/Jazzy-7242435d5756/lib/jazzy/doc_builder.rb:33:in `doc_structure_for_docs'\",\"/Users/cocoadocs/.rvm/gems/ruby-2.1.3/bundler/gems/Jazzy-7242435d5756/lib/jazzy/doc_builder.rb:113:in `build_site'\",\"/Users/cocoadocs/.rvm/gems/ruby-2.1.3/bundler/gems/Jazzy-7242435d5756/lib/jazzy/doc_builder.rb:152:in `build_docs_for_sourcekitten_output'\",\"/Users/cocoadocs/.rvm/gems/ruby-2.1.3/bundler/gems/Jazzy-7242435d5756/lib/jazzy/doc_builder.rb:76:in `build'\",\"/Users/cocoadocs/cocoadocs.org/./cocoadocs.rb:443:in `document_spec'\",\"/Users/cocoadocs/cocoadocs.org/./cocoadocs.rb:532:in `document_spec_at_path'\",\"/Users/cocoadocs/cocoadocs.org/./cocoadocs.rb:152:in `block in doc'\",\"/Users/cocoadocs/cocoadocs.org/./cocoadocs.rb:147:in `each'\",\"/Users/cocoadocs/cocoadocs.org/./cocoadocs.rb:147:in `doc'\",\"/Users/cocoadocs/cocoadocs.org/./cocoadocs.rb:219:in `block in cocoadocs_url'\",\"/Users/cocoadocs/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/open-uri.rb:153:in `open_uri'\",\"/Users/cocoadocs/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/open-uri.rb:704:in `open'\",\"/Users/cocoadocs/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/open-uri.rb:34:in `open'\",\"/Users/cocoadocs/cocoadocs.org/./cocoadocs.rb:216:in `cocoadocs_url'\",\"/Users/cocoadocs/cocoadocs.org/./cocoadocs.rb:167:in `cocoadocs'\",\"/Users/cocoadocs/cocoadocs.org/./cocoadocs.rb:102:in `initialize'\",\"/Users/cocoadocs/cocoadocs.org/./cocoadocs.rb:564:in `new'\",\"/Users/cocoadocs/cocoadocs.org/./cocoadocs.rb:564:in `<main>'\"]}\r\n)\r\n```\r\n\r\n(output from http://api.cocoadocs.org:4567/error/GRDB.swift/0.90.1)"}}
{"actor":{"display_login":"groue"}}