{"action":"created","issue":{"url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/870","repository_url":"https://api.github.com/repos/SergioBenitez/Rocket","labels_url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/870/labels{/name}","comments_url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/870/comments","events_url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/870/events","html_url":"https://github.com/SergioBenitez/Rocket/issues/870","id":393865667,"node_id":"MDU6SXNzdWUzOTM4NjU2Njc=","number":870,"title":"No method named subspan for type proc_macro::Literal","user":{"login":"yoshuawuyts","id":2467194,"node_id":"MDQ6VXNlcjI0NjcxOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2467194?v=4","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-24T11:38:50Z","updated_at":"2018-12-24T16:16:07Z","closed_at":null,"author_association":"NONE","body":"I'm having trouble compiling rocket 0.4. There seems to be a problem with rocket-codegen.\r\n\r\n## Error\r\n```txt\r\n[12:05:29] ❯ cargo build                                                                                                                [wubwub:1]\r\n   Compiling sass-sys v0.4.7\r\n   Compiling tokio-fs v0.1.4\r\n   Compiling tokio-uds v0.2.4\r\n   Compiling tokio-tcp v0.1.2\r\n   Compiling tokio-udp v0.1.3\r\n   Compiling inotify v0.6.1\r\n   Compiling rocket_codegen v0.4.0\r\n   Compiling sass-rs v0.2.1\r\n   Compiling mime_guess v2.0.0-alpha.6\r\n   Compiling tokio v0.1.13\r\nerror[E0599]: no method named `subspan` found for type `proc_macro::Literal` in the current scope\r\n  --> /home/anon/.cargo/registry/src/github.com-1ecc6299db9ec823/rocket_codegen-0.4.0/src/proc_macro_ext.rs:89:16\r\n   |\r\n89 |         self.1.subspan(range)\r\n   |                ^^^^^^^\r\n   Compiling notify v4.0.6\r\nerror: aborting due to previous error\r\nFor more information about this error, try `rustc --explain E0599`.\r\nThe following warnings were emitted during compilation:\r\nwarning: Rocket was unable to check rustc compatibility.\r\nwarning: Build may fail due to incompatible rustc version.\r\nerror: Could not compile `rocket_codegen`.\r\nwarning: build failed, waiting for other jobs to finish...\r\nerror: build failed\r\n```\r\n\r\n## Environment\r\n- rust version: 1.33.0-nightly 2018-12-23\r\n- OS: linux\r\n- rocket version: 0.4"},"comment":{"url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/comments/449751230","html_url":"https://github.com/SergioBenitez/Rocket/issues/870#issuecomment-449751230","issue_url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/870","id":449751230,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTc1MTIzMA==","user":{"login":"yoshuawuyts","id":2467194,"node_id":"MDQ6VXNlcjI0NjcxOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2467194?v=4","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"created_at":"2018-12-24T16:16:07Z","updated_at":"2018-12-24T16:16:07Z","author_association":"NONE","body":"@jebrosen oh dang, you're totally right. Somehow an older (stable) rust was being picked up in one of my paths that was causing the mis-compilation. All solved now. Thanks heaps for looking into this!"}}
{"actor":{"display_login":"yoshuawuyts"}}