Aug 31 00:12:37.854 INFO checking api_kit-0.2.0 against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 31 00:12:37.854 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 31 00:12:37.854 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-1/pr-53699/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-1/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 31 00:12:38.056 INFO blam! a2123c1650542f520ceb900b0a7ef5f58e7eaff6da877d42e501c579053c9f05 Aug 31 00:12:38.059 INFO running `"docker" "start" "-a" "a2123c1650542f520ceb900b0a7ef5f58e7eaff6da877d42e501c579053c9f05"` Aug 31 00:12:38.666 INFO kablam! Checking api_kit v0.2.0 (file:///source) Aug 31 00:12:41.211 INFO kablam! warning: unused import: `hyper::client::Client` Aug 31 00:12:41.211 INFO kablam! --> src/api_client/mod.rs:1:5 Aug 31 00:12:41.211 INFO kablam! | Aug 31 00:12:41.211 INFO kablam! 1 | use hyper::client::Client; Aug 31 00:12:41.211 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.211 INFO kablam! | Aug 31 00:12:41.211 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 31 00:12:41.211 INFO kablam! Aug 31 00:12:41.211 INFO kablam! warning: unused import: `hyper::client::response::Response` Aug 31 00:12:41.211 INFO kablam! --> src/api_client/mod.rs:2:5 Aug 31 00:12:41.211 INFO kablam! | Aug 31 00:12:41.211 INFO kablam! 2 | use hyper::client::response::Response; Aug 31 00:12:41.211 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.212 INFO kablam! Aug 31 00:12:41.212 INFO kablam! warning: unused import: `hyper::client::RequestBuilder` Aug 31 00:12:41.212 INFO kablam! --> src/api_client/mod.rs:3:5 Aug 31 00:12:41.212 INFO kablam! | Aug 31 00:12:41.212 INFO kablam! 3 | use hyper::client::RequestBuilder; Aug 31 00:12:41.212 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.212 INFO kablam! Aug 31 00:12:41.212 INFO kablam! warning: unused import: `hyper::client::request::Request` Aug 31 00:12:41.212 INFO kablam! --> src/api_client/mod.rs:4:5 Aug 31 00:12:41.212 INFO kablam! | Aug 31 00:12:41.212 INFO kablam! 4 | use hyper::client::request::Request; Aug 31 00:12:41.212 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.212 INFO kablam! Aug 31 00:12:41.212 INFO kablam! warning: unused import: `hyper::Url` Aug 31 00:12:41.212 INFO kablam! --> src/api_client/mod.rs:5:5 Aug 31 00:12:41.213 INFO kablam! | Aug 31 00:12:41.213 INFO kablam! 5 | use hyper::Url; Aug 31 00:12:41.213 INFO kablam! | ^^^^^^^^^^ Aug 31 00:12:41.213 INFO kablam! Aug 31 00:12:41.213 INFO kablam! warning: unused import: `api_request::HttpMethod` Aug 31 00:12:41.213 INFO kablam! --> src/api_client/mod.rs:6:5 Aug 31 00:12:41.213 INFO kablam! | Aug 31 00:12:41.213 INFO kablam! 6 | use api_request::HttpMethod; Aug 31 00:12:41.213 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.213 INFO kablam! Aug 31 00:12:41.213 INFO kablam! warning: unused imports: `BodyBuilder`, `RequestBody` Aug 31 00:12:41.213 INFO kablam! --> src/api_client/mod.rs:9:20 Aug 31 00:12:41.213 INFO kablam! | Aug 31 00:12:41.213 INFO kablam! 9 | use body_builder::{BodyBuilder, RequestBody}; Aug 31 00:12:41.213 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^^^ Aug 31 00:12:41.213 INFO kablam! Aug 31 00:12:41.213 INFO kablam! warning: unused import: `std::error::Error as StdErr` Aug 31 00:12:41.213 INFO kablam! --> src/api_client/mod.rs:10:5 Aug 31 00:12:41.213 INFO kablam! | Aug 31 00:12:41.213 INFO kablam! 10 | use std::error::Error as StdErr; Aug 31 00:12:41.213 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.213 INFO kablam! Aug 31 00:12:41.213 INFO kablam! warning: unused import: `hyper::error::Error as HyErr` Aug 31 00:12:41.213 INFO kablam! --> src/api_client/mod.rs:11:5 Aug 31 00:12:41.213 INFO kablam! | Aug 31 00:12:41.213 INFO kablam! 11 | use hyper::error::Error as HyErr; Aug 31 00:12:41.214 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.214 INFO kablam! Aug 31 00:12:41.214 INFO kablam! warning: unused import: `hyper::status::StatusCode` Aug 31 00:12:41.214 INFO kablam! --> src/api_client/mod.rs:13:5 Aug 31 00:12:41.214 INFO kablam! | Aug 31 00:12:41.214 INFO kablam! 13 | use hyper::status::StatusCode; Aug 31 00:12:41.214 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.214 INFO kablam! Aug 31 00:12:41.214 INFO kablam! warning: unused imports: `ErrorTiming`, `ResponseError` Aug 31 00:12:41.214 INFO kablam! --> src/api_client/mod.rs:14:23 Aug 31 00:12:41.214 INFO kablam! | Aug 31 00:12:41.214 INFO kablam! 14 | use error::{ApiError, ErrorTiming, ResponseError}; Aug 31 00:12:41.214 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^^^^^ Aug 31 00:12:41.214 INFO kablam! Aug 31 00:12:41.214 INFO kablam! warning: unused import: `hyper::client::Body` Aug 31 00:12:41.214 INFO kablam! --> src/api_client/mod.rs:17:5 Aug 31 00:12:41.214 INFO kablam! | Aug 31 00:12:41.214 INFO kablam! 17 | use hyper::client::Body; Aug 31 00:12:41.214 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.214 INFO kablam! Aug 31 00:12:41.214 INFO kablam! warning: unused import: `std::io::Read` Aug 31 00:12:41.214 INFO kablam! --> src/api_client/mod.rs:18:5 Aug 31 00:12:41.214 INFO kablam! | Aug 31 00:12:41.214 INFO kablam! 18 | use std::io::Read; Aug 31 00:12:41.215 INFO kablam! | ^^^^^^^^^^^^^ Aug 31 00:12:41.215 INFO kablam! Aug 31 00:12:41.215 INFO kablam! warning: unused import: `hyper::header::ContentLength` Aug 31 00:12:41.215 INFO kablam! --> src/api_client/mod.rs:19:5 Aug 31 00:12:41.215 INFO kablam! | Aug 31 00:12:41.215 INFO kablam! 19 | use hyper::header::ContentLength; Aug 31 00:12:41.215 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.215 INFO kablam! Aug 31 00:12:41.215 INFO kablam! warning: unused import: `hyper::header::ContentType` Aug 31 00:12:41.215 INFO kablam! --> src/api_client/mod.rs:20:5 Aug 31 00:12:41.215 INFO kablam! | Aug 31 00:12:41.215 INFO kablam! 20 | use hyper::header::ContentType; Aug 31 00:12:41.215 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.215 INFO kablam! Aug 31 00:12:41.215 INFO kablam! warning: unused import: `hyper::header::Headers` Aug 31 00:12:41.215 INFO kablam! --> src/api_client/mod.rs:21:5 Aug 31 00:12:41.215 INFO kablam! | Aug 31 00:12:41.215 INFO kablam! 21 | use hyper::header::Headers; Aug 31 00:12:41.215 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.215 INFO kablam! Aug 31 00:12:41.215 INFO kablam! warning: unused imports: `Error as StdioErr`, `Write` Aug 31 00:12:41.215 INFO kablam! --> src/api_client/mod.rs:22:15 Aug 31 00:12:41.215 INFO kablam! | Aug 31 00:12:41.215 INFO kablam! 22 | use std::io::{Write, Error as StdioErr}; Aug 31 00:12:41.216 INFO kablam! | ^^^^^ ^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.216 INFO kablam! Aug 31 00:12:41.216 INFO kablam! warning: unused import: `hyper::status::StatusCode` Aug 31 00:12:41.216 INFO kablam! --> src/api_request/mod.rs:4:5 Aug 31 00:12:41.216 INFO kablam! | Aug 31 00:12:41.216 INFO kablam! 4 | use hyper::status::StatusCode; Aug 31 00:12:41.216 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.216 INFO kablam! Aug 31 00:12:41.216 INFO kablam! warning: unused import: `std::error::Error as StdErr` Aug 31 00:12:41.216 INFO kablam! --> src/api_request/mod.rs:5:5 Aug 31 00:12:41.216 INFO kablam! | Aug 31 00:12:41.216 INFO kablam! 5 | use std::error::Error as StdErr; Aug 31 00:12:41.216 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.216 INFO kablam! Aug 31 00:12:41.216 INFO kablam! warning: unused import: `err::Error` Aug 31 00:12:41.216 INFO kablam! --> src/api_request/mod.rs:6:5 Aug 31 00:12:41.216 INFO kablam! | Aug 31 00:12:41.216 INFO kablam! 6 | use err::Error; Aug 31 00:12:41.216 INFO kablam! | ^^^^^^^^^^ Aug 31 00:12:41.216 INFO kablam! Aug 31 00:12:41.216 INFO kablam! warning: unused import: `std::fmt` Aug 31 00:12:41.216 INFO kablam! --> src/api_request/mod.rs:8:5 Aug 31 00:12:41.216 INFO kablam! | Aug 31 00:12:41.216 INFO kablam! 8 | use std::fmt; Aug 31 00:12:41.217 INFO kablam! | ^^^^^^^^ Aug 31 00:12:41.217 INFO kablam! Aug 31 00:12:41.217 INFO kablam! warning: unused import: `BodyBuilder` Aug 31 00:12:41.217 INFO kablam! --> src/api_request/mod.rs:12:20 Aug 31 00:12:41.217 INFO kablam! | Aug 31 00:12:41.217 INFO kablam! 12 | use body_builder::{BodyBuilder, RequestBody}; Aug 31 00:12:41.217 INFO kablam! | ^^^^^^^^^^^ Aug 31 00:12:41.217 INFO kablam! Aug 31 00:12:41.217 INFO kablam! warning: unused import: `std::marker::Copy` Aug 31 00:12:41.217 INFO kablam! --> src/body_builder/mod.rs:1:5 Aug 31 00:12:41.217 INFO kablam! | Aug 31 00:12:41.217 INFO kablam! 1 | use std::marker::Copy; Aug 31 00:12:41.217 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.217 INFO kablam! Aug 31 00:12:41.217 INFO kablam! warning: unused import: `serde::ser::Serialize` Aug 31 00:12:41.217 INFO kablam! --> src/body_builder/json.rs:1:5 Aug 31 00:12:41.217 INFO kablam! | Aug 31 00:12:41.217 INFO kablam! 1 | use serde::ser::Serialize; Aug 31 00:12:41.217 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.217 INFO kablam! Aug 31 00:12:41.217 INFO kablam! warning: unused imports: `BufReader`, `Read` Aug 31 00:12:41.217 INFO kablam! --> src/body_builder/json.rs:5:15 Aug 31 00:12:41.217 INFO kablam! | Aug 31 00:12:41.217 INFO kablam! 5 | use std::io::{Read, BufReader}; Aug 31 00:12:41.218 INFO kablam! | ^^^^ ^^^^^^^^^ Aug 31 00:12:41.218 INFO kablam! Aug 31 00:12:41.218 INFO kablam! warning: unused imports: `Body`, `RequestBuilder` Aug 31 00:12:41.218 INFO kablam! --> src/body_builder/json.rs:6:21 Aug 31 00:12:41.218 INFO kablam! | Aug 31 00:12:41.218 INFO kablam! 6 | use hyper::client::{Body, RequestBuilder}; Aug 31 00:12:41.218 INFO kablam! | ^^^^ ^^^^^^^^^^^^^^ Aug 31 00:12:41.218 INFO kablam! Aug 31 00:12:41.218 INFO kablam! warning: unused import: `std::convert::Into` Aug 31 00:12:41.218 INFO kablam! --> src/body_builder/json.rs:7:5 Aug 31 00:12:41.218 INFO kablam! | Aug 31 00:12:41.218 INFO kablam! 7 | use std::convert::Into; Aug 31 00:12:41.218 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.218 INFO kablam! Aug 31 00:12:41.218 INFO kablam! warning: unused import: `serde::ser::Serialize` Aug 31 00:12:41.218 INFO kablam! --> src/body_builder/form.rs:1:5 Aug 31 00:12:41.218 INFO kablam! | Aug 31 00:12:41.218 INFO kablam! 1 | use serde::ser::Serialize; Aug 31 00:12:41.218 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.218 INFO kablam! Aug 31 00:12:41.218 INFO kablam! warning: unused import: `serde_json::ser` Aug 31 00:12:41.219 INFO kablam! --> src/body_builder/form.rs:2:5 Aug 31 00:12:41.219 INFO kablam! | Aug 31 00:12:41.219 INFO kablam! 2 | use serde_json::ser; Aug 31 00:12:41.219 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 31 00:12:41.219 INFO kablam! Aug 31 00:12:41.219 INFO kablam! warning: unused import: `serde_json::value::Value` Aug 31 00:12:41.219 INFO kablam! --> src/body_builder/form.rs:3:5 Aug 31 00:12:41.219 INFO kablam! | Aug 31 00:12:41.219 INFO kablam! 3 | use serde_json::value::Value; Aug 31 00:12:41.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.219 INFO kablam! Aug 31 00:12:41.219 INFO kablam! warning: unused imports: `BufReader`, `Read` Aug 31 00:12:41.219 INFO kablam! --> src/body_builder/form.rs:5:15 Aug 31 00:12:41.219 INFO kablam! | Aug 31 00:12:41.219 INFO kablam! 5 | use std::io::{Read, BufReader}; Aug 31 00:12:41.219 INFO kablam! | ^^^^ ^^^^^^^^^ Aug 31 00:12:41.219 INFO kablam! Aug 31 00:12:41.219 INFO kablam! warning: unused imports: `Body`, `RequestBuilder` Aug 31 00:12:41.219 INFO kablam! --> src/body_builder/form.rs:6:21 Aug 31 00:12:41.219 INFO kablam! | Aug 31 00:12:41.219 INFO kablam! 6 | use hyper::client::{Body, RequestBuilder}; Aug 31 00:12:41.219 INFO kablam! | ^^^^ ^^^^^^^^^^^^^^ Aug 31 00:12:41.220 INFO kablam! Aug 31 00:12:41.220 INFO kablam! warning: unused import: `std::convert::Into` Aug 31 00:12:41.220 INFO kablam! --> src/body_builder/form.rs:7:5 Aug 31 00:12:41.220 INFO kablam! | Aug 31 00:12:41.220 INFO kablam! 7 | use std::convert::Into; Aug 31 00:12:41.220 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.220 INFO kablam! Aug 31 00:12:41.220 INFO kablam! warning: unused import: `std::marker::PhantomData` Aug 31 00:12:41.220 INFO kablam! --> src/error/mod.rs:3:5 Aug 31 00:12:41.220 INFO kablam! | Aug 31 00:12:41.220 INFO kablam! 3 | use std::marker::PhantomData; Aug 31 00:12:41.220 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.220 INFO kablam! Aug 31 00:12:41.220 INFO kablam! warning: unused import: `Body` Aug 31 00:12:41.220 INFO kablam! --> src/interceptor/mod.rs:4:29 Aug 31 00:12:41.220 INFO kablam! | Aug 31 00:12:41.220 INFO kablam! 4 | use hyper::client::{Client, Body}; Aug 31 00:12:41.220 INFO kablam! | ^^^^ Aug 31 00:12:41.220 INFO kablam! Aug 31 00:12:41.220 INFO kablam! warning: unused import: `hyper::client::RequestBuilder` Aug 31 00:12:41.220 INFO kablam! --> src/interceptor/mod.rs:5:5 Aug 31 00:12:41.220 INFO kablam! | Aug 31 00:12:41.220 INFO kablam! 5 | use hyper::client::RequestBuilder; Aug 31 00:12:41.220 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.220 INFO kablam! Aug 31 00:12:41.220 INFO kablam! warning: unused import: `Fresh` Aug 31 00:12:41.221 INFO kablam! --> src/interceptor/mod.rs:8:18 Aug 31 00:12:41.221 INFO kablam! | Aug 31 00:12:41.221 INFO kablam! 8 | use hyper::net::{Fresh, Streaming}; Aug 31 00:12:41.221 INFO kablam! | ^^^^^ Aug 31 00:12:41.221 INFO kablam! Aug 31 00:12:41.221 INFO kablam! warning: unused import: `api_request::HttpMethod` Aug 31 00:12:41.221 INFO kablam! --> src/interceptor/mod.rs:10:5 Aug 31 00:12:41.221 INFO kablam! | Aug 31 00:12:41.221 INFO kablam! 10 | use api_request::HttpMethod; Aug 31 00:12:41.221 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.221 INFO kablam! Aug 31 00:12:41.221 INFO kablam! warning: unused imports: `BodyBuilder`, `RequestBody` Aug 31 00:12:41.221 INFO kablam! --> src/interceptor/mod.rs:11:20 Aug 31 00:12:41.221 INFO kablam! | Aug 31 00:12:41.221 INFO kablam! 11 | use body_builder::{BodyBuilder, RequestBody}; Aug 31 00:12:41.221 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^^^ Aug 31 00:12:41.221 INFO kablam! Aug 31 00:12:41.221 INFO kablam! warning: unused import: `std::error::Error as StdErr` Aug 31 00:12:41.221 INFO kablam! --> src/interceptor/mod.rs:12:5 Aug 31 00:12:41.221 INFO kablam! | Aug 31 00:12:41.221 INFO kablam! 12 | use std::error::Error as StdErr; Aug 31 00:12:41.221 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.221 INFO kablam! Aug 31 00:12:41.221 INFO kablam! warning: unused import: `hyper::status::StatusCode` Aug 31 00:12:41.221 INFO kablam! --> src/interceptor/mod.rs:15:5 Aug 31 00:12:41.221 INFO kablam! | Aug 31 00:12:41.221 INFO kablam! 15 | use hyper::status::StatusCode; Aug 31 00:12:41.221 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.221 INFO kablam! Aug 31 00:12:41.221 INFO kablam! warning: unused import: `ResponseError` Aug 31 00:12:41.221 INFO kablam! --> src/interceptor/mod.rs:16:36 Aug 31 00:12:41.222 INFO kablam! | Aug 31 00:12:41.222 INFO kablam! 16 | use error::{ApiError, ErrorTiming, ResponseError}; Aug 31 00:12:41.222 INFO kablam! | ^^^^^^^^^^^^^ Aug 31 00:12:41.222 INFO kablam! Aug 31 00:12:41.222 INFO kablam! warning: unused import: `std::io::Read` Aug 31 00:12:41.222 INFO kablam! --> src/interceptor/mod.rs:19:5 Aug 31 00:12:41.222 INFO kablam! | Aug 31 00:12:41.222 INFO kablam! 19 | use std::io::Read; Aug 31 00:12:41.222 INFO kablam! | ^^^^^^^^^^^^^ Aug 31 00:12:41.222 INFO kablam! Aug 31 00:12:41.222 INFO kablam! warning: unused import: `Headers` Aug 31 00:12:41.222 INFO kablam! --> src/interceptor/mod.rs:20:49 Aug 31 00:12:41.222 INFO kablam! | Aug 31 00:12:41.222 INFO kablam! 20 | use hyper::header::{ContentLength, ContentType, Headers}; Aug 31 00:12:41.222 INFO kablam! | ^^^^^^^ Aug 31 00:12:41.222 INFO kablam! Aug 31 00:12:41.431 INFO kablam! warning: unused import: `api_client::ApiClient` Aug 31 00:12:41.431 INFO kablam! --> src/interceptor/mod.rs:9:5 Aug 31 00:12:41.431 INFO kablam! | Aug 31 00:12:41.431 INFO kablam! 9 | use api_client::ApiClient; Aug 31 00:12:41.431 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.431 INFO kablam! Aug 31 00:12:41.480 INFO kablam! warning: unused variable: `code` Aug 31 00:12:41.480 INFO kablam! --> src/error/mod.rs:66:51 Aug 31 00:12:41.481 INFO kablam! | Aug 31 00:12:41.481 INFO kablam! 66 | ResponseError::UnacceptableStatusCode(code) => "Unacceptable Status code", Aug 31 00:12:41.481 INFO kablam! | ^^^^ help: consider using `_code` instead Aug 31 00:12:41.481 INFO kablam! | Aug 31 00:12:41.481 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 31 00:12:41.481 INFO kablam! Aug 31 00:12:41.481 INFO kablam! warning: unused variable: `hyclient` Aug 31 00:12:41.481 INFO kablam! --> src/interceptor/mod.rs:70:13 Aug 31 00:12:41.481 INFO kablam! | Aug 31 00:12:41.481 INFO kablam! 70 | let hyclient = Client::new(); Aug 31 00:12:41.481 INFO kablam! | ^^^^^^^^ help: consider using `_hyclient` instead Aug 31 00:12:41.481 INFO kablam! Aug 31 00:12:41.486 INFO kablam! warning: variable does not need to be mutable Aug 31 00:12:41.486 INFO kablam! --> src/api_client/mod.rs:44:16 Aug 31 00:12:41.486 INFO kablam! | Aug 31 00:12:41.486 INFO kablam! 44 | Ok(mut response) => self.api_request_builder.responseFromObject(response), Aug 31 00:12:41.486 INFO kablam! | ----^^^^^^^^ Aug 31 00:12:41.486 INFO kablam! | | Aug 31 00:12:41.486 INFO kablam! | help: remove this `mut` Aug 31 00:12:41.486 INFO kablam! | Aug 31 00:12:41.486 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 31 00:12:41.486 INFO kablam! Aug 31 00:12:41.529 INFO kablam! warning: variable does not need to be mutable Aug 31 00:12:41.530 INFO kablam! --> src/interceptor/mod.rs:126:13 Aug 31 00:12:41.530 INFO kablam! | Aug 31 00:12:41.530 INFO kablam! 126 | let mut result = match req_started.send() { Aug 31 00:12:41.530 INFO kablam! | ----^^^^^^ Aug 31 00:12:41.530 INFO kablam! | | Aug 31 00:12:41.530 INFO kablam! | help: remove this `mut` Aug 31 00:12:41.530 INFO kablam! Aug 31 00:12:41.536 INFO kablam! warning: method `addInterceptor` should have a snake case name such as `add_interceptor` Aug 31 00:12:41.536 INFO kablam! --> src/api_client/mod.rs:32:5 Aug 31 00:12:41.536 INFO kablam! | Aug 31 00:12:41.536 INFO kablam! 32 | / pub fn addInterceptor(mut self, interceptor: Box) -> RealCall { Aug 31 00:12:41.536 INFO kablam! 33 | | self.interceptors.push(interceptor); Aug 31 00:12:41.536 INFO kablam! 34 | | return self; Aug 31 00:12:41.536 INFO kablam! 35 | | } Aug 31 00:12:41.536 INFO kablam! | |_____^ Aug 31 00:12:41.536 INFO kablam! | Aug 31 00:12:41.536 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 31 00:12:41.536 INFO kablam! Aug 31 00:12:41.537 INFO kablam! warning: variable `apiErr` should have a snake case name such as `api_err` Aug 31 00:12:41.537 INFO kablam! --> src/api_client/mod.rs:45:17 Aug 31 00:12:41.537 INFO kablam! | Aug 31 00:12:41.537 INFO kablam! 45 | Err(apiErr) => Err(apiErr), Aug 31 00:12:41.537 INFO kablam! | ^^^^^^ Aug 31 00:12:41.537 INFO kablam! Aug 31 00:12:41.538 INFO kablam! warning: structure field `queryParameters` should have a snake case name such as `query_parameters` Aug 31 00:12:41.538 INFO kablam! --> src/api_request/mod.rs:21:5 Aug 31 00:12:41.538 INFO kablam! | Aug 31 00:12:41.538 INFO kablam! 21 | pub queryParameters: Vec<(String, String)>, Aug 31 00:12:41.538 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.538 INFO kablam! Aug 31 00:12:41.538 INFO kablam! warning: trait method `queryParameters` should have a snake case name such as `query_parameters` Aug 31 00:12:41.538 INFO kablam! --> src/api_request/mod.rs:32:5 Aug 31 00:12:41.538 INFO kablam! | Aug 31 00:12:41.538 INFO kablam! 32 | / fn queryParameters(&self) -> Vec<(String, String)> { Aug 31 00:12:41.538 INFO kablam! 33 | | let vc: Vec<(String, String)> = vec![]; Aug 31 00:12:41.538 INFO kablam! 34 | | return vc; Aug 31 00:12:41.538 INFO kablam! 35 | | } Aug 31 00:12:41.538 INFO kablam! | |_____^ Aug 31 00:12:41.539 INFO kablam! Aug 31 00:12:41.539 INFO kablam! warning: trait method `requestBody` should have a snake case name such as `request_body` Aug 31 00:12:41.539 INFO kablam! --> src/api_request/mod.rs:36:5 Aug 31 00:12:41.539 INFO kablam! | Aug 31 00:12:41.539 INFO kablam! 36 | / fn requestBody(&self) -> Option { Aug 31 00:12:41.539 INFO kablam! 37 | | return None; Aug 31 00:12:41.539 INFO kablam! 38 | | } Aug 31 00:12:41.539 INFO kablam! | |_____^ Aug 31 00:12:41.539 INFO kablam! Aug 31 00:12:41.539 INFO kablam! warning: trait method `interceptRequest` should have a snake case name such as `intercept_request` Aug 31 00:12:41.539 INFO kablam! --> src/api_request/mod.rs:39:5 Aug 31 00:12:41.539 INFO kablam! | Aug 31 00:12:41.539 INFO kablam! 39 | / fn interceptRequest(&self, request: Request) -> Result, ApiError> { Aug 31 00:12:41.539 INFO kablam! 40 | | return Ok(request); Aug 31 00:12:41.539 INFO kablam! 41 | | } Aug 31 00:12:41.539 INFO kablam! | |_____^ Aug 31 00:12:41.539 INFO kablam! Aug 31 00:12:41.539 INFO kablam! warning: trait method `interceptResponse` should have a snake case name such as `intercept_response` Aug 31 00:12:41.539 INFO kablam! --> src/api_request/mod.rs:42:5 Aug 31 00:12:41.539 INFO kablam! | Aug 31 00:12:41.539 INFO kablam! 42 | / fn interceptResponse(&self, Aug 31 00:12:41.540 INFO kablam! 43 | | response: Rc>) Aug 31 00:12:41.540 INFO kablam! 44 | | -> Result>, ApiError> { Aug 31 00:12:41.540 INFO kablam! 45 | | return Ok(response); Aug 31 00:12:41.540 INFO kablam! 46 | | } Aug 31 00:12:41.540 INFO kablam! | |_____^ Aug 31 00:12:41.540 INFO kablam! Aug 31 00:12:41.540 INFO kablam! warning: trait method `responseFromObject` should have a snake case name such as `response_from_object` Aug 31 00:12:41.540 INFO kablam! --> src/api_request/mod.rs:47:5 Aug 31 00:12:41.540 INFO kablam! | Aug 31 00:12:41.540 INFO kablam! 47 | / fn responseFromObject(&self, Aug 31 00:12:41.540 INFO kablam! 48 | | response: Rc>) Aug 31 00:12:41.540 INFO kablam! 49 | | -> Result; Aug 31 00:12:41.540 INFO kablam! | |____________________________________________________________^ Aug 31 00:12:41.540 INFO kablam! Aug 31 00:12:41.540 INFO kablam! warning: structure field `jsonObject` should have a snake case name such as `json_object` Aug 31 00:12:41.540 INFO kablam! --> src/body_builder/json.rs:10:5 Aug 31 00:12:41.540 INFO kablam! | Aug 31 00:12:41.540 INFO kablam! 10 | pub jsonObject: Value, Aug 31 00:12:41.540 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.540 INFO kablam! Aug 31 00:12:41.546 INFO kablam! warning: variable `requestUri` should have a snake case name such as `request_uri` Aug 31 00:12:41.546 INFO kablam! --> src/interceptor/mod.rs:73:13 Aug 31 00:12:41.546 INFO kablam! | Aug 31 00:12:41.546 INFO kablam! 73 | let mut requestUri: Url = Url::parse(&format!("{}{}", base_url, api_request.path)).unwrap(); Aug 31 00:12:41.546 INFO kablam! | ^^^^^^^^^^^^^^ Aug 31 00:12:41.546 INFO kablam! Aug 31 00:12:41.546 INFO kablam! warning: variable `querySerializer` should have a snake case name such as `query_serializer` Aug 31 00:12:41.546 INFO kablam! --> src/interceptor/mod.rs:75:17 Aug 31 00:12:41.546 INFO kablam! | Aug 31 00:12:41.546 INFO kablam! 75 | let mut querySerializer = requestUri.query_pairs_mut(); Aug 31 00:12:41.546 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.546 INFO kablam! Aug 31 00:12:41.546 INFO kablam! warning: variable `queryPair` should have a snake case name such as `query_pair` Aug 31 00:12:41.546 INFO kablam! --> src/interceptor/mod.rs:76:17 Aug 31 00:12:41.546 INFO kablam! | Aug 31 00:12:41.546 INFO kablam! 76 | for queryPair in &api_request.queryParameters { Aug 31 00:12:41.546 INFO kablam! | ^^^^^^^^^ Aug 31 00:12:41.547 INFO kablam! Aug 31 00:12:41.547 INFO kablam! warning: variable `apiError` should have a snake case name such as `api_error` Aug 31 00:12:41.547 INFO kablam! --> src/interceptor/mod.rs:83:21 Aug 31 00:12:41.547 INFO kablam! | Aug 31 00:12:41.547 INFO kablam! 83 | let apiError = ApiError::new::(err, ErrorTiming::AtRequest); Aug 31 00:12:41.547 INFO kablam! | ^^^^^^^^ Aug 31 00:12:41.547 INFO kablam! Aug 31 00:12:41.547 INFO kablam! warning: variable `interceptedRequest` should have a snake case name such as `intercepted_request` Aug 31 00:12:41.547 INFO kablam! --> src/interceptor/mod.rs:101:16 Aug 31 00:12:41.548 INFO kablam! | Aug 31 00:12:41.548 INFO kablam! 101 | Ok(interceptedRequest) => { Aug 31 00:12:41.548 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.548 INFO kablam! Aug 31 00:12:41.548 INFO kablam! warning: variable `apiError` should have a snake case name such as `api_error` Aug 31 00:12:41.548 INFO kablam! --> src/interceptor/mod.rs:105:29 Aug 31 00:12:41.548 INFO kablam! | Aug 31 00:12:41.548 INFO kablam! 105 | let apiError = ApiError::new::(err, ErrorTiming::AtRequest); Aug 31 00:12:41.548 INFO kablam! | ^^^^^^^^ Aug 31 00:12:41.548 INFO kablam! Aug 31 00:12:41.548 INFO kablam! warning: variable `apiError` should have a snake case name such as `api_error` Aug 31 00:12:41.548 INFO kablam! --> src/interceptor/mod.rs:118:29 Aug 31 00:12:41.548 INFO kablam! | Aug 31 00:12:41.548 INFO kablam! 118 | let apiError = ApiError::new::(err, ErrorTiming::AtRequest); Aug 31 00:12:41.548 INFO kablam! | ^^^^^^^^ Aug 31 00:12:41.548 INFO kablam! Aug 31 00:12:41.548 INFO kablam! warning: variable `apiError` should have a snake case name such as `api_error` Aug 31 00:12:41.548 INFO kablam! --> src/interceptor/mod.rs:129:21 Aug 31 00:12:41.548 INFO kablam! | Aug 31 00:12:41.548 INFO kablam! 129 | let apiError = ApiError::new::(err, ErrorTiming::AtNetwork); Aug 31 00:12:41.548 INFO kablam! | ^^^^^^^^ Aug 31 00:12:41.548 INFO kablam! Aug 31 00:12:41.549 INFO kablam! warning: variable `interceptedResponse` should have a snake case name such as `intercepted_response` Aug 31 00:12:41.549 INFO kablam! --> src/interceptor/mod.rs:135:16 Aug 31 00:12:41.549 INFO kablam! | Aug 31 00:12:41.549 INFO kablam! 135 | Ok(interceptedResponse) => Ok(interceptedResponse), Aug 31 00:12:41.549 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.549 INFO kablam! Aug 31 00:12:41.632 INFO kablam! warning: unused import: `hyper::client::Client` Aug 31 00:12:41.632 INFO kablam! --> src/api_client/mod.rs:1:5 Aug 31 00:12:41.632 INFO kablam! | Aug 31 00:12:41.632 INFO kablam! 1 | use hyper::client::Client; Aug 31 00:12:41.632 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.632 INFO kablam! | Aug 31 00:12:41.632 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 31 00:12:41.633 INFO kablam! Aug 31 00:12:41.633 INFO kablam! warning: unused import: `hyper::client::response::Response` Aug 31 00:12:41.633 INFO kablam! --> src/api_client/mod.rs:2:5 Aug 31 00:12:41.633 INFO kablam! | Aug 31 00:12:41.633 INFO kablam! 2 | use hyper::client::response::Response; Aug 31 00:12:41.633 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.633 INFO kablam! Aug 31 00:12:41.633 INFO kablam! warning: unused import: `hyper::client::RequestBuilder` Aug 31 00:12:41.633 INFO kablam! --> src/api_client/mod.rs:3:5 Aug 31 00:12:41.633 INFO kablam! | Aug 31 00:12:41.633 INFO kablam! 3 | use hyper::client::RequestBuilder; Aug 31 00:12:41.633 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.633 INFO kablam! Aug 31 00:12:41.633 INFO kablam! warning: unused import: `hyper::client::request::Request` Aug 31 00:12:41.633 INFO kablam! --> src/api_client/mod.rs:4:5 Aug 31 00:12:41.633 INFO kablam! | Aug 31 00:12:41.633 INFO kablam! 4 | use hyper::client::request::Request; Aug 31 00:12:41.633 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.633 INFO kablam! Aug 31 00:12:41.633 INFO kablam! warning: unused import: `hyper::Url` Aug 31 00:12:41.633 INFO kablam! --> src/api_client/mod.rs:5:5 Aug 31 00:12:41.633 INFO kablam! | Aug 31 00:12:41.633 INFO kablam! 5 | use hyper::Url; Aug 31 00:12:41.633 INFO kablam! | ^^^^^^^^^^ Aug 31 00:12:41.633 INFO kablam! Aug 31 00:12:41.633 INFO kablam! warning: unused import: `api_request::HttpMethod` Aug 31 00:12:41.633 INFO kablam! --> src/api_client/mod.rs:6:5 Aug 31 00:12:41.633 INFO kablam! | Aug 31 00:12:41.633 INFO kablam! 6 | use api_request::HttpMethod; Aug 31 00:12:41.633 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.634 INFO kablam! Aug 31 00:12:41.634 INFO kablam! warning: unused imports: `BodyBuilder`, `RequestBody` Aug 31 00:12:41.634 INFO kablam! --> src/api_client/mod.rs:9:20 Aug 31 00:12:41.634 INFO kablam! | Aug 31 00:12:41.634 INFO kablam! 9 | use body_builder::{BodyBuilder, RequestBody}; Aug 31 00:12:41.634 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^^^ Aug 31 00:12:41.634 INFO kablam! Aug 31 00:12:41.634 INFO kablam! warning: unused import: `std::error::Error as StdErr` Aug 31 00:12:41.634 INFO kablam! --> src/api_client/mod.rs:10:5 Aug 31 00:12:41.634 INFO kablam! | Aug 31 00:12:41.634 INFO kablam! 10 | use std::error::Error as StdErr; Aug 31 00:12:41.634 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.634 INFO kablam! Aug 31 00:12:41.634 INFO kablam! warning: unused import: `hyper::error::Error as HyErr` Aug 31 00:12:41.634 INFO kablam! --> src/api_client/mod.rs:11:5 Aug 31 00:12:41.634 INFO kablam! | Aug 31 00:12:41.634 INFO kablam! 11 | use hyper::error::Error as HyErr; Aug 31 00:12:41.634 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.634 INFO kablam! Aug 31 00:12:41.634 INFO kablam! warning: unused import: `hyper::status::StatusCode` Aug 31 00:12:41.634 INFO kablam! --> src/api_client/mod.rs:13:5 Aug 31 00:12:41.634 INFO kablam! | Aug 31 00:12:41.634 INFO kablam! 13 | use hyper::status::StatusCode; Aug 31 00:12:41.634 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.634 INFO kablam! Aug 31 00:12:41.634 INFO kablam! warning: unused imports: `ErrorTiming`, `ResponseError` Aug 31 00:12:41.634 INFO kablam! --> src/api_client/mod.rs:14:23 Aug 31 00:12:41.634 INFO kablam! | Aug 31 00:12:41.635 INFO kablam! 14 | use error::{ApiError, ErrorTiming, ResponseError}; Aug 31 00:12:41.635 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^^^^^ Aug 31 00:12:41.635 INFO kablam! Aug 31 00:12:41.635 INFO kablam! warning: unused import: `hyper::client::Body` Aug 31 00:12:41.635 INFO kablam! --> src/api_client/mod.rs:17:5 Aug 31 00:12:41.635 INFO kablam! | Aug 31 00:12:41.635 INFO kablam! 17 | use hyper::client::Body; Aug 31 00:12:41.635 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.635 INFO kablam! Aug 31 00:12:41.635 INFO kablam! warning: unused import: `std::io::Read` Aug 31 00:12:41.635 INFO kablam! --> src/api_client/mod.rs:18:5 Aug 31 00:12:41.635 INFO kablam! | Aug 31 00:12:41.635 INFO kablam! 18 | use std::io::Read; Aug 31 00:12:41.635 INFO kablam! | ^^^^^^^^^^^^^ Aug 31 00:12:41.635 INFO kablam! Aug 31 00:12:41.635 INFO kablam! warning: unused import: `hyper::header::ContentLength` Aug 31 00:12:41.635 INFO kablam! --> src/api_client/mod.rs:19:5 Aug 31 00:12:41.635 INFO kablam! | Aug 31 00:12:41.635 INFO kablam! 19 | use hyper::header::ContentLength; Aug 31 00:12:41.635 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.635 INFO kablam! Aug 31 00:12:41.635 INFO kablam! warning: unused import: `hyper::header::ContentType` Aug 31 00:12:41.635 INFO kablam! --> src/api_client/mod.rs:20:5 Aug 31 00:12:41.635 INFO kablam! | Aug 31 00:12:41.635 INFO kablam! 20 | use hyper::header::ContentType; Aug 31 00:12:41.635 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.635 INFO kablam! Aug 31 00:12:41.636 INFO kablam! warning: unused import: `hyper::header::Headers` Aug 31 00:12:41.636 INFO kablam! --> src/api_client/mod.rs:21:5 Aug 31 00:12:41.636 INFO kablam! | Aug 31 00:12:41.636 INFO kablam! 21 | use hyper::header::Headers; Aug 31 00:12:41.636 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.636 INFO kablam! Aug 31 00:12:41.636 INFO kablam! warning: unused imports: `Error as StdioErr`, `Write` Aug 31 00:12:41.636 INFO kablam! --> src/api_client/mod.rs:22:15 Aug 31 00:12:41.636 INFO kablam! | Aug 31 00:12:41.636 INFO kablam! 22 | use std::io::{Write, Error as StdioErr}; Aug 31 00:12:41.636 INFO kablam! | ^^^^^ ^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.636 INFO kablam! Aug 31 00:12:41.636 INFO kablam! warning: unused import: `hyper::status::StatusCode` Aug 31 00:12:41.636 INFO kablam! --> src/api_request/mod.rs:4:5 Aug 31 00:12:41.636 INFO kablam! | Aug 31 00:12:41.636 INFO kablam! 4 | use hyper::status::StatusCode; Aug 31 00:12:41.636 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.636 INFO kablam! Aug 31 00:12:41.636 INFO kablam! warning: unused import: `std::error::Error as StdErr` Aug 31 00:12:41.636 INFO kablam! --> src/api_request/mod.rs:5:5 Aug 31 00:12:41.636 INFO kablam! | Aug 31 00:12:41.636 INFO kablam! 5 | use std::error::Error as StdErr; Aug 31 00:12:41.636 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.636 INFO kablam! Aug 31 00:12:41.636 INFO kablam! warning: unused import: `err::Error` Aug 31 00:12:41.636 INFO kablam! --> src/api_request/mod.rs:6:5 Aug 31 00:12:41.636 INFO kablam! | Aug 31 00:12:41.636 INFO kablam! 6 | use err::Error; Aug 31 00:12:41.636 INFO kablam! | ^^^^^^^^^^ Aug 31 00:12:41.637 INFO kablam! Aug 31 00:12:41.637 INFO kablam! warning: unused import: `std::fmt` Aug 31 00:12:41.637 INFO kablam! --> src/api_request/mod.rs:8:5 Aug 31 00:12:41.637 INFO kablam! | Aug 31 00:12:41.637 INFO kablam! 8 | use std::fmt; Aug 31 00:12:41.637 INFO kablam! | ^^^^^^^^ Aug 31 00:12:41.637 INFO kablam! Aug 31 00:12:41.637 INFO kablam! warning: unused import: `BodyBuilder` Aug 31 00:12:41.637 INFO kablam! --> src/api_request/mod.rs:12:20 Aug 31 00:12:41.637 INFO kablam! | Aug 31 00:12:41.637 INFO kablam! 12 | use body_builder::{BodyBuilder, RequestBody}; Aug 31 00:12:41.637 INFO kablam! | ^^^^^^^^^^^ Aug 31 00:12:41.637 INFO kablam! Aug 31 00:12:41.637 INFO kablam! warning: unused import: `std::marker::Copy` Aug 31 00:12:41.637 INFO kablam! --> src/body_builder/mod.rs:1:5 Aug 31 00:12:41.637 INFO kablam! | Aug 31 00:12:41.637 INFO kablam! 1 | use std::marker::Copy; Aug 31 00:12:41.637 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.637 INFO kablam! Aug 31 00:12:41.637 INFO kablam! warning: unused import: `serde::ser::Serialize` Aug 31 00:12:41.637 INFO kablam! --> src/body_builder/json.rs:1:5 Aug 31 00:12:41.637 INFO kablam! | Aug 31 00:12:41.637 INFO kablam! 1 | use serde::ser::Serialize; Aug 31 00:12:41.637 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.637 INFO kablam! Aug 31 00:12:41.637 INFO kablam! warning: unused imports: `BufReader`, `Read` Aug 31 00:12:41.637 INFO kablam! --> src/body_builder/json.rs:5:15 Aug 31 00:12:41.637 INFO kablam! | Aug 31 00:12:41.637 INFO kablam! 5 | use std::io::{Read, BufReader}; Aug 31 00:12:41.638 INFO kablam! | ^^^^ ^^^^^^^^^ Aug 31 00:12:41.638 INFO kablam! Aug 31 00:12:41.638 INFO kablam! warning: unused imports: `Body`, `RequestBuilder` Aug 31 00:12:41.638 INFO kablam! --> src/body_builder/json.rs:6:21 Aug 31 00:12:41.638 INFO kablam! | Aug 31 00:12:41.638 INFO kablam! 6 | use hyper::client::{Body, RequestBuilder}; Aug 31 00:12:41.638 INFO kablam! | ^^^^ ^^^^^^^^^^^^^^ Aug 31 00:12:41.638 INFO kablam! Aug 31 00:12:41.638 INFO kablam! warning: unused import: `std::convert::Into` Aug 31 00:12:41.638 INFO kablam! --> src/body_builder/json.rs:7:5 Aug 31 00:12:41.638 INFO kablam! | Aug 31 00:12:41.638 INFO kablam! 7 | use std::convert::Into; Aug 31 00:12:41.638 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.638 INFO kablam! Aug 31 00:12:41.638 INFO kablam! warning: unused import: `serde::ser::Serialize` Aug 31 00:12:41.638 INFO kablam! --> src/body_builder/form.rs:1:5 Aug 31 00:12:41.638 INFO kablam! | Aug 31 00:12:41.639 INFO kablam! 1 | use serde::ser::Serialize; Aug 31 00:12:41.639 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.639 INFO kablam! Aug 31 00:12:41.639 INFO kablam! warning: unused import: `serde_json::ser` Aug 31 00:12:41.639 INFO kablam! --> src/body_builder/form.rs:2:5 Aug 31 00:12:41.639 INFO kablam! | Aug 31 00:12:41.639 INFO kablam! 2 | use serde_json::ser; Aug 31 00:12:41.639 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 31 00:12:41.639 INFO kablam! Aug 31 00:12:41.639 INFO kablam! warning: unused import: `serde_json::value::Value` Aug 31 00:12:41.639 INFO kablam! --> src/body_builder/form.rs:3:5 Aug 31 00:12:41.639 INFO kablam! | Aug 31 00:12:41.639 INFO kablam! 3 | use serde_json::value::Value; Aug 31 00:12:41.639 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.639 INFO kablam! Aug 31 00:12:41.639 INFO kablam! warning: unused imports: `BufReader`, `Read` Aug 31 00:12:41.639 INFO kablam! --> src/body_builder/form.rs:5:15 Aug 31 00:12:41.639 INFO kablam! | Aug 31 00:12:41.639 INFO kablam! 5 | use std::io::{Read, BufReader}; Aug 31 00:12:41.640 INFO kablam! | ^^^^ ^^^^^^^^^ Aug 31 00:12:41.640 INFO kablam! Aug 31 00:12:41.640 INFO kablam! warning: unused imports: `Body`, `RequestBuilder` Aug 31 00:12:41.640 INFO kablam! --> src/body_builder/form.rs:6:21 Aug 31 00:12:41.640 INFO kablam! | Aug 31 00:12:41.640 INFO kablam! 6 | use hyper::client::{Body, RequestBuilder}; Aug 31 00:12:41.640 INFO kablam! | ^^^^ ^^^^^^^^^^^^^^ Aug 31 00:12:41.640 INFO kablam! Aug 31 00:12:41.640 INFO kablam! warning: unused import: `std::convert::Into` Aug 31 00:12:41.640 INFO kablam! --> src/body_builder/form.rs:7:5 Aug 31 00:12:41.640 INFO kablam! | Aug 31 00:12:41.640 INFO kablam! 7 | use std::convert::Into; Aug 31 00:12:41.640 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.640 INFO kablam! Aug 31 00:12:41.640 INFO kablam! warning: unused import: `std::marker::PhantomData` Aug 31 00:12:41.640 INFO kablam! --> src/error/mod.rs:3:5 Aug 31 00:12:41.640 INFO kablam! | Aug 31 00:12:41.640 INFO kablam! 3 | use std::marker::PhantomData; Aug 31 00:12:41.640 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.641 INFO kablam! Aug 31 00:12:41.641 INFO kablam! warning: unused import: `Body` Aug 31 00:12:41.641 INFO kablam! --> src/interceptor/mod.rs:4:29 Aug 31 00:12:41.641 INFO kablam! | Aug 31 00:12:41.641 INFO kablam! 4 | use hyper::client::{Client, Body}; Aug 31 00:12:41.641 INFO kablam! | ^^^^ Aug 31 00:12:41.641 INFO kablam! Aug 31 00:12:41.641 INFO kablam! warning: unused import: `hyper::client::RequestBuilder` Aug 31 00:12:41.641 INFO kablam! --> src/interceptor/mod.rs:5:5 Aug 31 00:12:41.641 INFO kablam! | Aug 31 00:12:41.641 INFO kablam! 5 | use hyper::client::RequestBuilder; Aug 31 00:12:41.641 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.641 INFO kablam! Aug 31 00:12:41.641 INFO kablam! warning: unused import: `Fresh` Aug 31 00:12:41.641 INFO kablam! --> src/interceptor/mod.rs:8:18 Aug 31 00:12:41.641 INFO kablam! | Aug 31 00:12:41.641 INFO kablam! 8 | use hyper::net::{Fresh, Streaming}; Aug 31 00:12:41.641 INFO kablam! | ^^^^^ Aug 31 00:12:41.641 INFO kablam! Aug 31 00:12:41.641 INFO kablam! warning: unused import: `api_request::HttpMethod` Aug 31 00:12:41.641 INFO kablam! --> src/interceptor/mod.rs:10:5 Aug 31 00:12:41.642 INFO kablam! | Aug 31 00:12:41.642 INFO kablam! 10 | use api_request::HttpMethod; Aug 31 00:12:41.642 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.642 INFO kablam! Aug 31 00:12:41.642 INFO kablam! warning: unused imports: `BodyBuilder`, `RequestBody` Aug 31 00:12:41.642 INFO kablam! --> src/interceptor/mod.rs:11:20 Aug 31 00:12:41.642 INFO kablam! | Aug 31 00:12:41.642 INFO kablam! 11 | use body_builder::{BodyBuilder, RequestBody}; Aug 31 00:12:41.642 INFO kablam! | ^^^^^^^^^^^ ^^^^^^^^^^^ Aug 31 00:12:41.642 INFO kablam! Aug 31 00:12:41.642 INFO kablam! warning: unused import: `std::error::Error as StdErr` Aug 31 00:12:41.642 INFO kablam! --> src/interceptor/mod.rs:12:5 Aug 31 00:12:41.642 INFO kablam! | Aug 31 00:12:41.642 INFO kablam! 12 | use std::error::Error as StdErr; Aug 31 00:12:41.642 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.642 INFO kablam! Aug 31 00:12:41.642 INFO kablam! warning: unused import: `hyper::status::StatusCode` Aug 31 00:12:41.643 INFO kablam! --> src/interceptor/mod.rs:15:5 Aug 31 00:12:41.643 INFO kablam! | Aug 31 00:12:41.643 INFO kablam! 15 | use hyper::status::StatusCode; Aug 31 00:12:41.643 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.643 INFO kablam! Aug 31 00:12:41.643 INFO kablam! warning: unused import: `ResponseError` Aug 31 00:12:41.643 INFO kablam! --> src/interceptor/mod.rs:16:36 Aug 31 00:12:41.643 INFO kablam! | Aug 31 00:12:41.643 INFO kablam! 16 | use error::{ApiError, ErrorTiming, ResponseError}; Aug 31 00:12:41.643 INFO kablam! | ^^^^^^^^^^^^^ Aug 31 00:12:41.643 INFO kablam! Aug 31 00:12:41.643 INFO kablam! warning: unused import: `std::io::Read` Aug 31 00:12:41.643 INFO kablam! --> src/interceptor/mod.rs:19:5 Aug 31 00:12:41.643 INFO kablam! | Aug 31 00:12:41.643 INFO kablam! 19 | use std::io::Read; Aug 31 00:12:41.643 INFO kablam! | ^^^^^^^^^^^^^ Aug 31 00:12:41.643 INFO kablam! Aug 31 00:12:41.643 INFO kablam! warning: unused import: `Headers` Aug 31 00:12:41.644 INFO kablam! --> src/interceptor/mod.rs:20:49 Aug 31 00:12:41.644 INFO kablam! | Aug 31 00:12:41.644 INFO kablam! 20 | use hyper::header::{ContentLength, ContentType, Headers}; Aug 31 00:12:41.644 INFO kablam! | ^^^^^^^ Aug 31 00:12:41.644 INFO kablam! Aug 31 00:12:41.807 INFO kablam! warning: unused import: `api_client::ApiClient` Aug 31 00:12:41.807 INFO kablam! --> src/interceptor/mod.rs:9:5 Aug 31 00:12:41.807 INFO kablam! | Aug 31 00:12:41.807 INFO kablam! 9 | use api_client::ApiClient; Aug 31 00:12:41.807 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.807 INFO kablam! Aug 31 00:12:41.837 INFO kablam! warning: unused variable: `code` Aug 31 00:12:41.837 INFO kablam! --> src/error/mod.rs:66:51 Aug 31 00:12:41.837 INFO kablam! | Aug 31 00:12:41.837 INFO kablam! 66 | ResponseError::UnacceptableStatusCode(code) => "Unacceptable Status code", Aug 31 00:12:41.837 INFO kablam! | ^^^^ help: consider using `_code` instead Aug 31 00:12:41.837 INFO kablam! | Aug 31 00:12:41.837 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 31 00:12:41.837 INFO kablam! Aug 31 00:12:41.837 INFO kablam! warning: unused variable: `hyclient` Aug 31 00:12:41.837 INFO kablam! --> src/interceptor/mod.rs:70:13 Aug 31 00:12:41.837 INFO kablam! | Aug 31 00:12:41.837 INFO kablam! 70 | let hyclient = Client::new(); Aug 31 00:12:41.837 INFO kablam! | ^^^^^^^^ help: consider using `_hyclient` instead Aug 31 00:12:41.837 INFO kablam! Aug 31 00:12:41.842 INFO kablam! warning: variable does not need to be mutable Aug 31 00:12:41.842 INFO kablam! --> src/api_client/mod.rs:44:16 Aug 31 00:12:41.842 INFO kablam! | Aug 31 00:12:41.842 INFO kablam! 44 | Ok(mut response) => self.api_request_builder.responseFromObject(response), Aug 31 00:12:41.842 INFO kablam! | ----^^^^^^^^ Aug 31 00:12:41.842 INFO kablam! | | Aug 31 00:12:41.842 INFO kablam! | help: remove this `mut` Aug 31 00:12:41.842 INFO kablam! | Aug 31 00:12:41.842 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 31 00:12:41.842 INFO kablam! Aug 31 00:12:41.876 INFO kablam! warning: variable does not need to be mutable Aug 31 00:12:41.876 INFO kablam! --> src/interceptor/mod.rs:126:13 Aug 31 00:12:41.876 INFO kablam! | Aug 31 00:12:41.876 INFO kablam! 126 | let mut result = match req_started.send() { Aug 31 00:12:41.876 INFO kablam! | ----^^^^^^ Aug 31 00:12:41.876 INFO kablam! | | Aug 31 00:12:41.876 INFO kablam! | help: remove this `mut` Aug 31 00:12:41.876 INFO kablam! Aug 31 00:12:41.880 INFO kablam! warning: method `addInterceptor` should have a snake case name such as `add_interceptor` Aug 31 00:12:41.881 INFO kablam! --> src/api_client/mod.rs:32:5 Aug 31 00:12:41.881 INFO kablam! | Aug 31 00:12:41.881 INFO kablam! 32 | / pub fn addInterceptor(mut self, interceptor: Box) -> RealCall { Aug 31 00:12:41.881 INFO kablam! 33 | | self.interceptors.push(interceptor); Aug 31 00:12:41.881 INFO kablam! 34 | | return self; Aug 31 00:12:41.881 INFO kablam! 35 | | } Aug 31 00:12:41.881 INFO kablam! | |_____^ Aug 31 00:12:41.881 INFO kablam! | Aug 31 00:12:41.881 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 31 00:12:41.881 INFO kablam! Aug 31 00:12:41.881 INFO kablam! warning: variable `apiErr` should have a snake case name such as `api_err` Aug 31 00:12:41.881 INFO kablam! --> src/api_client/mod.rs:45:17 Aug 31 00:12:41.881 INFO kablam! | Aug 31 00:12:41.881 INFO kablam! 45 | Err(apiErr) => Err(apiErr), Aug 31 00:12:41.881 INFO kablam! | ^^^^^^ Aug 31 00:12:41.881 INFO kablam! Aug 31 00:12:41.882 INFO kablam! warning: structure field `queryParameters` should have a snake case name such as `query_parameters` Aug 31 00:12:41.882 INFO kablam! --> src/api_request/mod.rs:21:5 Aug 31 00:12:41.882 INFO kablam! | Aug 31 00:12:41.882 INFO kablam! 21 | pub queryParameters: Vec<(String, String)>, Aug 31 00:12:41.882 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.882 INFO kablam! Aug 31 00:12:41.883 INFO kablam! warning: trait method `queryParameters` should have a snake case name such as `query_parameters` Aug 31 00:12:41.883 INFO kablam! --> src/api_request/mod.rs:32:5 Aug 31 00:12:41.883 INFO kablam! | Aug 31 00:12:41.883 INFO kablam! 32 | / fn queryParameters(&self) -> Vec<(String, String)> { Aug 31 00:12:41.883 INFO kablam! 33 | | let vc: Vec<(String, String)> = vec![]; Aug 31 00:12:41.883 INFO kablam! 34 | | return vc; Aug 31 00:12:41.883 INFO kablam! 35 | | } Aug 31 00:12:41.883 INFO kablam! | |_____^ Aug 31 00:12:41.883 INFO kablam! Aug 31 00:12:41.883 INFO kablam! warning: trait method `requestBody` should have a snake case name such as `request_body` Aug 31 00:12:41.883 INFO kablam! --> src/api_request/mod.rs:36:5 Aug 31 00:12:41.883 INFO kablam! | Aug 31 00:12:41.883 INFO kablam! 36 | / fn requestBody(&self) -> Option { Aug 31 00:12:41.883 INFO kablam! 37 | | return None; Aug 31 00:12:41.883 INFO kablam! 38 | | } Aug 31 00:12:41.883 INFO kablam! | |_____^ Aug 31 00:12:41.883 INFO kablam! Aug 31 00:12:41.883 INFO kablam! warning: trait method `interceptRequest` should have a snake case name such as `intercept_request` Aug 31 00:12:41.883 INFO kablam! --> src/api_request/mod.rs:39:5 Aug 31 00:12:41.883 INFO kablam! | Aug 31 00:12:41.883 INFO kablam! 39 | / fn interceptRequest(&self, request: Request) -> Result, ApiError> { Aug 31 00:12:41.883 INFO kablam! 40 | | return Ok(request); Aug 31 00:12:41.883 INFO kablam! 41 | | } Aug 31 00:12:41.883 INFO kablam! | |_____^ Aug 31 00:12:41.883 INFO kablam! Aug 31 00:12:41.883 INFO kablam! warning: trait method `interceptResponse` should have a snake case name such as `intercept_response` Aug 31 00:12:41.883 INFO kablam! --> src/api_request/mod.rs:42:5 Aug 31 00:12:41.883 INFO kablam! | Aug 31 00:12:41.883 INFO kablam! 42 | / fn interceptResponse(&self, Aug 31 00:12:41.883 INFO kablam! 43 | | response: Rc>) Aug 31 00:12:41.883 INFO kablam! 44 | | -> Result>, ApiError> { Aug 31 00:12:41.883 INFO kablam! 45 | | return Ok(response); Aug 31 00:12:41.883 INFO kablam! 46 | | } Aug 31 00:12:41.883 INFO kablam! | |_____^ Aug 31 00:12:41.883 INFO kablam! Aug 31 00:12:41.883 INFO kablam! warning: trait method `responseFromObject` should have a snake case name such as `response_from_object` Aug 31 00:12:41.883 INFO kablam! --> src/api_request/mod.rs:47:5 Aug 31 00:12:41.884 INFO kablam! | Aug 31 00:12:41.884 INFO kablam! 47 | / fn responseFromObject(&self, Aug 31 00:12:41.884 INFO kablam! 48 | | response: Rc>) Aug 31 00:12:41.884 INFO kablam! 49 | | -> Result; Aug 31 00:12:41.884 INFO kablam! | |____________________________________________________________^ Aug 31 00:12:41.884 INFO kablam! Aug 31 00:12:41.884 INFO kablam! warning: structure field `jsonObject` should have a snake case name such as `json_object` Aug 31 00:12:41.884 INFO kablam! --> src/body_builder/json.rs:10:5 Aug 31 00:12:41.884 INFO kablam! | Aug 31 00:12:41.884 INFO kablam! 10 | pub jsonObject: Value, Aug 31 00:12:41.884 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.884 INFO kablam! Aug 31 00:12:41.889 INFO kablam! warning: variable `requestUri` should have a snake case name such as `request_uri` Aug 31 00:12:41.889 INFO kablam! --> src/interceptor/mod.rs:73:13 Aug 31 00:12:41.889 INFO kablam! | Aug 31 00:12:41.889 INFO kablam! 73 | let mut requestUri: Url = Url::parse(&format!("{}{}", base_url, api_request.path)).unwrap(); Aug 31 00:12:41.889 INFO kablam! | ^^^^^^^^^^^^^^ Aug 31 00:12:41.889 INFO kablam! Aug 31 00:12:41.889 INFO kablam! warning: variable `querySerializer` should have a snake case name such as `query_serializer` Aug 31 00:12:41.889 INFO kablam! --> src/interceptor/mod.rs:75:17 Aug 31 00:12:41.889 INFO kablam! | Aug 31 00:12:41.889 INFO kablam! 75 | let mut querySerializer = requestUri.query_pairs_mut(); Aug 31 00:12:41.889 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.889 INFO kablam! Aug 31 00:12:41.889 INFO kablam! warning: variable `queryPair` should have a snake case name such as `query_pair` Aug 31 00:12:41.889 INFO kablam! --> src/interceptor/mod.rs:76:17 Aug 31 00:12:41.889 INFO kablam! | Aug 31 00:12:41.889 INFO kablam! 76 | for queryPair in &api_request.queryParameters { Aug 31 00:12:41.889 INFO kablam! | ^^^^^^^^^ Aug 31 00:12:41.889 INFO kablam! Aug 31 00:12:41.889 INFO kablam! warning: variable `apiError` should have a snake case name such as `api_error` Aug 31 00:12:41.889 INFO kablam! --> src/interceptor/mod.rs:83:21 Aug 31 00:12:41.890 INFO kablam! | Aug 31 00:12:41.890 INFO kablam! 83 | let apiError = ApiError::new::(err, ErrorTiming::AtRequest); Aug 31 00:12:41.890 INFO kablam! | ^^^^^^^^ Aug 31 00:12:41.890 INFO kablam! Aug 31 00:12:41.890 INFO kablam! warning: variable `interceptedRequest` should have a snake case name such as `intercepted_request` Aug 31 00:12:41.890 INFO kablam! --> src/interceptor/mod.rs:101:16 Aug 31 00:12:41.890 INFO kablam! | Aug 31 00:12:41.890 INFO kablam! 101 | Ok(interceptedRequest) => { Aug 31 00:12:41.890 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.890 INFO kablam! Aug 31 00:12:41.890 INFO kablam! warning: variable `apiError` should have a snake case name such as `api_error` Aug 31 00:12:41.890 INFO kablam! --> src/interceptor/mod.rs:105:29 Aug 31 00:12:41.890 INFO kablam! | Aug 31 00:12:41.890 INFO kablam! 105 | let apiError = ApiError::new::(err, ErrorTiming::AtRequest); Aug 31 00:12:41.890 INFO kablam! | ^^^^^^^^ Aug 31 00:12:41.890 INFO kablam! Aug 31 00:12:41.890 INFO kablam! warning: variable `apiError` should have a snake case name such as `api_error` Aug 31 00:12:41.890 INFO kablam! --> src/interceptor/mod.rs:118:29 Aug 31 00:12:41.891 INFO kablam! | Aug 31 00:12:41.891 INFO kablam! 118 | let apiError = ApiError::new::(err, ErrorTiming::AtRequest); Aug 31 00:12:41.891 INFO kablam! | ^^^^^^^^ Aug 31 00:12:41.891 INFO kablam! Aug 31 00:12:41.891 INFO kablam! warning: variable `apiError` should have a snake case name such as `api_error` Aug 31 00:12:41.891 INFO kablam! --> src/interceptor/mod.rs:129:21 Aug 31 00:12:41.891 INFO kablam! | Aug 31 00:12:41.891 INFO kablam! 129 | let apiError = ApiError::new::(err, ErrorTiming::AtNetwork); Aug 31 00:12:41.891 INFO kablam! | ^^^^^^^^ Aug 31 00:12:41.891 INFO kablam! Aug 31 00:12:41.891 INFO kablam! warning: variable `interceptedResponse` should have a snake case name such as `intercepted_response` Aug 31 00:12:41.891 INFO kablam! --> src/interceptor/mod.rs:135:16 Aug 31 00:12:41.891 INFO kablam! | Aug 31 00:12:41.891 INFO kablam! 135 | Ok(interceptedResponse) => Ok(interceptedResponse), Aug 31 00:12:41.891 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 31 00:12:41.891 INFO kablam! Aug 31 00:12:41.906 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 3.34s Aug 31 00:12:41.913 INFO kablam! su: No module specific data is present Aug 31 00:12:42.332 INFO running `"docker" "rm" "-f" "a2123c1650542f520ceb900b0a7ef5f58e7eaff6da877d42e501c579053c9f05"` Aug 31 00:12:42.444 INFO blam! a2123c1650542f520ceb900b0a7ef5f58e7eaff6da877d42e501c579053c9f05