{"action":"closed","issue":{"url":"https://api.github.com/repos/rusoto/rusoto/issues/946","repository_url":"https://api.github.com/repos/rusoto/rusoto","labels_url":"https://api.github.com/repos/rusoto/rusoto/issues/946/labels{/name}","comments_url":"https://api.github.com/repos/rusoto/rusoto/issues/946/comments","events_url":"https://api.github.com/repos/rusoto/rusoto/issues/946/events","html_url":"https://github.com/rusoto/rusoto/issues/946","id":292612187,"number":946,"title":"Rusoto fails to build against Hyper HEAD with unsatisfied traits","user":{"login":"xrl","id":693059,"avatar_url":"https://avatars2.githubusercontent.com/u/693059?v=4","gravatar_id":"","url":"https://api.github.com/users/xrl","html_url":"https://github.com/xrl","followers_url":"https://api.github.com/users/xrl/followers","following_url":"https://api.github.com/users/xrl/following{/other_user}","gists_url":"https://api.github.com/users/xrl/gists{/gist_id}","starred_url":"https://api.github.com/users/xrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrl/subscriptions","organizations_url":"https://api.github.com/users/xrl/orgs","repos_url":"https://api.github.com/users/xrl/repos","events_url":"https://api.github.com/users/xrl/events{/privacy}","received_events_url":"https://api.github.com/users/xrl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-01-30T00:34:42Z","updated_at":"2018-02-02T20:50:05Z","closed_at":"2018-02-02T20:50:05Z","author_association":"NONE","body":"It was premature to fix https://github.com/rusoto/rusoto/issues/914 . I was running the code for 10 minutes without it failing and I thought \"must be fixed!\". Turns out when I changed the hyper depedency in my crate it did not change the dependency in rusoto. Which I thought was confusing.\r\n\r\nIn the rusoto project, I switched out all references for hyper:\r\n\r\n```diff\r\n-hyper = \"0.11.0\"\r\n+hyper = { git = \"https://github.com/hyperium/hyper.git\", rev = \"44af273853f82b81591b813d13627e143a14a6b7\" }\r\n```\r\n\r\nand when I do `cargo build`:\r\n\r\n```\r\n$ cargo build\r\n   Compiling rusoto_core v0.31.0 (file:///Users/xlange/code/viasat/rusoto/rusoto/core)\r\nerror[E0599]: no method named `build` found for type `hyper::client::Config<hyper_tls::HttpsConnector<hyper::client::connect::HttpConnector>, hyper::Body>` in the current scope\r\n   --> rusoto/core/src/request.rs:293:49\r\n    |\r\n293 |     Ok(Client::configure().connector(connector).build(handle))\r\n    |                                                 ^^^^^\r\n    |\r\n    = note: the method `build` exists but the following trait bounds were not satisfied:\r\n            `hyper_tls::HttpsConnector<hyper::client::connect::HttpConnector> : hyper::client::Connect`\r\n\r\nerror[E0271]: type mismatch resolving `<hyper_tls::HttpsConnector<hyper::client::HttpConnector> as hyper::client::Service>::Request == hyper::Uri`\r\n   --> rusoto/core/src/reactor.rs:161:14\r\n    |\r\n161 |         self.new_request_dispatcher(|handle| default_tls_client(&handle))\r\n    |              ^^^^^^^^^^^^^^^^^^^^^^ expected struct `hyper::uri::Uri`, found struct `hyper::Uri`\r\n    |\r\n    = note: expected type `hyper::uri::Uri`\r\n               found type `hyper::Uri`\r\nnote: Perhaps two different versions of crate `hyper` are being used?\r\n   --> rusoto/core/src/reactor.rs:161:14\r\n    |\r\n161 |         self.new_request_dispatcher(|handle| default_tls_client(&handle))\r\n    |              ^^^^^^^^^^^^^^^^^^^^^^\r\n    = note: required because of the requirements on the impl of `hyper::client::Connect` for `hyper_tls::HttpsConnector<hyper::client::HttpConnector>`\r\n    = note: required because of the requirements on the impl of `request::DispatchSignedRequest` for `hyper::Client<hyper_tls::HttpsConnector<hyper::client::HttpConnector>>`\r\n\r\nerror[E0271]: type mismatch resolving `<hyper::client::HttpConnector as hyper::client::Service>::Request == hyper::uri::Uri`\r\n   --> rusoto/core/src/reactor.rs:161:14\r\n    |\r\n161 |         self.new_request_dispatcher(|handle| default_tls_client(&handle))\r\n    |              ^^^^^^^^^^^^^^^^^^^^^^ expected struct `hyper::Uri`, found struct `hyper::uri::Uri`\r\n    |\r\n    = note: expected type `hyper::Uri`\r\n               found type `hyper::uri::Uri`\r\nnote: Perhaps two different versions of crate `hyper` are being used?\r\n   --> rusoto/core/src/reactor.rs:161:14\r\n    |\r\n161 |         self.new_request_dispatcher(|handle| default_tls_client(&handle))\r\n    |              ^^^^^^^^^^^^^^^^^^^^^^\r\n    = note: required because of the requirements on the impl of `hyper::client::connect::Connect` for `hyper::client::HttpConnector`\r\n    = note: required because of the requirements on the impl of `hyper::client::Connect` for `hyper_tls::HttpsConnector<hyper::client::HttpConnector>`\r\n    = note: required because of the requirements on the impl of `request::DispatchSignedRequest` for `hyper::Client<hyper_tls::HttpsConnector<hyper::client::HttpConnector>>`\r\n\r\nerror: aborting due to 3 previous errors\r\n\r\nerror: Could not compile `rusoto_core`.\r\n\r\nTo learn more, run the command again with --verbose.\r\n```"}}
{"actor":{"display_login":"xrl"}}