{"action":"created","issue":{"url":"https://api.github.com/repos/maidsafe/crust/issues/261","labels_url":"https://api.github.com/repos/maidsafe/crust/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/maidsafe/crust/issues/261/comments","events_url":"https://api.github.com/repos/maidsafe/crust/issues/261/events","html_url":"https://github.com/maidsafe/crust/issues/261","id":102336407,"number":261,"title":"Compilation warnings - rustc 1.4.0-nightly (aca2057ed 2015-08-19)","user":{"login":"rossmuir","id":6030823,"avatar_url":"https://avatars.githubusercontent.com/u/6030823?v=3","gravatar_id":"","url":"https://api.github.com/users/rossmuir","html_url":"https://github.com/rossmuir","followers_url":"https://api.github.com/users/rossmuir/followers","following_url":"https://api.github.com/users/rossmuir/following{/other_user}","gists_url":"https://api.github.com/users/rossmuir/gists{/gist_id}","starred_url":"https://api.github.com/users/rossmuir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossmuir/subscriptions","organizations_url":"https://api.github.com/users/rossmuir/orgs","repos_url":"https://api.github.com/users/rossmuir/repos","events_url":"https://api.github.com/users/rossmuir/events{/privacy}","received_events_url":"https://api.github.com/users/rossmuir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-21T09:22:39Z","updated_at":"2015-08-25T20:08:21Z","closed_at":null,"body":"Lint check warnings with `rustc 1.4.0-nightly (aca2057ed 2015-08-19)`\r\n```\r\nuser@machine:~/MaidSafe-Testing/maidsafe_rust/nightly-project/crust (master)$ cargo build\r\n   Compiling httparse v0.1.6\r\n   Compiling matches v0.1.2\r\n   Compiling bitflags v0.3.2\r\n   Compiling libc v0.1.10\r\n   Compiling typeable v0.1.2\r\n   Compiling strsim v0.3.0\r\n   Compiling rustc-serialize v0.3.16\r\n   Compiling winapi v0.2.2\r\n   Compiling regex-syntax v0.2.1\r\n   Compiling byteorder v0.3.11\r\n   Compiling traitobject v0.0.1\r\n   Compiling unicase v1.0.0\r\n   Compiling winapi-build v0.1.1\r\n   Compiling itertools v0.3.25\r\n   Compiling language-tags v0.0.7\r\n   Compiling xml-rs v0.1.25\r\n   Compiling log v0.3.1\r\n   Compiling net2 v0.2.5\r\n   Compiling memchr v0.1.5\r\n   Compiling num_cpus v0.2.6\r\n   Compiling advapi32-sys v0.1.2\r\n   Compiling kernel32-sys v0.1.4\r\n   Compiling aho-corasick v0.3.0\r\n   Compiling mime v0.1.0\r\n   Compiling hpack v0.2.0\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/xml-rs-0.1.25/src/util.rs:15:5: 15:54 warning: the trait `core::marker::Sized` is not implemented for the type `Self` [E0277]\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/xml-rs-0.1.25/src/util.rs:15     fn cloned_pairwise(self) -> ClonedPairwise<Self>;\r\n                                                                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/xml-rs-0.1.25/src/util.rs:15:5: 15:54 help: run `rustc --explain E0277` to see a detailed explanation\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/xml-rs-0.1.25/src/util.rs:15:5: 15:54 note: `Self` does not have a constant size known at compile-time\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/xml-rs-0.1.25/src/util.rs:15     fn cloned_pairwise(self) -> ClonedPairwise<Self>;\r\n                                                                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/xml-rs-0.1.25/src/util.rs:15:5: 15:54 note: this warning results from recent bug fixes and clarifications; it will become a HARD ERROR in the next release. See RFC 1214 for details.\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/xml-rs-0.1.25/src/util.rs:15     fn cloned_pairwise(self) -> ClonedPairwise<Self>;\r\n                                                                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/xml-rs-0.1.25/src/util.rs:15:5: 15:54 note: required by `util::ClonedPairwise`\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/xml-rs-0.1.25/src/util.rs:15     fn cloned_pairwise(self) -> ClonedPairwise<Self>;\r\n                                                                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n   Compiling asynchronous v0.4.5\r\n   Compiling rand v0.3.10\r\n   Compiling term v0.2.11\r\n   Compiling time v0.1.32\r\n   Compiling solicit v0.4.1\r\n   Compiling regex v0.1.41\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/frame/mod.rs:134:5: 134:54 warning: the trait `core::marker::Sized` is not implemented for the type `Self` [E0277]\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/frame/mod.rs:134     fn from_raw(raw_frame: RawFrame) -> Option<Self>;\r\n                                                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/frame/mod.rs:134:5: 134:54 help: run `rustc --explain E0277` to see a detailed explanation\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/frame/mod.rs:134:5: 134:54 note: `Self` does not have a constant size known at compile-time\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/frame/mod.rs:134     fn from_raw(raw_frame: RawFrame) -> Option<Self>;\r\n                                                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/frame/mod.rs:134:5: 134:54 note: this warning results from recent bug fixes and clarifications; it will become a HARD ERROR in the next release. See RFC 1214 for details.\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/frame/mod.rs:134     fn from_raw(raw_frame: RawFrame) -> Option<Self>;\r\n                                                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/frame/mod.rs:134:5: 134:54 note: required by `core::option::Option`\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/frame/mod.rs:134     fn from_raw(raw_frame: RawFrame) -> Option<Self>;\r\n                                                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/transport.rs:60:5: 60:52 warning: the trait `core::marker::Sized` is not implemented for the type `Self` [E0277]\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/transport.rs:60     fn try_split(&self) -> Result<Self, io::Error>;\r\n                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/transport.rs:60:5: 60:52 help: run `rustc --explain E0277` to see a detailed explanation\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/transport.rs:60:5: 60:52 note: `Self` does not have a constant size known at compile-time\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/transport.rs:60     fn try_split(&self) -> Result<Self, io::Error>;\r\n                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/transport.rs:60:5: 60:52 note: this warning results from recent bug fixes and clarifications; it will become a HARD ERROR in the next release. See RFC 1214 for details.\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/transport.rs:60     fn try_split(&self) -> Result<Self, io::Error>;\r\n                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/transport.rs:60:5: 60:52 note: required by `core::result::Result`\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/transport.rs:60     fn try_split(&self) -> Result<Self, io::Error>;\r\n                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:38:38: 38:73 warning: the parameter type `S` may not live long enough [E0309]\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:38 pub struct StreamIter<'a, S: Stream>(Box<Iterator<Item=&'a mut S> + 'a>);\r\n                                                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:38:38: 38:73 help: run `rustc --explain E0309` to see a detailed explanation\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:38:38: 38:73 help: consider adding an explicit lifetime bound `S: 'a`...\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:38:38: 38:73 note: this warning results from recent bug fixes and clarifications; it will become a HARD ERROR in the next release. See RFC 1214 for details.\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:38 pub struct StreamIter<'a, S: Stream>(Box<Iterator<Item=&'a mut S> + 'a>);\r\n                                                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:38:38: 38:73 note: ...so that the reference type `&'a mut S` does not outlive the data it points at\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:38 pub struct StreamIter<'a, S: Stream>(Box<Iterator<Item=&'a mut S> + 'a>);\r\n                                                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:41:5: 41:27 warning: the parameter type `S` may not live long enough [E0309]\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:41     type Item = &'a mut S;\r\n                                                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:41:5: 41:27 help: run `rustc --explain E0309` to see a detailed explanation\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:41:5: 41:27 help: consider adding an explicit lifetime bound `S: 'a`...\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:41:5: 41:27 note: this warning results from recent bug fixes and clarifications; it will become a HARD ERROR in the next release. See RFC 1214 for details.\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:41     type Item = &'a mut S;\r\n                                                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:41:5: 41:27 note: ...so that the reference type `&'a mut S` does not outlive the data it points at\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/solicit-0.4.1/src/http/session.rs:41     type Item = &'a mut S;\r\n                                                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~\r\n   Compiling env_logger v0.3.1\r\n   Compiling url v0.2.37\r\n   Compiling cbor v0.3.14\r\n   Compiling num v0.1.27\r\n   Compiling docopt v0.6.70\r\n   Compiling cookie v0.1.21\r\n   Compiling utp v0.6.0\r\n   Compiling hyper v0.6.10\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/utp-0.6.0/src/packet.rs:47:5: 47:54 warning: the trait `core::marker::Sized` is not implemented for the type `Self` [E0277]\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/utp-0.6.0/src/packet.rs:47     fn from_bytes(&[u8]) -> Result<Self, ParseError>;\r\n                                                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/utp-0.6.0/src/packet.rs:47:5: 47:54 help: run `rustc --explain E0277` to see a detailed explanation\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/utp-0.6.0/src/packet.rs:47:5: 47:54 note: `Self` does not have a constant size known at compile-time\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/utp-0.6.0/src/packet.rs:47     fn from_bytes(&[u8]) -> Result<Self, ParseError>;\r\n                                                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/utp-0.6.0/src/packet.rs:47:5: 47:54 note: this warning results from recent bug fixes and clarifications; it will become a HARD ERROR in the next release. See RFC 1214 for details.\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/utp-0.6.0/src/packet.rs:47     fn from_bytes(&[u8]) -> Result<Self, ParseError>;\r\n                                                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/utp-0.6.0/src/packet.rs:47:5: 47:54 note: required by `core::result::Result`\r\n/home/user/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/utp-0.6.0/src/packet.rs:47     fn from_bytes(&[u8]) -> Result<Self, ParseError>;\r\n                                                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n   Compiling igd v0.1.3\r\n   Compiling crust v0.2.5 (file:///home/user/MaidSafe-Testing/maidsafe_rust/nightly-project/crust)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/maidsafe/crust/issues/comments/134722613","html_url":"https://github.com/maidsafe/crust/issues/261#issuecomment-134722613","issue_url":"https://api.github.com/repos/maidsafe/crust/issues/261","id":134722613,"user":{"login":"dirvine","id":123627,"avatar_url":"https://avatars.githubusercontent.com/u/123627?v=3","gravatar_id":"","url":"https://api.github.com/users/dirvine","html_url":"https://github.com/dirvine","followers_url":"https://api.github.com/users/dirvine/followers","following_url":"https://api.github.com/users/dirvine/following{/other_user}","gists_url":"https://api.github.com/users/dirvine/gists{/gist_id}","starred_url":"https://api.github.com/users/dirvine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirvine/subscriptions","organizations_url":"https://api.github.com/users/dirvine/orgs","repos_url":"https://api.github.com/users/dirvine/repos","events_url":"https://api.github.com/users/dirvine/events{/privacy}","received_events_url":"https://api.github.com/users/dirvine/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T20:08:21Z","updated_at":"2015-08-25T20:08:21Z","body":"Yes the issue is really using github pushes us out of crates.io which is not good. There is a task to get crust fully async and use internal channels. A bit of a task, but @inetic  and @vinipsmaker  are on the job. There will be an update to the README TODO list to show all this. We need to move quickly though, but should be good. Thanks for the input. "}}