Oct 14 12:11:44.084 INFO testing masakichi82/rust_gotham_sample against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling-1 Oct 14 12:11:44.084 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-2/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 14 12:11:44.477 INFO blam! 849bdca490879620a536ba495f7abe153a479c37dd09fb1b847feb64fbf04900 Oct 14 12:11:44.487 INFO running `"docker" "start" "-a" "849bdca490879620a536ba495f7abe153a479c37dd09fb1b847feb64fbf04900"` Oct 14 12:11:46.310 INFO kablam! usermod: no changes Oct 14 12:11:46.600 INFO kablam! Compiling cc v1.0.17 Oct 14 12:11:46.602 INFO kablam! Compiling libc v0.2.42 Oct 14 12:11:46.607 INFO kablam! Compiling lazy_static v1.0.1 Oct 14 12:11:46.609 INFO kablam! Compiling serde v1.0.66 Oct 14 12:11:46.610 INFO kablam! Compiling futures v0.1.21 Oct 14 12:11:46.612 INFO kablam! Compiling rustc-demangle v0.1.8 Oct 14 12:11:46.612 INFO kablam! Compiling itoa v0.4.1 Oct 14 12:11:46.613 INFO kablam! Compiling pulldown-cmark v0.1.2 Oct 14 12:11:47.664 INFO kablam! Compiling semver-parser v0.7.0 Oct 14 12:11:50.346 INFO kablam! Compiling remove_dir_all v0.5.1 Oct 14 12:11:50.347 INFO kablam! Compiling same-file v1.0.2 Oct 14 12:11:50.348 INFO kablam! Compiling glob v0.2.11 Oct 14 12:11:51.109 INFO kablam! Compiling num-traits v0.2.4 Oct 14 12:11:54.600 INFO kablam! Compiling bytecount v0.3.1 Oct 14 12:11:54.604 INFO kablam! Compiling num-integer v0.1.38 Oct 14 12:11:54.625 INFO kablam! Compiling scoped-tls v0.1.2 Oct 14 12:12:00.952 INFO kablam! Compiling try-lock v0.1.0 Oct 14 12:12:01.507 INFO kablam! Compiling httparse v1.2.4 Oct 14 12:12:01.699 INFO kablam! Compiling crossbeam v0.3.2 Oct 14 12:12:01.891 INFO kablam! Compiling proc-macro2 v0.4.6 Oct 14 12:12:01.923 INFO kablam! Compiling crossbeam-utils v0.3.2 Oct 14 12:12:02.131 INFO kablam! Compiling log v0.4.2 Oct 14 12:12:02.347 INFO kablam! Compiling unicase v2.1.0 Oct 14 12:12:02.591 INFO kablam! Compiling walkdir v2.1.4 Oct 14 12:12:05.155 INFO kablam! Compiling iovec v0.1.2 Oct 14 12:12:05.247 INFO kablam! Compiling net2 v0.2.32 Oct 14 12:12:07.195 INFO kablam! Compiling rand v0.4.2 Oct 14 12:12:07.275 INFO kablam! Compiling num_cpus v1.8.0 Oct 14 12:12:09.575 INFO kablam! Compiling memchr v2.0.1 Oct 14 12:12:12.643 INFO kablam! Compiling time v0.1.40 Oct 14 12:12:12.690 INFO kablam! Compiling base64 v0.9.2 Oct 14 12:12:12.691 INFO kablam! Compiling backtrace-sys v0.1.23 Oct 14 12:12:18.919 INFO kablam! Compiling crossbeam-epoch v0.4.1 Oct 14 12:12:18.999 INFO kablam! Compiling idna v0.1.4 Oct 14 12:12:19.536 INFO kablam! Compiling thread_local v0.3.5 Oct 14 12:12:21.676 INFO kablam! Compiling log v0.3.9 Oct 14 12:12:22.211 INFO kablam! Compiling bytes v0.4.8 Oct 14 12:12:25.491 INFO kablam! Compiling aho-corasick v0.6.4 Oct 14 12:12:25.491 INFO kablam! Compiling mio v0.6.14 Oct 14 12:12:25.667 INFO kablam! Compiling syn v0.12.15 Oct 14 12:12:35.215 INFO kablam! Compiling quote v0.6.3 Oct 14 12:12:35.263 INFO kablam! Compiling tokio-executor v0.1.2 Oct 14 12:12:35.415 INFO kablam! Compiling tokio-service v0.1.0 Oct 14 12:12:35.711 INFO kablam! Compiling relay v0.1.1 Oct 14 12:12:36.667 INFO kablam! Compiling futures-cpupool v0.1.8 Oct 14 12:12:37.351 INFO kablam! Compiling want v0.0.4 Oct 14 12:12:40.299 INFO kablam! Compiling tempdir v0.3.7 Oct 14 12:12:43.287 INFO kablam! Compiling rand v0.3.22 Oct 14 12:12:43.287 INFO kablam! Compiling uuid v0.6.5 Oct 14 12:12:44.388 INFO kablam! Compiling crossbeam-deque v0.3.1 Oct 14 12:12:44.464 INFO kablam! Compiling tokio-io v0.1.6 Oct 14 12:12:45.315 INFO kablam! Compiling regex v0.2.11 Oct 14 12:12:48.619 INFO kablam! Compiling tokio-timer v0.2.4 Oct 14 12:12:48.781 INFO kablam! Compiling syn v0.14.2 Oct 14 12:12:59.763 INFO kablam! Compiling tokio-threadpool v0.1.4 Oct 14 12:13:00.396 INFO kablam! Compiling url v1.7.0 Oct 14 12:13:00.832 INFO kablam! Compiling chrono v0.4.3 Oct 14 12:13:01.180 INFO kablam! Compiling backtrace v0.3.8 Oct 14 12:13:01.507 INFO kablam! Compiling tokio-reactor v0.1.1 Oct 14 12:13:26.235 INFO kablam! Compiling mime v0.3.7 Oct 14 12:13:26.399 INFO kablam! Compiling gotham_derive v0.2.1 Oct 14 12:13:26.559 INFO kablam! Compiling error-chain v0.11.0 Oct 14 12:13:26.593 INFO kablam! Compiling tokio-udp v0.1.0 Oct 14 12:13:26.679 INFO kablam! Compiling tokio-tcp v0.1.0 Oct 14 12:13:26.971 INFO kablam! Compiling tokio-fs v0.1.0 Oct 14 12:13:27.327 INFO kablam! Compiling serde_derive v1.0.66 Oct 14 12:13:31.600 INFO kablam! Compiling tokio v0.1.7 Oct 14 12:13:34.575 INFO kablam! Compiling serde_json v1.0.20 Oct 14 12:13:34.583 INFO kablam! Compiling semver v0.9.0 Oct 14 12:13:35.219 INFO kablam! Compiling bincode v1.0.0 Oct 14 12:13:35.695 INFO kablam! Compiling tokio-core v0.1.17 Oct 14 12:13:43.376 INFO kablam! Compiling tokio-proto v0.1.1 Oct 14 12:13:49.483 INFO kablam! Compiling hyper v0.11.27 Oct 14 12:13:58.135 INFO kablam! Compiling cargo_metadata v0.5.6 Oct 14 12:14:02.727 INFO kablam! Compiling skeptic v0.13.3 Oct 14 12:14:06.299 INFO kablam! Compiling borrow-bag v1.0.0 Oct 14 12:14:12.111 INFO kablam! Compiling gotham v0.2.1 Oct 14 12:14:17.779 INFO kablam! Compiling rust_gotham_sample v0.1.0 (/source) Oct 14 12:14:18.139 INFO kablam! warning: unused import: `gotham::http::response::create_response` Oct 14 12:14:18.139 INFO kablam! --> src/handlers.rs:1:5 Oct 14 12:14:18.139 INFO kablam! | Oct 14 12:14:18.139 INFO kablam! 1 | use gotham::http::response::create_response; Oct 14 12:14:18.139 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:14:18.139 INFO kablam! | Oct 14 12:14:18.139 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 12:14:18.139 INFO kablam! Oct 14 12:14:18.139 INFO kablam! warning: unused import: `gotham::state::State` Oct 14 12:14:18.139 INFO kablam! --> src/handlers.rs:2:5 Oct 14 12:14:18.139 INFO kablam! | Oct 14 12:14:18.139 INFO kablam! 2 | use gotham::state::State; Oct 14 12:14:18.139 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:14:18.139 INFO kablam! Oct 14 12:14:18.139 INFO kablam! warning: unused imports: `Response`, `StatusCode` Oct 14 12:14:18.139 INFO kablam! --> src/handlers.rs:3:13 Oct 14 12:14:18.139 INFO kablam! | Oct 14 12:14:18.139 INFO kablam! 3 | use hyper::{Response, StatusCode}; Oct 14 12:14:18.139 INFO kablam! | ^^^^^^^^ ^^^^^^^^^^ Oct 14 12:14:18.139 INFO kablam! Oct 14 12:14:18.139 INFO kablam! warning: unused import: `mime` Oct 14 12:14:18.139 INFO kablam! --> src/handlers.rs:4:5 Oct 14 12:14:18.139 INFO kablam! | Oct 14 12:14:18.139 INFO kablam! 4 | use mime; Oct 14 12:14:18.139 INFO kablam! | ^^^^ Oct 14 12:14:18.139 INFO kablam! Oct 14 12:14:18.139 INFO kablam! warning: unused macro definition Oct 14 12:14:18.139 INFO kablam! --> src/handlers.rs:6:1 Oct 14 12:14:18.139 INFO kablam! | Oct 14 12:14:18.139 INFO kablam! 6 | / macro_rules! generic_handler { Oct 14 12:14:18.139 INFO kablam! 7 | | ($($t:ident),*) => { $( Oct 14 12:14:18.139 INFO kablam! 8 | | pub fn $t(state: State) -> (State, Response) { Oct 14 12:14:18.139 INFO kablam! 9 | | let res = create_response( Oct 14 12:14:18.139 INFO kablam! ... | Oct 14 12:14:18.139 INFO kablam! 16 | | } Oct 14 12:14:18.139 INFO kablam! 17 | | )+ }} Oct 14 12:14:18.139 INFO kablam! | |_________^ Oct 14 12:14:18.139 INFO kablam! | Oct 14 12:14:18.139 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 14 12:14:18.139 INFO kablam! Oct 14 12:14:18.139 INFO kablam! warning: unused import: `Body` Oct 14 12:14:18.139 INFO kablam! --> src/controllers/get.rs:1:34 Oct 14 12:14:18.139 INFO kablam! | Oct 14 12:14:18.139 INFO kablam! 1 | use hyper::{Response, StatusCode,Body, Headers, HttpVersion, Method, Uri}; Oct 14 12:14:18.139 INFO kablam! | ^^^^ Oct 14 12:14:18.139 INFO kablam! Oct 14 12:14:18.239 INFO kablam! warning: variable does not need to be mutable Oct 14 12:14:18.239 INFO kablam! --> src/controllers/get.rs:8:14 Oct 14 12:14:18.239 INFO kablam! | Oct 14 12:14:18.239 INFO kablam! 8 | pub fn index(mut state: State) -> (State, Response){ Oct 14 12:14:18.239 INFO kablam! | ----^^^^^ Oct 14 12:14:18.239 INFO kablam! | | Oct 14 12:14:18.239 INFO kablam! | help: remove this `mut` Oct 14 12:14:18.239 INFO kablam! | Oct 14 12:14:18.239 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 12:14:18.239 INFO kablam! Oct 14 12:14:18.285 INFO kablam! warning: function `getExample` should have a snake case name such as `get_example` Oct 14 12:14:18.285 INFO kablam! --> src/controllers/get.rs:26:1 Oct 14 12:14:18.285 INFO kablam! | Oct 14 12:14:18.285 INFO kablam! 26 | / pub fn getExample(state: State) -> (State, Response) { Oct 14 12:14:18.285 INFO kablam! 27 | | Oct 14 12:14:18.285 INFO kablam! 28 | | let txt = "http://localhost:7878/get/param?name=aaaa\nhttp://localhost:7878/get/json?name=aaaa\n"; Oct 14 12:14:18.285 INFO kablam! 29 | | Oct 14 12:14:18.285 INFO kablam! ... | Oct 14 12:14:18.285 INFO kablam! 35 | | (state, response) Oct 14 12:14:18.285 INFO kablam! 36 | | } Oct 14 12:14:18.285 INFO kablam! | |_^ Oct 14 12:14:18.285 INFO kablam! | Oct 14 12:14:18.285 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 14 12:14:18.285 INFO kablam! Oct 14 12:14:18.288 INFO kablam! warning: function `toJson` should have a snake case name such as `to_json` Oct 14 12:14:18.289 INFO kablam! --> src/controllers/get.rs:50:1 Oct 14 12:14:18.289 INFO kablam! | Oct 14 12:14:18.289 INFO kablam! 50 | / pub fn toJson(mut state: State) -> (State, Response) { Oct 14 12:14:18.289 INFO kablam! 51 | | Oct 14 12:14:18.289 INFO kablam! 52 | | let query_param = QueryStringExtractor::try_take_from(&mut state).unwrap(); Oct 14 12:14:18.289 INFO kablam! 53 | | let j = serde_json::to_string(&query_param).unwrap(); Oct 14 12:14:18.289 INFO kablam! ... | Oct 14 12:14:18.289 INFO kablam! 60 | | (state, response) Oct 14 12:14:18.289 INFO kablam! 61 | | } Oct 14 12:14:18.289 INFO kablam! | |_^ Oct 14 12:14:18.289 INFO kablam! Oct 14 12:14:19.027 INFO kablam! warning: unused imports: `Get`, `Head` Oct 14 12:14:19.027 INFO kablam! --> src/main.rs:12:13 Oct 14 12:14:19.027 INFO kablam! | Oct 14 12:14:19.027 INFO kablam! 12 | use hyper::{Get, Head}; Oct 14 12:14:19.027 INFO kablam! | ^^^ ^^^^ Oct 14 12:14:19.027 INFO kablam! | Oct 14 12:14:19.027 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 12:14:19.027 INFO kablam! Oct 14 12:14:19.027 INFO kablam! warning: unused `#[macro_use]` import Oct 14 12:14:19.027 INFO kablam! --> src/main.rs:14:1 Oct 14 12:14:19.027 INFO kablam! | Oct 14 12:14:19.027 INFO kablam! 14 | #[macro_use] Oct 14 12:14:19.027 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:14:19.027 INFO kablam! Oct 14 12:14:19.027 INFO kablam! warning: unused `#[macro_use]` import Oct 14 12:14:19.027 INFO kablam! --> src/main.rs:16:1 Oct 14 12:14:19.027 INFO kablam! | Oct 14 12:14:19.027 INFO kablam! 16 | #[macro_use] Oct 14 12:14:19.027 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:14:19.027 INFO kablam! Oct 14 12:14:19.027 INFO kablam! warning: unused import: `gotham::http::response::create_response` Oct 14 12:14:19.027 INFO kablam! --> src/handlers.rs:1:5 Oct 14 12:14:19.027 INFO kablam! | Oct 14 12:14:19.027 INFO kablam! 1 | use gotham::http::response::create_response; Oct 14 12:14:19.027 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:14:19.027 INFO kablam! Oct 14 12:14:19.027 INFO kablam! warning: unused import: `gotham::state::State` Oct 14 12:14:19.027 INFO kablam! --> src/handlers.rs:2:5 Oct 14 12:14:19.027 INFO kablam! | Oct 14 12:14:19.027 INFO kablam! 2 | use gotham::state::State; Oct 14 12:14:19.027 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:14:19.027 INFO kablam! Oct 14 12:14:19.027 INFO kablam! warning: unused imports: `Response`, `StatusCode` Oct 14 12:14:19.027 INFO kablam! --> src/handlers.rs:3:13 Oct 14 12:14:19.027 INFO kablam! | Oct 14 12:14:19.027 INFO kablam! 3 | use hyper::{Response, StatusCode}; Oct 14 12:14:19.027 INFO kablam! | ^^^^^^^^ ^^^^^^^^^^ Oct 14 12:14:19.027 INFO kablam! Oct 14 12:14:19.027 INFO kablam! warning: unused import: `mime` Oct 14 12:14:19.027 INFO kablam! --> src/handlers.rs:4:5 Oct 14 12:14:19.027 INFO kablam! | Oct 14 12:14:19.027 INFO kablam! 4 | use mime; Oct 14 12:14:19.027 INFO kablam! | ^^^^ Oct 14 12:14:19.027 INFO kablam! Oct 14 12:14:19.027 INFO kablam! warning: unused macro definition Oct 14 12:14:19.027 INFO kablam! --> src/handlers.rs:6:1 Oct 14 12:14:19.027 INFO kablam! | Oct 14 12:14:19.027 INFO kablam! 6 | / macro_rules! generic_handler { Oct 14 12:14:19.027 INFO kablam! 7 | | ($($t:ident),*) => { $( Oct 14 12:14:19.027 INFO kablam! 8 | | pub fn $t(state: State) -> (State, Response) { Oct 14 12:14:19.027 INFO kablam! 9 | | let res = create_response( Oct 14 12:14:19.027 INFO kablam! ... | Oct 14 12:14:19.027 INFO kablam! 16 | | } Oct 14 12:14:19.027 INFO kablam! 17 | | )+ }} Oct 14 12:14:19.028 INFO kablam! | |_________^ Oct 14 12:14:19.028 INFO kablam! | Oct 14 12:14:19.028 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 14 12:14:19.028 INFO kablam! Oct 14 12:14:19.028 INFO kablam! warning: unused import: `self::handlers::*` Oct 14 12:14:19.028 INFO kablam! --> src/main.rs:21:5 Oct 14 12:14:19.028 INFO kablam! | Oct 14 12:14:19.028 INFO kablam! 21 | use self::handlers::*; Oct 14 12:14:19.028 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 14 12:14:19.028 INFO kablam! Oct 14 12:14:24.205 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2m 37s Oct 14 12:14:24.226 INFO kablam! su: No module specific data is present Oct 14 12:14:24.998 INFO running `"docker" "rm" "-f" "849bdca490879620a536ba495f7abe153a479c37dd09fb1b847feb64fbf04900"` Oct 14 12:14:25.267 INFO blam! 849bdca490879620a536ba495f7abe153a479c37dd09fb1b847feb64fbf04900 Oct 14 12:14:25.271 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-2/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 14 12:14:25.863 INFO blam! 9011cb449905be8a2b3ccf9f049e2b72fec35e1006925438754932fa67160c8a Oct 14 12:14:25.866 INFO running `"docker" "start" "-a" "9011cb449905be8a2b3ccf9f049e2b72fec35e1006925438754932fa67160c8a"` Oct 14 12:14:26.807 INFO kablam! usermod: no changes Oct 14 12:14:27.011 INFO kablam! Compiling rust_gotham_sample v0.1.0 (/source) Oct 14 12:14:27.429 INFO kablam! warning: unused import: `gotham::http::response::create_response` Oct 14 12:14:27.429 INFO kablam! --> src/handlers.rs:1:5 Oct 14 12:14:27.429 INFO kablam! | Oct 14 12:14:27.429 INFO kablam! 1 | use gotham::http::response::create_response; Oct 14 12:14:27.429 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:14:27.429 INFO kablam! | Oct 14 12:14:27.430 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 12:14:27.430 INFO kablam! Oct 14 12:14:27.430 INFO kablam! warning: unused import: `gotham::state::State` Oct 14 12:14:27.430 INFO kablam! --> src/handlers.rs:2:5 Oct 14 12:14:27.430 INFO kablam! | Oct 14 12:14:27.430 INFO kablam! 2 | use gotham::state::State; Oct 14 12:14:27.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:14:27.430 INFO kablam! Oct 14 12:14:27.430 INFO kablam! warning: unused imports: `Response`, `StatusCode` Oct 14 12:14:27.430 INFO kablam! --> src/handlers.rs:3:13 Oct 14 12:14:27.430 INFO kablam! | Oct 14 12:14:27.430 INFO kablam! 3 | use hyper::{Response, StatusCode}; Oct 14 12:14:27.430 INFO kablam! | ^^^^^^^^ ^^^^^^^^^^ Oct 14 12:14:27.430 INFO kablam! Oct 14 12:14:27.430 INFO kablam! warning: unused import: `mime` Oct 14 12:14:27.430 INFO kablam! --> src/handlers.rs:4:5 Oct 14 12:14:27.430 INFO kablam! | Oct 14 12:14:27.430 INFO kablam! 4 | use mime; Oct 14 12:14:27.430 INFO kablam! | ^^^^ Oct 14 12:14:27.430 INFO kablam! Oct 14 12:14:27.430 INFO kablam! warning: unused macro definition Oct 14 12:14:27.430 INFO kablam! --> src/handlers.rs:6:1 Oct 14 12:14:27.430 INFO kablam! | Oct 14 12:14:27.430 INFO kablam! 6 | / macro_rules! generic_handler { Oct 14 12:14:27.430 INFO kablam! 7 | | ($($t:ident),*) => { $( Oct 14 12:14:27.430 INFO kablam! 8 | | pub fn $t(state: State) -> (State, Response) { Oct 14 12:14:27.430 INFO kablam! 9 | | let res = create_response( Oct 14 12:14:27.430 INFO kablam! ... | Oct 14 12:14:27.430 INFO kablam! 16 | | } Oct 14 12:14:27.430 INFO kablam! 17 | | )+ }} Oct 14 12:14:27.430 INFO kablam! | |_________^ Oct 14 12:14:27.430 INFO kablam! | Oct 14 12:14:27.430 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 14 12:14:27.430 INFO kablam! Oct 14 12:14:27.430 INFO kablam! warning: unused import: `Body` Oct 14 12:14:27.430 INFO kablam! --> src/controllers/get.rs:1:34 Oct 14 12:14:27.430 INFO kablam! | Oct 14 12:14:27.430 INFO kablam! 1 | use hyper::{Response, StatusCode,Body, Headers, HttpVersion, Method, Uri}; Oct 14 12:14:27.430 INFO kablam! | ^^^^ Oct 14 12:14:27.430 INFO kablam! Oct 14 12:14:27.431 INFO kablam! warning: unused imports: `Get`, `Head` Oct 14 12:14:27.431 INFO kablam! --> src/main.rs:12:13 Oct 14 12:14:27.432 INFO kablam! | Oct 14 12:14:27.432 INFO kablam! 12 | use hyper::{Get, Head}; Oct 14 12:14:27.432 INFO kablam! | ^^^ ^^^^ Oct 14 12:14:27.432 INFO kablam! | Oct 14 12:14:27.432 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 12:14:27.432 INFO kablam! Oct 14 12:14:27.432 INFO kablam! warning: unused `#[macro_use]` import Oct 14 12:14:27.432 INFO kablam! --> src/main.rs:14:1 Oct 14 12:14:27.432 INFO kablam! | Oct 14 12:14:27.432 INFO kablam! 14 | #[macro_use] Oct 14 12:14:27.432 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:14:27.432 INFO kablam! Oct 14 12:14:27.432 INFO kablam! warning: unused `#[macro_use]` import Oct 14 12:14:27.432 INFO kablam! --> src/main.rs:16:1 Oct 14 12:14:27.432 INFO kablam! | Oct 14 12:14:27.432 INFO kablam! 16 | #[macro_use] Oct 14 12:14:27.432 INFO kablam! | ^^^^^^^^^^^^ Oct 14 12:14:27.432 INFO kablam! Oct 14 12:14:27.432 INFO kablam! warning: unused import: `gotham::http::response::create_response` Oct 14 12:14:27.432 INFO kablam! --> src/handlers.rs:1:5 Oct 14 12:14:27.432 INFO kablam! | Oct 14 12:14:27.432 INFO kablam! 1 | use gotham::http::response::create_response; Oct 14 12:14:27.432 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 12:14:27.432 INFO kablam! Oct 14 12:14:27.432 INFO kablam! warning: unused import: `gotham::state::State` Oct 14 12:14:27.432 INFO kablam! --> src/handlers.rs:2:5 Oct 14 12:14:27.432 INFO kablam! | Oct 14 12:14:27.432 INFO kablam! 2 | use gotham::state::State; Oct 14 12:14:27.432 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 14 12:14:27.432 INFO kablam! Oct 14 12:14:27.432 INFO kablam! warning: unused imports: `Response`, `StatusCode` Oct 14 12:14:27.432 INFO kablam! --> src/handlers.rs:3:13 Oct 14 12:14:27.432 INFO kablam! | Oct 14 12:14:27.432 INFO kablam! 3 | use hyper::{Response, StatusCode}; Oct 14 12:14:27.432 INFO kablam! | ^^^^^^^^ ^^^^^^^^^^ Oct 14 12:14:27.432 INFO kablam! Oct 14 12:14:27.444 INFO kablam! warning: unused import: `mime` Oct 14 12:14:27.444 INFO kablam! --> src/handlers.rs:4:5 Oct 14 12:14:27.444 INFO kablam! | Oct 14 12:14:27.444 INFO kablam! 4 | use mime; Oct 14 12:14:27.444 INFO kablam! | ^^^^ Oct 14 12:14:27.444 INFO kablam! Oct 14 12:14:27.444 INFO kablam! warning: unused macro definition Oct 14 12:14:27.444 INFO kablam! --> src/handlers.rs:6:1 Oct 14 12:14:27.444 INFO kablam! | Oct 14 12:14:27.444 INFO kablam! 6 | / macro_rules! generic_handler { Oct 14 12:14:27.444 INFO kablam! 7 | | ($($t:ident),*) => { $( Oct 14 12:14:27.444 INFO kablam! 8 | | pub fn $t(state: State) -> (State, Response) { Oct 14 12:14:27.444 INFO kablam! 9 | | let res = create_response( Oct 14 12:14:27.444 INFO kablam! ... | Oct 14 12:14:27.444 INFO kablam! 16 | | } Oct 14 12:14:27.444 INFO kablam! 17 | | )+ }} Oct 14 12:14:27.444 INFO kablam! | |_________^ Oct 14 12:14:27.444 INFO kablam! | Oct 14 12:14:27.444 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 14 12:14:27.444 INFO kablam! Oct 14 12:14:27.444 INFO kablam! warning: unused import: `self::handlers::*` Oct 14 12:14:27.444 INFO kablam! --> src/main.rs:21:5 Oct 14 12:14:27.444 INFO kablam! | Oct 14 12:14:27.444 INFO kablam! 21 | use self::handlers::*; Oct 14 12:14:27.444 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 14 12:14:27.444 INFO kablam! Oct 14 12:14:27.574 INFO kablam! warning: variable does not need to be mutable Oct 14 12:14:27.574 INFO kablam! --> src/controllers/get.rs:8:14 Oct 14 12:14:27.574 INFO kablam! | Oct 14 12:14:27.575 INFO kablam! 8 | pub fn index(mut state: State) -> (State, Response){ Oct 14 12:14:27.575 INFO kablam! | ----^^^^^ Oct 14 12:14:27.575 INFO kablam! | | Oct 14 12:14:27.576 INFO kablam! | help: remove this `mut` Oct 14 12:14:27.576 INFO kablam! | Oct 14 12:14:27.576 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 12:14:27.577 INFO kablam! Oct 14 12:14:27.657 INFO kablam! warning: function `getExample` should have a snake case name such as `get_example` Oct 14 12:14:27.657 INFO kablam! --> src/controllers/get.rs:26:1 Oct 14 12:14:27.657 INFO kablam! | Oct 14 12:14:27.657 INFO kablam! 26 | / pub fn getExample(state: State) -> (State, Response) { Oct 14 12:14:27.657 INFO kablam! 27 | | Oct 14 12:14:27.657 INFO kablam! 28 | | let txt = "http://localhost:7878/get/param?name=aaaa\nhttp://localhost:7878/get/json?name=aaaa\n"; Oct 14 12:14:27.657 INFO kablam! 29 | | Oct 14 12:14:27.657 INFO kablam! ... | Oct 14 12:14:27.657 INFO kablam! 35 | | (state, response) Oct 14 12:14:27.658 INFO kablam! 36 | | } Oct 14 12:14:27.658 INFO kablam! | |_^ Oct 14 12:14:27.658 INFO kablam! | Oct 14 12:14:27.658 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 14 12:14:27.658 INFO kablam! Oct 14 12:14:27.658 INFO kablam! warning: function `toJson` should have a snake case name such as `to_json` Oct 14 12:14:27.658 INFO kablam! --> src/controllers/get.rs:50:1 Oct 14 12:14:27.658 INFO kablam! | Oct 14 12:14:27.658 INFO kablam! 50 | / pub fn toJson(mut state: State) -> (State, Response) { Oct 14 12:14:27.658 INFO kablam! 51 | | Oct 14 12:14:27.658 INFO kablam! 52 | | let query_param = QueryStringExtractor::try_take_from(&mut state).unwrap(); Oct 14 12:14:27.658 INFO kablam! 53 | | let j = serde_json::to_string(&query_param).unwrap(); Oct 14 12:14:27.658 INFO kablam! ... | Oct 14 12:14:27.658 INFO kablam! 60 | | (state, response) Oct 14 12:14:27.658 INFO kablam! 61 | | } Oct 14 12:14:27.658 INFO kablam! | |_^ Oct 14 12:14:27.658 INFO kablam! Oct 14 12:14:28.118 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.29s Oct 14 12:14:28.127 INFO kablam! su: No module specific data is present Oct 14 12:14:28.363 INFO running `"docker" "rm" "-f" "9011cb449905be8a2b3ccf9f049e2b72fec35e1006925438754932fa67160c8a"` Oct 14 12:14:28.490 INFO blam! 9011cb449905be8a2b3ccf9f049e2b72fec35e1006925438754932fa67160c8a Oct 14 12:14:28.492 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-2/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 14 12:14:28.717 INFO blam! 585e2ed9ca3b6a3f3b26fa1e05ff2ce9a02f0180f138c93f374e59aef40d4325 Oct 14 12:14:28.724 INFO running `"docker" "start" "-a" "585e2ed9ca3b6a3f3b26fa1e05ff2ce9a02f0180f138c93f374e59aef40d4325"` Oct 14 12:14:29.522 INFO kablam! usermod: no changes Oct 14 12:14:29.771 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.22s Oct 14 12:14:29.791 INFO kablam! Running /target/debug/deps/rust_gotham_sample-b257be629e6b60a3 Oct 14 12:14:29.797 INFO blam! Oct 14 12:14:29.797 INFO blam! running 0 tests Oct 14 12:14:29.797 INFO blam! Oct 14 12:14:29.797 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 14 12:14:29.797 INFO blam! Oct 14 12:14:29.799 INFO kablam! Running /target/debug/deps/rust_gotham_sample-dbcd6be4eb8a9c83 Oct 14 12:14:29.801 INFO blam! Oct 14 12:14:29.801 INFO blam! running 0 tests Oct 14 12:14:29.801 INFO blam! Oct 14 12:14:29.802 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 14 12:14:29.802 INFO blam! Oct 14 12:14:29.802 INFO kablam! Doc-tests rust_gotham_sample Oct 14 12:14:30.417 INFO blam! Oct 14 12:14:30.417 INFO blam! running 0 tests Oct 14 12:14:30.417 INFO blam! Oct 14 12:14:30.417 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 14 12:14:30.417 INFO blam! Oct 14 12:14:30.432 INFO kablam! su: No module specific data is present Oct 14 12:14:30.996 INFO running `"docker" "rm" "-f" "585e2ed9ca3b6a3f3b26fa1e05ff2ce9a02f0180f138c93f374e59aef40d4325"` Oct 14 12:14:31.178 INFO blam! 585e2ed9ca3b6a3f3b26fa1e05ff2ce9a02f0180f138c93f374e59aef40d4325