{"action":"created","issue":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/212","labels_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/212/comments","events_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/212/events","html_url":"https://github.com/nickel-org/nickel.rs/issues/212","id":74196232,"number":212,"title":"Fails to compile with 1.0.0-beta.3","user":{"login":"crawford","id":368848,"avatar_url":"https://avatars.githubusercontent.com/u/368848?v=3","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-08T02:07:14Z","updated_at":"2015-05-08T02:38:26Z","closed_at":null,"body":"Trying to compile the code at http://nickel.rs/getting-started.html, results in:\r\n\r\n```\r\n$ cargo run          \r\n   Compiling nickel v0.3.0 (https://github.com/nickel-org/nickel.rs.git#db6b5294)\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:23:1: 27:2 error: the trait `core::marker::Reflect` is not implemented for the type `T` [E0277]\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:23 pub struct Response<'a, T=Fresh> {\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:24     ///the original `hyper::server::Response`\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:25     pub origin: HyperResponse<'a, T>,\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:26     templates: &'a TemplateCache\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:27 }\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:23:1: 27:2 error: the parameter type `T` may not live long enough [E0310]\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:23 pub struct Response<'a, T=Fresh> {\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:24     ///the original `hyper::server::Response`\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:25     pub origin: HyperResponse<'a, T>,\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:26     templates: &'a TemplateCache\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:27 }\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:23:1: 27:2 help: consider adding an explicit lifetime bound `T: 'static`...\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:23:1: 27:2 note: ...so that the type `T` will meet its required lifetime bounds\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:23 pub struct Response<'a, T=Fresh> {\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:24     ///the original `hyper::server::Response`\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:25     pub origin: HyperResponse<'a, T>,\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:26     templates: &'a TemplateCache\r\n/home/alex/.cargo/git/checkouts/nickel.rs-294fa7e3b5661c29/master/src/response.rs:27 }\r\nerror: aborting due to 2 previous errors\r\nCould not compile `nickel`.\r\n```\r\n\r\n```\r\n$ rustc --version\r\nrustc 1.0.0-beta.3 (5241bf9c3 2015-04-25) (built 2015-04-25)\r\n```\r\n\r\n```\r\n$ cargo --version\r\ncargo 0.2.0-nightly (83a6d0e 2015-04-16) (built 2015-04-16)\r\n```"},"comment":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/comments/100078038","html_url":"https://github.com/nickel-org/nickel.rs/issues/212#issuecomment-100078038","issue_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/212","id":100078038,"user":{"login":"crawford","id":368848,"avatar_url":"https://avatars.githubusercontent.com/u/368848?v=3","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T02:38:26Z","updated_at":"2015-05-08T02:38:26Z","body":"This output is probably more useful:\r\n\r\n```\r\n$ cargo build --release\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\n   Compiling httparse v0.1.1\r\n   Compiling traitobject v0.0.1\r\n   Compiling regex v0.1.30\r\n   Compiling matches v0.1.2\r\n   Compiling libc v0.1.7\r\n   Compiling bitflags v0.1.1\r\n   Compiling gcc v0.3.5\r\n   Compiling unicase v0.1.0\r\n   Compiling typeable v0.1.1\r\n   Compiling pkg-config v0.3.4\r\n   Compiling rustc-serialize v0.3.14\r\n   Compiling lazy_static v0.1.10\r\n   Compiling groupable v0.2.0\r\n   Compiling unsafe-any v0.4.1\r\n   Compiling num_cpus v0.2.5\r\n   Compiling log v0.3.1\r\n   Compiling openssl-sys v0.6.2\r\n   Compiling time v0.1.25\r\n   Compiling typemap v0.3.0\r\n   Compiling mime v0.0.11\r\n   Compiling plugin v0.2.6\r\n   Compiling openssl v0.6.2\r\n   Compiling url v0.2.33\r\n   Compiling mustache v0.6.0\r\n   Compiling cookie v0.1.20\r\n   Compiling hyper v0.4.0\r\n   Compiling nickel v0.3.0 (file:///home/alex/rustcode/nickel)\r\nsrc/response.rs:23:1: 27:2 error: the trait `core::marker::Reflect` is not implemented for the type `T` [E0277]\r\nsrc/response.rs:23 pub struct Response<'a, T=Fresh> {\r\nsrc/response.rs:24     ///the original `hyper::server::Response`\r\nsrc/response.rs:25     pub origin: HyperResponse<'a, T>,\r\nsrc/response.rs:26     templates: &'a TemplateCache\r\nsrc/response.rs:27 }\r\nsrc/response.rs:23:1: 27:2 error: the parameter type `T` may not live long enough [E0310]\r\nsrc/response.rs:23 pub struct Response<'a, T=Fresh> {\r\nsrc/response.rs:24     ///the original `hyper::server::Response`\r\nsrc/response.rs:25     pub origin: HyperResponse<'a, T>,\r\nsrc/response.rs:26     templates: &'a TemplateCache\r\nsrc/response.rs:27 }\r\nsrc/response.rs:23:1: 27:2 help: consider adding an explicit lifetime bound `T: 'static`...\r\nsrc/response.rs:23:1: 27:2 note: ...so that the type `T` will meet its required lifetime bounds\r\nsrc/response.rs:23 pub struct Response<'a, T=Fresh> {\r\nsrc/response.rs:24     ///the original `hyper::server::Response`\r\nsrc/response.rs:25     pub origin: HyperResponse<'a, T>,\r\nsrc/response.rs:26     templates: &'a TemplateCache\r\nsrc/response.rs:27 }\r\nerror: aborting due to 2 previous errors\r\nCould not compile `nickel`.\r\n```\r\n\r\n```\r\n$ git show --oneline \r\ndb6b529 chore(release): cut the 0.3.0 release\r\n```"}}