Oct 13 00:24:11.082 INFO testing silago/foxnotdead against try#40d4795669493f1965de7c44029c69552134fe1f for rustdoc-test-static-cling-1 Oct 13 00:24:11.083 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-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 13 00:24:11.607 INFO blam! 26498edbf339d9c9e016bbd237c702f81f7a5d5eb1adb6752e418836b36e5408 Oct 13 00:24:11.609 INFO running `"docker" "start" "-a" "26498edbf339d9c9e016bbd237c702f81f7a5d5eb1adb6752e418836b36e5408"` Oct 13 00:24:12.827 INFO kablam! usermod: no changes Oct 13 00:24:13.103 INFO kablam! Compiling cc v1.0.9 Oct 13 00:24:13.111 INFO kablam! Compiling iovec v0.1.2 Oct 13 00:24:13.114 INFO kablam! Compiling net2 v0.2.32 Oct 13 00:24:13.114 INFO kablam! Compiling crossbeam-utils v0.3.2 Oct 13 00:24:13.114 INFO kablam! Compiling tokio-service v0.1.0 Oct 13 00:24:13.114 INFO kablam! Compiling relay v0.1.1 Oct 13 00:24:13.114 INFO kablam! Compiling libsqlite3-sys v0.9.1 Oct 13 00:24:13.119 INFO kablam! Compiling base64 v0.9.0 Oct 13 00:24:14.327 INFO kablam! Compiling serde_json v1.0.13 Oct 13 00:24:14.695 INFO kablam! Compiling futures-cpupool v0.1.8 Oct 13 00:24:15.553 INFO kablam! Compiling tokio-timer v0.2.1 Oct 13 00:24:15.566 INFO kablam! Compiling crossbeam-epoch v0.4.1 Oct 13 00:24:21.375 INFO kablam! Compiling bytes v0.4.6 Oct 13 00:24:21.459 INFO kablam! Compiling mio v0.6.14 Oct 13 00:24:21.506 INFO kablam! Compiling crossbeam-deque v0.3.0 Oct 13 00:24:22.224 INFO kablam! Compiling openssl-sys v0.9.28 Oct 13 00:24:22.225 INFO kablam! Compiling backtrace-sys v0.1.16 Oct 13 00:24:23.659 INFO kablam! Compiling tokio-threadpool v0.1.2 Oct 13 00:24:26.639 INFO kablam! Compiling rusqlite v0.13.0 Oct 13 00:24:26.679 INFO kablam! Compiling tokio-io v0.1.6 Oct 13 00:24:31.331 INFO kablam! Compiling openssl v0.9.24 Oct 13 00:24:31.339 INFO kablam! Compiling tokio-reactor v0.1.1 Oct 13 00:24:34.056 INFO kablam! Compiling tokio-udp v0.1.0 Oct 13 00:24:34.057 INFO kablam! Compiling tokio-tcp v0.1.0 Oct 13 00:24:34.915 INFO kablam! Compiling tokio v0.1.5 Oct 13 00:24:37.603 INFO kablam! Compiling tokio-core v0.1.16 Oct 13 00:24:41.887 INFO kablam! Compiling native-tls v0.1.5 Oct 13 00:24:43.375 INFO kablam! Compiling tokio-proto v0.1.1 Oct 13 00:24:43.375 INFO kablam! Compiling tokio-tls v0.1.4 Oct 13 00:24:47.200 INFO kablam! Compiling hyper v0.11.25 Oct 13 00:24:48.127 INFO kablam! Compiling backtrace v0.3.5 Oct 13 00:24:48.915 INFO kablam! Compiling error-chain v0.11.0 Oct 13 00:24:49.543 INFO kablam! Compiling telegram-bot-raw v0.6.1 Oct 13 00:24:57.777 INFO kablam! Compiling hyper-tls v0.1.3 Oct 13 00:25:02.849 INFO kablam! Compiling telegram-bot v0.6.1 Oct 13 00:25:09.079 INFO kablam! Compiling foxnotdead v0.1.0 (/source) Oct 13 00:25:10.215 INFO kablam! warning: unnecessary parentheses around `while` condition Oct 13 00:25:10.215 INFO kablam! --> src/input/mod.rs:8:11 Oct 13 00:25:10.215 INFO kablam! | Oct 13 00:25:10.215 INFO kablam! 8 | while (input.is_empty()) { Oct 13 00:25:10.215 INFO kablam! | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 13 00:25:10.215 INFO kablam! | Oct 13 00:25:10.215 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 13 00:25:10.215 INFO kablam! Oct 13 00:25:10.215 INFO kablam! warning: unused import: `std::env` Oct 13 00:25:10.215 INFO kablam! --> src/tg.rs:6:5 Oct 13 00:25:10.215 INFO kablam! | Oct 13 00:25:10.215 INFO kablam! 6 | use std::env; Oct 13 00:25:10.215 INFO kablam! | ^^^^^^^^ Oct 13 00:25:10.215 INFO kablam! | Oct 13 00:25:10.215 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 13 00:25:10.215 INFO kablam! Oct 13 00:25:10.215 INFO kablam! warning: unused import: `self::futures::Stream` Oct 13 00:25:10.215 INFO kablam! --> src/tg.rs:8:5 Oct 13 00:25:10.216 INFO kablam! | Oct 13 00:25:10.216 INFO kablam! 8 | use self::futures::Stream; Oct 13 00:25:10.216 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.216 INFO kablam! Oct 13 00:25:10.216 INFO kablam! warning: unused import: `self::tokio_core::reactor::Core` Oct 13 00:25:10.216 INFO kablam! --> src/tg.rs:9:5 Oct 13 00:25:10.216 INFO kablam! | Oct 13 00:25:10.216 INFO kablam! 9 | use self::tokio_core::reactor::Core; Oct 13 00:25:10.216 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.216 INFO kablam! Oct 13 00:25:10.216 INFO kablam! warning: unused import: `self::telegram_bot::*` Oct 13 00:25:10.216 INFO kablam! --> src/tg.rs:10:5 Oct 13 00:25:10.216 INFO kablam! | Oct 13 00:25:10.216 INFO kablam! 10 | use self::telegram_bot::*; Oct 13 00:25:10.216 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.216 INFO kablam! Oct 13 00:25:10.216 INFO kablam! warning: unused import: `std::env` Oct 13 00:25:10.216 INFO kablam! --> src/main.rs:13:5 Oct 13 00:25:10.216 INFO kablam! | Oct 13 00:25:10.216 INFO kablam! 13 | use std::env; Oct 13 00:25:10.216 INFO kablam! | ^^^^^^^^ Oct 13 00:25:10.216 INFO kablam! Oct 13 00:25:10.216 INFO kablam! warning: unused import: `std::io` Oct 13 00:25:10.216 INFO kablam! --> src/main.rs:28:5 Oct 13 00:25:10.216 INFO kablam! | Oct 13 00:25:10.216 INFO kablam! 28 | use std::io; Oct 13 00:25:10.216 INFO kablam! | ^^^^^^^ Oct 13 00:25:10.216 INFO kablam! Oct 13 00:25:10.216 INFO kablam! warning: unnecessary parentheses around `while` condition Oct 13 00:25:10.216 INFO kablam! --> src/main.rs:118:11 Oct 13 00:25:10.216 INFO kablam! | Oct 13 00:25:10.216 INFO kablam! 118 | while (true) { Oct 13 00:25:10.216 INFO kablam! | ^^^^^^ help: remove these parentheses Oct 13 00:25:10.216 INFO kablam! Oct 13 00:25:10.216 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 13 00:25:10.216 INFO kablam! --> src/main.rs:120:12 Oct 13 00:25:10.216 INFO kablam! | Oct 13 00:25:10.216 INFO kablam! 120 | if (bot.GetHealth()<=0) { Oct 13 00:25:10.216 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 13 00:25:10.216 INFO kablam! Oct 13 00:25:10.216 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 13 00:25:10.216 INFO kablam! --> src/main.rs:128:12 Oct 13 00:25:10.216 INFO kablam! | Oct 13 00:25:10.216 INFO kablam! 128 | if (user.GetHealth()<=0) { Oct 13 00:25:10.216 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 13 00:25:10.216 INFO kablam! Oct 13 00:25:10.216 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 13 00:25:10.216 INFO kablam! --> src/main.rs:140:8 Oct 13 00:25:10.216 INFO kablam! | Oct 13 00:25:10.216 INFO kablam! 140 | if (r == 0 ) { Oct 13 00:25:10.216 INFO kablam! | ^^^^^^^^^ help: remove these parentheses Oct 13 00:25:10.216 INFO kablam! Oct 13 00:25:10.216 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 13 00:25:10.216 INFO kablam! --> src/main.rs:153:12 Oct 13 00:25:10.216 INFO kablam! | Oct 13 00:25:10.216 INFO kablam! 153 | if (i.trim()=="w") { Oct 13 00:25:10.216 INFO kablam! | ^^^^^^^^^^^^^^^ help: remove these parentheses Oct 13 00:25:10.216 INFO kablam! Oct 13 00:25:10.216 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 13 00:25:10.216 INFO kablam! --> src/main.rs:184:20 Oct 13 00:25:10.216 INFO kablam! | Oct 13 00:25:10.216 INFO kablam! 184 | if (data.trim()=="w") { Oct 13 00:25:10.216 INFO kablam! | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 13 00:25:10.216 INFO kablam! Oct 13 00:25:10.359 INFO kablam! warning: unused variable: `conn` Oct 13 00:25:10.359 INFO kablam! --> src/main.rs:67:9 Oct 13 00:25:10.359 INFO kablam! | Oct 13 00:25:10.359 INFO kablam! 67 | let conn = Connection::open_in_memory().unwrap(); Oct 13 00:25:10.359 INFO kablam! | ^^^^ help: consider using `_conn` instead Oct 13 00:25:10.359 INFO kablam! | Oct 13 00:25:10.359 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 13 00:25:10.359 INFO kablam! Oct 13 00:25:10.359 INFO kablam! warning: unused variable: `thief_class` Oct 13 00:25:10.359 INFO kablam! --> src/main.rs:68:9 Oct 13 00:25:10.359 INFO kablam! | Oct 13 00:25:10.359 INFO kablam! 68 | let thief_class = user::Class{ id: 0, name: "" }; Oct 13 00:25:10.359 INFO kablam! | ^^^^^^^^^^^ help: consider using `_thief_class` instead Oct 13 00:25:10.359 INFO kablam! Oct 13 00:25:10.359 INFO kablam! warning: unused variable: `fighter_class` Oct 13 00:25:10.359 INFO kablam! --> src/main.rs:69:9 Oct 13 00:25:10.359 INFO kablam! | Oct 13 00:25:10.359 INFO kablam! 69 | let fighter_class = user::Class{ id: 0, name: "" }; Oct 13 00:25:10.359 INFO kablam! | ^^^^^^^^^^^^^ help: consider using `_fighter_class` instead Oct 13 00:25:10.359 INFO kablam! Oct 13 00:25:10.359 INFO kablam! warning: unused variable: `class_input` Oct 13 00:25:10.359 INFO kablam! --> src/main.rs:77:9 Oct 13 00:25:10.359 INFO kablam! | Oct 13 00:25:10.359 INFO kablam! 77 | let class_input = input::getInput("Choose your class:"); Oct 13 00:25:10.359 INFO kablam! | ^^^^^^^^^^^ help: consider using `_class_input` instead Oct 13 00:25:10.359 INFO kablam! Oct 13 00:25:10.359 INFO kablam! warning: unused variable: `damage` Oct 13 00:25:10.359 INFO kablam! --> src/main.rs:117:9 Oct 13 00:25:10.359 INFO kablam! | Oct 13 00:25:10.359 INFO kablam! 117 | let damage : i32; Oct 13 00:25:10.359 INFO kablam! | ^^^^^^ help: consider using `_damage` instead Oct 13 00:25:10.359 INFO kablam! Oct 13 00:25:10.359 INFO kablam! warning: unused variable: `result` Oct 13 00:25:10.359 INFO kablam! --> src/main.rs:183:21 Oct 13 00:25:10.359 INFO kablam! | Oct 13 00:25:10.359 INFO kablam! 183 | let result = String::new(); Oct 13 00:25:10.359 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 13 00:25:10.359 INFO kablam! Oct 13 00:25:10.359 INFO kablam! warning: unused variable: `user` Oct 13 00:25:10.359 INFO kablam! --> src/main.rs:161:11 Oct 13 00:25:10.359 INFO kablam! | Oct 13 00:25:10.359 INFO kablam! 161 | fn tgLoop(user : &mut user::User) { Oct 13 00:25:10.359 INFO kablam! | ^^^^ help: consider using `_user` instead Oct 13 00:25:10.359 INFO kablam! Oct 13 00:25:10.359 INFO kablam! warning: variable does not need to be mutable Oct 13 00:25:10.359 INFO kablam! --> src/main.rs:151:13 Oct 13 00:25:10.359 INFO kablam! | Oct 13 00:25:10.359 INFO kablam! 151 | let mut i = input::getInput("Enter action");//.trim(); Oct 13 00:25:10.359 INFO kablam! | ----^ Oct 13 00:25:10.359 INFO kablam! | | Oct 13 00:25:10.359 INFO kablam! | help: remove this `mut` Oct 13 00:25:10.359 INFO kablam! | Oct 13 00:25:10.359 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 13 00:25:10.359 INFO kablam! Oct 13 00:25:10.371 INFO kablam! warning: function is never used: `createRandomBot` Oct 13 00:25:10.371 INFO kablam! --> src/user/mod.rs:83:1 Oct 13 00:25:10.371 INFO kablam! | Oct 13 00:25:10.371 INFO kablam! 83 | fn createRandomBot() -> User { Oct 13 00:25:10.371 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.371 INFO kablam! | Oct 13 00:25:10.371 INFO kablam! = note: #[warn(dead_code)] on by default Oct 13 00:25:10.371 INFO kablam! Oct 13 00:25:10.372 INFO kablam! warning: function is never used: `createUser` Oct 13 00:25:10.372 INFO kablam! --> src/user/mod.rs:88:1 Oct 13 00:25:10.372 INFO kablam! | Oct 13 00:25:10.372 INFO kablam! 88 | fn createUser() { Oct 13 00:25:10.372 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 13 00:25:10.372 INFO kablam! Oct 13 00:25:10.372 INFO kablam! warning: struct is never constructed: `ParamsHolder` Oct 13 00:25:10.372 INFO kablam! --> src/main.rs:33:1 Oct 13 00:25:10.372 INFO kablam! | Oct 13 00:25:10.372 INFO kablam! 33 | struct ParamsHolder { Oct 13 00:25:10.372 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.372 INFO kablam! Oct 13 00:25:10.372 INFO kablam! warning: struct is never constructed: `ClassLevelParams` Oct 13 00:25:10.372 INFO kablam! --> src/main.rs:40:1 Oct 13 00:25:10.372 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 40 | struct ClassLevelParams { Oct 13 00:25:10.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: struct is never constructed: `Location` Oct 13 00:25:10.373 INFO kablam! --> src/main.rs:48:1 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 48 | struct Location { Oct 13 00:25:10.373 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: struct is never constructed: `LocationAction` Oct 13 00:25:10.373 INFO kablam! --> src/main.rs:53:1 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 53 | struct LocationAction { Oct 13 00:25:10.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: function is never used: `kick` Oct 13 00:25:10.373 INFO kablam! --> src/main.rs:102:1 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 102 | fn kick(auser : &user::User, aname : &str, buser: &mut user::User, bname : &str) { Oct 13 00:25:10.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: function is never used: `battle` Oct 13 00:25:10.373 INFO kablam! --> src/main.rs:110:1 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 110 | fn battle(user : &mut user::User) { Oct 13 00:25:10.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: function is never used: `walk` Oct 13 00:25:10.373 INFO kablam! --> src/main.rs:138:1 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 138 | fn walk(user : &mut user::User) { Oct 13 00:25:10.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: function is never used: `gameLoop` Oct 13 00:25:10.373 INFO kablam! --> src/main.rs:150:1 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 150 | fn gameLoop(user : &mut user::User) { Oct 13 00:25:10.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: function `getInput` should have a snake case name such as `get_input` Oct 13 00:25:10.373 INFO kablam! --> src/input/mod.rs:5:1 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 5 | / pub fn getInput(header : &str) -> String { Oct 13 00:25:10.373 INFO kablam! 6 | | println!("{}: ",header); Oct 13 00:25:10.373 INFO kablam! 7 | | let mut input = String::new(); Oct 13 00:25:10.373 INFO kablam! 8 | | while (input.is_empty()) { Oct 13 00:25:10.373 INFO kablam! ... | Oct 13 00:25:10.373 INFO kablam! 11 | | return input; Oct 13 00:25:10.373 INFO kablam! 12 | | } Oct 13 00:25:10.373 INFO kablam! | |_^ Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: unused `std::result::Result` which must be used Oct 13 00:25:10.373 INFO kablam! --> src/input/mod.rs:9:9 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 9 | io::stdin().read_line(&mut input); Oct 13 00:25:10.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 13 00:25:10.373 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: structure field `minDamage` should have a snake case name such as `min_damage` Oct 13 00:25:10.373 INFO kablam! --> src/user/mod.rs:17:5 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 17 | minDamage : i32, Oct 13 00:25:10.373 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: structure field `maxDamage` should have a snake case name such as `max_damage` Oct 13 00:25:10.373 INFO kablam! --> src/user/mod.rs:18:5 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 18 | maxDamage : i32, Oct 13 00:25:10.373 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: method `CreateBot` should have a snake case name such as `create_bot` Oct 13 00:25:10.373 INFO kablam! --> src/user/mod.rs:26:5 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 26 | / pub fn CreateBot() -> Self { Oct 13 00:25:10.373 INFO kablam! 27 | | return User::new(""); Oct 13 00:25:10.373 INFO kablam! 28 | | } Oct 13 00:25:10.373 INFO kablam! | |_____^ Oct 13 00:25:10.373 INFO kablam! Oct 13 00:25:10.373 INFO kablam! warning: method `GetInfo` should have a snake case name such as `get_info` Oct 13 00:25:10.373 INFO kablam! --> src/user/mod.rs:41:5 Oct 13 00:25:10.373 INFO kablam! | Oct 13 00:25:10.373 INFO kablam! 41 | / pub fn GetInfo(&self) { Oct 13 00:25:10.373 INFO kablam! 42 | | Oct 13 00:25:10.374 INFO kablam! 43 | | } Oct 13 00:25:10.374 INFO kablam! | |_____^ Oct 13 00:25:10.374 INFO kablam! Oct 13 00:25:10.374 INFO kablam! warning: method `SetClass` should have a snake case name such as `set_class` Oct 13 00:25:10.374 INFO kablam! --> src/user/mod.rs:45:5 Oct 13 00:25:10.374 INFO kablam! | Oct 13 00:25:10.374 INFO kablam! 45 | / pub fn SetClass(&mut self, class : Class) Oct 13 00:25:10.374 INFO kablam! 46 | | { Oct 13 00:25:10.374 INFO kablam! 47 | | self.class = class; Oct 13 00:25:10.374 INFO kablam! 48 | | } Oct 13 00:25:10.374 INFO kablam! | |_____^ Oct 13 00:25:10.374 INFO kablam! Oct 13 00:25:10.374 INFO kablam! warning: method `Getname` should have a snake case name such as `getname` Oct 13 00:25:10.374 INFO kablam! --> src/user/mod.rs:50:5 Oct 13 00:25:10.374 INFO kablam! | Oct 13 00:25:10.374 INFO kablam! 50 | / pub fn Getname(&self) -> &String { Oct 13 00:25:10.374 INFO kablam! 51 | | &self.name Oct 13 00:25:10.374 INFO kablam! 52 | | } Oct 13 00:25:10.374 INFO kablam! | |_____^ Oct 13 00:25:10.374 INFO kablam! Oct 13 00:25:10.374 INFO kablam! warning: method `ToString` should have a snake case name such as `to_string` Oct 13 00:25:10.374 INFO kablam! --> src/user/mod.rs:54:5 Oct 13 00:25:10.374 INFO kablam! | Oct 13 00:25:10.374 INFO kablam! 54 | / pub fn ToString(self) -> String { Oct 13 00:25:10.374 INFO kablam! 55 | | self.name Oct 13 00:25:10.374 INFO kablam! 56 | | } Oct 13 00:25:10.374 INFO kablam! | |_____^ Oct 13 00:25:10.374 INFO kablam! Oct 13 00:25:10.374 INFO kablam! warning: method `GetDamage` should have a snake case name such as `get_damage` Oct 13 00:25:10.374 INFO kablam! --> src/user/mod.rs:60:5 Oct 13 00:25:10.374 INFO kablam! | Oct 13 00:25:10.374 INFO kablam! 60 | / pub fn GetDamage(&self) -> i32 { Oct 13 00:25:10.374 INFO kablam! 61 | | //let rng = rand::thread_rng(); Oct 13 00:25:10.374 INFO kablam! 62 | | //let x = rng.get_range(self.minDamage, self.maxDamage); Oct 13 00:25:10.374 INFO kablam! 63 | | Oct 13 00:25:10.374 INFO kablam! 64 | | let num = rand::thread_rng().gen_range(self.minDamage, self.maxDamage); Oct 13 00:25:10.374 INFO kablam! 65 | | return num; Oct 13 00:25:10.374 INFO kablam! 66 | | } Oct 13 00:25:10.374 INFO kablam! | |_____^ Oct 13 00:25:10.374 INFO kablam! Oct 13 00:25:10.374 INFO kablam! warning: method `RecieveDamage` should have a snake case name such as `recieve_damage` Oct 13 00:25:10.374 INFO kablam! --> src/user/mod.rs:70:5 Oct 13 00:25:10.374 INFO kablam! | Oct 13 00:25:10.374 INFO kablam! 70 | / pub fn RecieveDamage(&mut self, x : i32) { Oct 13 00:25:10.374 INFO kablam! 71 | | self.health-=x; Oct 13 00:25:10.374 INFO kablam! 72 | | } Oct 13 00:25:10.374 INFO kablam! | |_____^ Oct 13 00:25:10.374 INFO kablam! Oct 13 00:25:10.374 INFO kablam! warning: method `GetHealth` should have a snake case name such as `get_health` Oct 13 00:25:10.374 INFO kablam! --> src/user/mod.rs:74:5 Oct 13 00:25:10.374 INFO kablam! | Oct 13 00:25:10.374 INFO kablam! 74 | pub fn GetHealth(&self)->i32 {return self.health;} Oct 13 00:25:10.374 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:10.374 INFO kablam! Oct 13 00:25:10.374 INFO kablam! warning: method `IsAlive` should have a snake case name such as `is_alive` Oct 13 00:25:10.374 INFO kablam! --> src/user/mod.rs:76:5 Oct 13 00:25:10.374 INFO kablam! | Oct 13 00:25:10.374 INFO kablam! 76 | / pub fn IsAlive(self) -> bool { Oct 13 00:25:10.374 INFO kablam! 77 | | return self.health>0; Oct 13 00:25:10.374 INFO kablam! 78 | | } Oct 13 00:25:10.374 INFO kablam! | |_____^ Oct 13 00:25:10.374 INFO kablam! Oct 13 00:25:10.374 INFO kablam! warning: function `createRandomBot` should have a snake case name such as `create_random_bot` Oct 13 00:25:10.374 INFO kablam! --> src/user/mod.rs:83:1 Oct 13 00:25:10.374 INFO kablam! | Oct 13 00:25:10.374 INFO kablam! 83 | / fn createRandomBot() -> User { Oct 13 00:25:10.374 INFO kablam! 84 | | let user: User = User::new(""); Oct 13 00:25:10.374 INFO kablam! 85 | | return user; Oct 13 00:25:10.374 INFO kablam! 86 | | } Oct 13 00:25:10.374 INFO kablam! | |_^ Oct 13 00:25:10.374 INFO kablam! Oct 13 00:25:10.374 INFO kablam! warning: function `createUser` should have a snake case name such as `create_user` Oct 13 00:25:10.374 INFO kablam! --> src/user/mod.rs:88:1 Oct 13 00:25:10.374 INFO kablam! | Oct 13 00:25:10.374 INFO kablam! 88 | / fn createUser() { Oct 13 00:25:10.374 INFO kablam! 89 | | Oct 13 00:25:10.374 INFO kablam! 90 | | } Oct 13 00:25:10.374 INFO kablam! | |_^ Oct 13 00:25:10.374 INFO kablam! Oct 13 00:25:10.374 INFO kablam! warning: denote infinite loops with `loop { ... }` Oct 13 00:25:10.374 INFO kablam! --> src/main.rs:118:5 Oct 13 00:25:10.374 INFO kablam! | Oct 13 00:25:10.374 INFO kablam! 118 | while (true) { Oct 13 00:25:10.374 INFO kablam! | ^^^^^^^^^^^^ help: use `loop` Oct 13 00:25:10.374 INFO kablam! | Oct 13 00:25:10.375 INFO kablam! = note: #[warn(while_true)] on by default Oct 13 00:25:10.375 INFO kablam! Oct 13 00:25:10.375 INFO kablam! warning: function `gameLoop` should have a snake case name such as `game_loop` Oct 13 00:25:10.375 INFO kablam! --> src/main.rs:150:1 Oct 13 00:25:10.375 INFO kablam! | Oct 13 00:25:10.375 INFO kablam! 150 | / fn gameLoop(user : &mut user::User) { Oct 13 00:25:10.375 INFO kablam! 151 | | let mut i = input::getInput("Enter action");//.trim(); Oct 13 00:25:10.375 INFO kablam! 152 | | println!("{}",i); Oct 13 00:25:10.375 INFO kablam! 153 | | if (i.trim()=="w") { Oct 13 00:25:10.375 INFO kablam! ... | Oct 13 00:25:10.375 INFO kablam! 156 | | } Oct 13 00:25:10.375 INFO kablam! 157 | | } Oct 13 00:25:10.375 INFO kablam! | |_^ Oct 13 00:25:10.375 INFO kablam! Oct 13 00:25:10.375 INFO kablam! warning: function `tgLoop` should have a snake case name such as `tg_loop` Oct 13 00:25:10.375 INFO kablam! --> src/main.rs:161:1 Oct 13 00:25:10.375 INFO kablam! | Oct 13 00:25:10.375 INFO kablam! 161 | / fn tgLoop(user : &mut user::User) { Oct 13 00:25:10.375 INFO kablam! 162 | | let mut core = Core::new().unwrap(); Oct 13 00:25:10.375 INFO kablam! 163 | | Oct 13 00:25:10.375 INFO kablam! 164 | | let token = "590889402:AAG-OPeK9bJAPdNU_9h_WXYs7e8eLfZBy7E"; Oct 13 00:25:10.375 INFO kablam! ... | Oct 13 00:25:10.375 INFO kablam! 208 | | core.run(future).unwrap(); Oct 13 00:25:10.375 INFO kablam! 209 | | } Oct 13 00:25:10.375 INFO kablam! | |_^ Oct 13 00:25:10.375 INFO kablam! Oct 13 00:25:13.840 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1m 00s Oct 13 00:25:13.854 INFO kablam! su: No module specific data is present Oct 13 00:25:14.516 INFO running `"docker" "rm" "-f" "26498edbf339d9c9e016bbd237c702f81f7a5d5eb1adb6752e418836b36e5408"` Oct 13 00:25:14.675 INFO blam! 26498edbf339d9c9e016bbd237c702f81f7a5d5eb1adb6752e418836b36e5408 Oct 13 00:25:14.675 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-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 13 00:25:14.963 INFO blam! 0a0568886c26a04a6b3a39ad0380af78ac7ed551394b8c6901c8e4c49a1d65e7 Oct 13 00:25:14.964 INFO running `"docker" "start" "-a" "0a0568886c26a04a6b3a39ad0380af78ac7ed551394b8c6901c8e4c49a1d65e7"` Oct 13 00:25:15.365 INFO kablam! usermod: no changes Oct 13 00:25:15.489 INFO kablam! Compiling foxnotdead v0.1.0 (/source) Oct 13 00:25:16.531 INFO kablam! warning: unnecessary parentheses around `while` condition Oct 13 00:25:16.531 INFO kablam! --> src/input/mod.rs:8:11 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 8 | while (input.is_empty()) { Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unused import: `std::env` Oct 13 00:25:16.531 INFO kablam! --> src/tg.rs:6:5 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 6 | use std::env; Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^^ Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unused import: `self::futures::Stream` Oct 13 00:25:16.531 INFO kablam! --> src/tg.rs:8:5 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 8 | use self::futures::Stream; Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unused import: `self::tokio_core::reactor::Core` Oct 13 00:25:16.531 INFO kablam! --> src/tg.rs:9:5 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 9 | use self::tokio_core::reactor::Core; Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unused import: `self::telegram_bot::*` Oct 13 00:25:16.531 INFO kablam! --> src/tg.rs:10:5 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 10 | use self::telegram_bot::*; Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unused import: `std::env` Oct 13 00:25:16.531 INFO kablam! --> src/main.rs:13:5 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 13 | use std::env; Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^^ Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unused import: `std::io` Oct 13 00:25:16.531 INFO kablam! --> src/main.rs:28:5 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 28 | use std::io; Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^ Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unnecessary parentheses around `while` condition Oct 13 00:25:16.531 INFO kablam! --> src/main.rs:118:11 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 118 | while (true) { Oct 13 00:25:16.531 INFO kablam! | ^^^^^^ help: remove these parentheses Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 13 00:25:16.531 INFO kablam! --> src/main.rs:120:12 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 120 | if (bot.GetHealth()<=0) { Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 13 00:25:16.531 INFO kablam! --> src/main.rs:128:12 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 128 | if (user.GetHealth()<=0) { Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 13 00:25:16.531 INFO kablam! --> src/main.rs:140:8 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 140 | if (r == 0 ) { Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^^^ help: remove these parentheses Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 13 00:25:16.531 INFO kablam! --> src/main.rs:153:12 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 153 | if (i.trim()=="w") { Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^^^^^^^^^ help: remove these parentheses Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.531 INFO kablam! warning: unnecessary parentheses around `if` condition Oct 13 00:25:16.531 INFO kablam! --> src/main.rs:184:20 Oct 13 00:25:16.531 INFO kablam! | Oct 13 00:25:16.531 INFO kablam! 184 | if (data.trim()=="w") { Oct 13 00:25:16.531 INFO kablam! | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 13 00:25:16.531 INFO kablam! Oct 13 00:25:16.648 INFO kablam! warning: unused variable: `conn` Oct 13 00:25:16.648 INFO kablam! --> src/main.rs:67:9 Oct 13 00:25:16.648 INFO kablam! | Oct 13 00:25:16.648 INFO kablam! 67 | let conn = Connection::open_in_memory().unwrap(); Oct 13 00:25:16.648 INFO kablam! | ^^^^ help: consider using `_conn` instead Oct 13 00:25:16.648 INFO kablam! | Oct 13 00:25:16.648 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 13 00:25:16.648 INFO kablam! Oct 13 00:25:16.648 INFO kablam! warning: unused variable: `thief_class` Oct 13 00:25:16.648 INFO kablam! --> src/main.rs:68:9 Oct 13 00:25:16.648 INFO kablam! | Oct 13 00:25:16.649 INFO kablam! 68 | let thief_class = user::Class{ id: 0, name: "" }; Oct 13 00:25:16.649 INFO kablam! | ^^^^^^^^^^^ help: consider using `_thief_class` instead Oct 13 00:25:16.649 INFO kablam! Oct 13 00:25:16.649 INFO kablam! warning: unused variable: `fighter_class` Oct 13 00:25:16.649 INFO kablam! --> src/main.rs:69:9 Oct 13 00:25:16.649 INFO kablam! | Oct 13 00:25:16.649 INFO kablam! 69 | let fighter_class = user::Class{ id: 0, name: "" }; Oct 13 00:25:16.649 INFO kablam! | ^^^^^^^^^^^^^ help: consider using `_fighter_class` instead Oct 13 00:25:16.649 INFO kablam! Oct 13 00:25:16.649 INFO kablam! warning: unused variable: `class_input` Oct 13 00:25:16.649 INFO kablam! --> src/main.rs:77:9 Oct 13 00:25:16.649 INFO kablam! | Oct 13 00:25:16.649 INFO kablam! 77 | let class_input = input::getInput("Choose your class:"); Oct 13 00:25:16.649 INFO kablam! | ^^^^^^^^^^^ help: consider using `_class_input` instead Oct 13 00:25:16.649 INFO kablam! Oct 13 00:25:16.649 INFO kablam! warning: unused variable: `damage` Oct 13 00:25:16.649 INFO kablam! --> src/main.rs:117:9 Oct 13 00:25:16.649 INFO kablam! | Oct 13 00:25:16.649 INFO kablam! 117 | let damage : i32; Oct 13 00:25:16.649 INFO kablam! | ^^^^^^ help: consider using `_damage` instead Oct 13 00:25:16.649 INFO kablam! Oct 13 00:25:16.649 INFO kablam! warning: unused variable: `result` Oct 13 00:25:16.649 INFO kablam! --> src/main.rs:183:21 Oct 13 00:25:16.649 INFO kablam! | Oct 13 00:25:16.649 INFO kablam! 183 | let result = String::new(); Oct 13 00:25:16.649 INFO kablam! | ^^^^^^ help: consider using `_result` instead Oct 13 00:25:16.649 INFO kablam! Oct 13 00:25:16.649 INFO kablam! warning: unused variable: `user` Oct 13 00:25:16.649 INFO kablam! --> src/main.rs:161:11 Oct 13 00:25:16.649 INFO kablam! | Oct 13 00:25:16.649 INFO kablam! 161 | fn tgLoop(user : &mut user::User) { Oct 13 00:25:16.649 INFO kablam! | ^^^^ help: consider using `_user` instead Oct 13 00:25:16.649 INFO kablam! Oct 13 00:25:16.655 INFO kablam! warning: variable does not need to be mutable Oct 13 00:25:16.655 INFO kablam! --> src/main.rs:151:13 Oct 13 00:25:16.655 INFO kablam! | Oct 13 00:25:16.655 INFO kablam! 151 | let mut i = input::getInput("Enter action");//.trim(); Oct 13 00:25:16.655 INFO kablam! | ----^ Oct 13 00:25:16.655 INFO kablam! | | Oct 13 00:25:16.655 INFO kablam! | help: remove this `mut` Oct 13 00:25:16.655 INFO kablam! | Oct 13 00:25:16.655 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 13 00:25:16.655 INFO kablam! Oct 13 00:25:16.661 INFO kablam! warning: function is never used: `createRandomBot` Oct 13 00:25:16.661 INFO kablam! --> src/user/mod.rs:83:1 Oct 13 00:25:16.661 INFO kablam! | Oct 13 00:25:16.661 INFO kablam! 83 | fn createRandomBot() -> User { Oct 13 00:25:16.661 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.661 INFO kablam! | Oct 13 00:25:16.662 INFO kablam! = note: #[warn(dead_code)] on by default Oct 13 00:25:16.662 INFO kablam! Oct 13 00:25:16.662 INFO kablam! warning: function is never used: `createUser` Oct 13 00:25:16.662 INFO kablam! --> src/user/mod.rs:88:1 Oct 13 00:25:16.662 INFO kablam! | Oct 13 00:25:16.662 INFO kablam! 88 | fn createUser() { Oct 13 00:25:16.662 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 13 00:25:16.662 INFO kablam! Oct 13 00:25:16.662 INFO kablam! warning: struct is never constructed: `ParamsHolder` Oct 13 00:25:16.662 INFO kablam! --> src/main.rs:33:1 Oct 13 00:25:16.662 INFO kablam! | Oct 13 00:25:16.662 INFO kablam! 33 | struct ParamsHolder { Oct 13 00:25:16.662 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.662 INFO kablam! Oct 13 00:25:16.662 INFO kablam! warning: struct is never constructed: `ClassLevelParams` Oct 13 00:25:16.662 INFO kablam! --> src/main.rs:40:1 Oct 13 00:25:16.662 INFO kablam! | Oct 13 00:25:16.662 INFO kablam! 40 | struct ClassLevelParams { Oct 13 00:25:16.662 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.663 INFO kablam! Oct 13 00:25:16.663 INFO kablam! warning: struct is never constructed: `Location` Oct 13 00:25:16.663 INFO kablam! --> src/main.rs:48:1 Oct 13 00:25:16.663 INFO kablam! | Oct 13 00:25:16.663 INFO kablam! 48 | struct Location { Oct 13 00:25:16.663 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 13 00:25:16.663 INFO kablam! Oct 13 00:25:16.663 INFO kablam! warning: struct is never constructed: `LocationAction` Oct 13 00:25:16.663 INFO kablam! --> src/main.rs:53:1 Oct 13 00:25:16.663 INFO kablam! | Oct 13 00:25:16.663 INFO kablam! 53 | struct LocationAction { Oct 13 00:25:16.663 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.663 INFO kablam! Oct 13 00:25:16.663 INFO kablam! warning: function is never used: `kick` Oct 13 00:25:16.663 INFO kablam! --> src/main.rs:102:1 Oct 13 00:25:16.663 INFO kablam! | Oct 13 00:25:16.663 INFO kablam! 102 | fn kick(auser : &user::User, aname : &str, buser: &mut user::User, bname : &str) { Oct 13 00:25:16.663 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.663 INFO kablam! Oct 13 00:25:16.663 INFO kablam! warning: function is never used: `battle` Oct 13 00:25:16.663 INFO kablam! --> src/main.rs:110:1 Oct 13 00:25:16.663 INFO kablam! | Oct 13 00:25:16.663 INFO kablam! 110 | fn battle(user : &mut user::User) { Oct 13 00:25:16.663 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.663 INFO kablam! Oct 13 00:25:16.663 INFO kablam! warning: function is never used: `walk` Oct 13 00:25:16.663 INFO kablam! --> src/main.rs:138:1 Oct 13 00:25:16.663 INFO kablam! | Oct 13 00:25:16.663 INFO kablam! 138 | fn walk(user : &mut user::User) { Oct 13 00:25:16.663 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.663 INFO kablam! Oct 13 00:25:16.663 INFO kablam! warning: function is never used: `gameLoop` Oct 13 00:25:16.663 INFO kablam! --> src/main.rs:150:1 Oct 13 00:25:16.663 INFO kablam! | Oct 13 00:25:16.663 INFO kablam! 150 | fn gameLoop(user : &mut user::User) { Oct 13 00:25:16.663 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.663 INFO kablam! Oct 13 00:25:16.663 INFO kablam! warning: function `getInput` should have a snake case name such as `get_input` Oct 13 00:25:16.663 INFO kablam! --> src/input/mod.rs:5:1 Oct 13 00:25:16.663 INFO kablam! | Oct 13 00:25:16.663 INFO kablam! 5 | / pub fn getInput(header : &str) -> String { Oct 13 00:25:16.663 INFO kablam! 6 | | println!("{}: ",header); Oct 13 00:25:16.663 INFO kablam! 7 | | let mut input = String::new(); Oct 13 00:25:16.663 INFO kablam! 8 | | while (input.is_empty()) { Oct 13 00:25:16.663 INFO kablam! ... | Oct 13 00:25:16.663 INFO kablam! 11 | | return input; Oct 13 00:25:16.663 INFO kablam! 12 | | } Oct 13 00:25:16.663 INFO kablam! | |_^ Oct 13 00:25:16.663 INFO kablam! | Oct 13 00:25:16.663 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 13 00:25:16.663 INFO kablam! Oct 13 00:25:16.663 INFO kablam! warning: unused `std::result::Result` which must be used Oct 13 00:25:16.663 INFO kablam! --> src/input/mod.rs:9:9 Oct 13 00:25:16.663 INFO kablam! | Oct 13 00:25:16.663 INFO kablam! 9 | io::stdin().read_line(&mut input); Oct 13 00:25:16.663 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.663 INFO kablam! | Oct 13 00:25:16.663 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 13 00:25:16.663 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 13 00:25:16.663 INFO kablam! Oct 13 00:25:16.664 INFO kablam! warning: structure field `minDamage` should have a snake case name such as `min_damage` Oct 13 00:25:16.664 INFO kablam! --> src/user/mod.rs:17:5 Oct 13 00:25:16.664 INFO kablam! | Oct 13 00:25:16.664 INFO kablam! 17 | minDamage : i32, Oct 13 00:25:16.664 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 13 00:25:16.664 INFO kablam! Oct 13 00:25:16.665 INFO kablam! warning: structure field `maxDamage` should have a snake case name such as `max_damage` Oct 13 00:25:16.665 INFO kablam! --> src/user/mod.rs:18:5 Oct 13 00:25:16.665 INFO kablam! | Oct 13 00:25:16.665 INFO kablam! 18 | maxDamage : i32, Oct 13 00:25:16.665 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 13 00:25:16.665 INFO kablam! Oct 13 00:25:16.665 INFO kablam! warning: method `CreateBot` should have a snake case name such as `create_bot` Oct 13 00:25:16.665 INFO kablam! --> src/user/mod.rs:26:5 Oct 13 00:25:16.665 INFO kablam! | Oct 13 00:25:16.665 INFO kablam! 26 | / pub fn CreateBot() -> Self { Oct 13 00:25:16.665 INFO kablam! 27 | | return User::new(""); Oct 13 00:25:16.665 INFO kablam! 28 | | } Oct 13 00:25:16.665 INFO kablam! | |_____^ Oct 13 00:25:16.665 INFO kablam! Oct 13 00:25:16.665 INFO kablam! warning: method `GetInfo` should have a snake case name such as `get_info` Oct 13 00:25:16.665 INFO kablam! --> src/user/mod.rs:41:5 Oct 13 00:25:16.665 INFO kablam! | Oct 13 00:25:16.665 INFO kablam! 41 | / pub fn GetInfo(&self) { Oct 13 00:25:16.665 INFO kablam! 42 | | Oct 13 00:25:16.665 INFO kablam! 43 | | } Oct 13 00:25:16.665 INFO kablam! | |_____^ Oct 13 00:25:16.665 INFO kablam! Oct 13 00:25:16.665 INFO kablam! warning: method `SetClass` should have a snake case name such as `set_class` Oct 13 00:25:16.665 INFO kablam! --> src/user/mod.rs:45:5 Oct 13 00:25:16.665 INFO kablam! | Oct 13 00:25:16.665 INFO kablam! 45 | / pub fn SetClass(&mut self, class : Class) Oct 13 00:25:16.665 INFO kablam! 46 | | { Oct 13 00:25:16.665 INFO kablam! 47 | | self.class = class; Oct 13 00:25:16.665 INFO kablam! 48 | | } Oct 13 00:25:16.665 INFO kablam! | |_____^ Oct 13 00:25:16.665 INFO kablam! Oct 13 00:25:16.665 INFO kablam! warning: method `Getname` should have a snake case name such as `getname` Oct 13 00:25:16.665 INFO kablam! --> src/user/mod.rs:50:5 Oct 13 00:25:16.665 INFO kablam! | Oct 13 00:25:16.665 INFO kablam! 50 | / pub fn Getname(&self) -> &String { Oct 13 00:25:16.665 INFO kablam! 51 | | &self.name Oct 13 00:25:16.665 INFO kablam! 52 | | } Oct 13 00:25:16.665 INFO kablam! | |_____^ Oct 13 00:25:16.665 INFO kablam! Oct 13 00:25:16.665 INFO kablam! warning: method `ToString` should have a snake case name such as `to_string` Oct 13 00:25:16.665 INFO kablam! --> src/user/mod.rs:54:5 Oct 13 00:25:16.665 INFO kablam! | Oct 13 00:25:16.665 INFO kablam! 54 | / pub fn ToString(self) -> String { Oct 13 00:25:16.665 INFO kablam! 55 | | self.name Oct 13 00:25:16.665 INFO kablam! 56 | | } Oct 13 00:25:16.665 INFO kablam! | |_____^ Oct 13 00:25:16.665 INFO kablam! Oct 13 00:25:16.665 INFO kablam! warning: method `GetDamage` should have a snake case name such as `get_damage` Oct 13 00:25:16.666 INFO kablam! --> src/user/mod.rs:60:5 Oct 13 00:25:16.666 INFO kablam! | Oct 13 00:25:16.666 INFO kablam! 60 | / pub fn GetDamage(&self) -> i32 { Oct 13 00:25:16.666 INFO kablam! 61 | | //let rng = rand::thread_rng(); Oct 13 00:25:16.666 INFO kablam! 62 | | //let x = rng.get_range(self.minDamage, self.maxDamage); Oct 13 00:25:16.666 INFO kablam! 63 | | Oct 13 00:25:16.666 INFO kablam! 64 | | let num = rand::thread_rng().gen_range(self.minDamage, self.maxDamage); Oct 13 00:25:16.666 INFO kablam! 65 | | return num; Oct 13 00:25:16.666 INFO kablam! 66 | | } Oct 13 00:25:16.666 INFO kablam! | |_____^ Oct 13 00:25:16.666 INFO kablam! Oct 13 00:25:16.666 INFO kablam! warning: method `RecieveDamage` should have a snake case name such as `recieve_damage` Oct 13 00:25:16.666 INFO kablam! --> src/user/mod.rs:70:5 Oct 13 00:25:16.666 INFO kablam! | Oct 13 00:25:16.666 INFO kablam! 70 | / pub fn RecieveDamage(&mut self, x : i32) { Oct 13 00:25:16.666 INFO kablam! 71 | | self.health-=x; Oct 13 00:25:16.666 INFO kablam! 72 | | } Oct 13 00:25:16.666 INFO kablam! | |_____^ Oct 13 00:25:16.666 INFO kablam! Oct 13 00:25:16.666 INFO kablam! warning: method `GetHealth` should have a snake case name such as `get_health` Oct 13 00:25:16.666 INFO kablam! --> src/user/mod.rs:74:5 Oct 13 00:25:16.666 INFO kablam! | Oct 13 00:25:16.666 INFO kablam! 74 | pub fn GetHealth(&self)->i32 {return self.health;} Oct 13 00:25:16.666 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 00:25:16.666 INFO kablam! Oct 13 00:25:16.666 INFO kablam! warning: method `IsAlive` should have a snake case name such as `is_alive` Oct 13 00:25:16.666 INFO kablam! --> src/user/mod.rs:76:5 Oct 13 00:25:16.666 INFO kablam! | Oct 13 00:25:16.666 INFO kablam! 76 | / pub fn IsAlive(self) -> bool { Oct 13 00:25:16.666 INFO kablam! 77 | | return self.health>0; Oct 13 00:25:16.666 INFO kablam! 78 | | } Oct 13 00:25:16.666 INFO kablam! | |_____^ Oct 13 00:25:16.666 INFO kablam! Oct 13 00:25:16.666 INFO kablam! warning: function `createRandomBot` should have a snake case name such as `create_random_bot` Oct 13 00:25:16.666 INFO kablam! --> src/user/mod.rs:83:1 Oct 13 00:25:16.666 INFO kablam! | Oct 13 00:25:16.666 INFO kablam! 83 | / fn createRandomBot() -> User { Oct 13 00:25:16.666 INFO kablam! 84 | | let user: User = User::new(""); Oct 13 00:25:16.666 INFO kablam! 85 | | return user; Oct 13 00:25:16.666 INFO kablam! 86 | | } Oct 13 00:25:16.666 INFO kablam! | |_^ Oct 13 00:25:16.666 INFO kablam! Oct 13 00:25:16.666 INFO kablam! warning: function `createUser` should have a snake case name such as `create_user` Oct 13 00:25:16.666 INFO kablam! --> src/user/mod.rs:88:1 Oct 13 00:25:16.666 INFO kablam! | Oct 13 00:25:16.666 INFO kablam! 88 | / fn createUser() { Oct 13 00:25:16.666 INFO kablam! 89 | | Oct 13 00:25:16.666 INFO kablam! 90 | | } Oct 13 00:25:16.666 INFO kablam! | |_^ Oct 13 00:25:16.666 INFO kablam! Oct 13 00:25:16.666 INFO kablam! warning: denote infinite loops with `loop { ... }` Oct 13 00:25:16.666 INFO kablam! --> src/main.rs:118:5 Oct 13 00:25:16.666 INFO kablam! | Oct 13 00:25:16.666 INFO kablam! 118 | while (true) { Oct 13 00:25:16.666 INFO kablam! | ^^^^^^^^^^^^ help: use `loop` Oct 13 00:25:16.666 INFO kablam! | Oct 13 00:25:16.666 INFO kablam! = note: #[warn(while_true)] on by default Oct 13 00:25:16.666 INFO kablam! Oct 13 00:25:16.666 INFO kablam! warning: function `gameLoop` should have a snake case name such as `game_loop` Oct 13 00:25:16.666 INFO kablam! --> src/main.rs:150:1 Oct 13 00:25:16.666 INFO kablam! | Oct 13 00:25:16.666 INFO kablam! 150 | / fn gameLoop(user : &mut user::User) { Oct 13 00:25:16.666 INFO kablam! 151 | | let mut i = input::getInput("Enter action");//.trim(); Oct 13 00:25:16.666 INFO kablam! 152 | | println!("{}",i); Oct 13 00:25:16.666 INFO kablam! 153 | | if (i.trim()=="w") { Oct 13 00:25:16.666 INFO kablam! ... | Oct 13 00:25:16.666 INFO kablam! 156 | | } Oct 13 00:25:16.666 INFO kablam! 157 | | } Oct 13 00:25:16.666 INFO kablam! | |_^ Oct 13 00:25:16.666 INFO kablam! Oct 13 00:25:16.666 INFO kablam! warning: function `tgLoop` should have a snake case name such as `tg_loop` Oct 13 00:25:16.666 INFO kablam! --> src/main.rs:161:1 Oct 13 00:25:16.666 INFO kablam! | Oct 13 00:25:16.666 INFO kablam! 161 | / fn tgLoop(user : &mut user::User) { Oct 13 00:25:16.666 INFO kablam! 162 | | let mut core = Core::new().unwrap(); Oct 13 00:25:16.666 INFO kablam! 163 | | Oct 13 00:25:16.666 INFO kablam! 164 | | let token = "590889402:AAG-OPeK9bJAPdNU_9h_WXYs7e8eLfZBy7E"; Oct 13 00:25:16.666 INFO kablam! ... | Oct 13 00:25:16.666 INFO kablam! 208 | | core.run(future).unwrap(); Oct 13 00:25:16.666 INFO kablam! 209 | | } Oct 13 00:25:16.666 INFO kablam! | |_^ Oct 13 00:25:16.666 INFO kablam! Oct 13 00:25:17.019 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.63s Oct 13 00:25:17.027 INFO kablam! su: No module specific data is present Oct 13 00:25:17.340 INFO running `"docker" "rm" "-f" "0a0568886c26a04a6b3a39ad0380af78ac7ed551394b8c6901c8e4c49a1d65e7"` Oct 13 00:25:17.427 INFO blam! 0a0568886c26a04a6b3a39ad0380af78ac7ed551394b8c6901c8e4c49a1d65e7 Oct 13 00:25:17.429 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-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 13 00:25:17.634 INFO blam! e820484936058720d9c32bb797a601b036fe235cd760126402428bcd7d227613 Oct 13 00:25:17.634 INFO running `"docker" "start" "-a" "e820484936058720d9c32bb797a601b036fe235cd760126402428bcd7d227613"` Oct 13 00:25:18.067 INFO kablam! usermod: no changes Oct 13 00:25:18.262 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.15s Oct 13 00:25:18.283 INFO kablam! Running /target/debug/deps/foxnotdead-ef4073b10ff35829 Oct 13 00:25:18.291 INFO kablam! su: No module specific data is present Oct 13 00:25:18.291 INFO blam! Oct 13 00:25:18.291 INFO blam! running 0 tests Oct 13 00:25:18.291 INFO blam! Oct 13 00:25:18.291 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 13 00:25:18.291 INFO blam! Oct 13 00:25:18.693 INFO running `"docker" "rm" "-f" "e820484936058720d9c32bb797a601b036fe235cd760126402428bcd7d227613"` Oct 13 00:25:19.052 INFO blam! e820484936058720d9c32bb797a601b036fe235cd760126402428bcd7d227613