Oct 10 13:33:02.553 INFO testing thomaswall/tank-hunter against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling Oct 10 13:33:02.553 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen Oct 10 13:33:02.553 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 10 13:33:02.965 INFO blam! 938771bc0ebda3b107458b25dc36be93186b69a392455d8972f1ce6f551fe568 Oct 10 13:33:02.970 INFO running `"docker" "start" "-a" "938771bc0ebda3b107458b25dc36be93186b69a392455d8972f1ce6f551fe568"` Oct 10 13:33:04.041 INFO kablam! usermod: no changes Oct 10 13:33:04.293 INFO kablam! Compiling mac v0.0.2 Oct 10 13:33:04.299 INFO kablam! Compiling memchr v0.1.11 Oct 10 13:33:04.299 INFO kablam! Compiling num_cpus v0.2.13 Oct 10 13:33:04.299 INFO kablam! Compiling utf-8 v0.6.0 Oct 10 13:33:04.302 INFO kablam! Compiling conduit-mime-types v0.7.3 Oct 10 13:33:04.302 INFO kablam! Compiling phf v0.7.21 Oct 10 13:33:04.302 INFO kablam! Compiling url v1.3.0 Oct 10 13:33:04.302 INFO kablam! Compiling string_cache v0.2.29 Oct 10 13:33:06.945 INFO kablam! Compiling thread-id v2.0.0 Oct 10 13:33:07.051 INFO kablam! Compiling futf v0.1.2 Oct 10 13:33:07.126 INFO kablam! Compiling html5ever v0.5.4 Oct 10 13:33:09.804 INFO kablam! Compiling aho-corasick v0.5.3 Oct 10 13:33:09.804 INFO kablam! Compiling thread_local v0.2.7 Oct 10 13:33:10.365 INFO kablam! Compiling tendril v0.2.3 Oct 10 13:33:14.900 INFO kablam! Compiling regex v0.1.80 Oct 10 13:33:16.680 INFO kablam! Compiling cookie v0.2.5 Oct 10 13:33:16.680 INFO kablam! Compiling hyper v0.10.0 Oct 10 13:33:19.848 INFO kablam! Compiling hyper v0.9.14 Oct 10 13:33:25.448 INFO kablam! Compiling classifier v0.0.3 Oct 10 13:33:30.568 INFO kablam! Compiling select v0.3.0 Oct 10 13:33:34.792 INFO kablam! Compiling iron v0.4.0 Oct 10 13:33:39.938 INFO kablam! Compiling router v0.4.0 Oct 10 13:33:42.985 INFO kablam! Compiling tank-hunter v0.1.0 (/source) Oct 10 13:33:45.916 INFO kablam! warning: unused imports: `Attr`, `Predicate` Oct 10 13:33:45.916 INFO kablam! --> src/main.rs:25:25 Oct 10 13:33:45.916 INFO kablam! | Oct 10 13:33:45.916 INFO kablam! 25 | use select::predicate::{Predicate, Attr, Class, Name}; Oct 10 13:33:45.916 INFO kablam! | ^^^^^^^^^ ^^^^ Oct 10 13:33:45.916 INFO kablam! | Oct 10 13:33:45.916 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 10 13:33:45.916 INFO kablam! Oct 10 13:33:46.100 INFO kablam! warning: unused variable: `err` Oct 10 13:33:46.100 INFO kablam! --> src/main.rs:113:21 Oct 10 13:33:46.100 INFO kablam! | Oct 10 13:33:46.100 INFO kablam! 113 | Err(err) => panic!("Unable to open file!") Oct 10 13:33:46.100 INFO kablam! | ^^^ help: consider using `_err` instead Oct 10 13:33:46.100 INFO kablam! | Oct 10 13:33:46.101 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 13:33:46.101 INFO kablam! Oct 10 13:33:46.101 INFO kablam! warning: value assigned to `nb` is never read Oct 10 13:33:46.101 INFO kablam! --> src/main.rs:73:13 Oct 10 13:33:46.101 INFO kablam! | Oct 10 13:33:46.101 INFO kablam! 73 | let mut nb = Arc::new(Mutex::new(NaiveBayes::new())); Oct 10 13:33:46.101 INFO kablam! | ^^ Oct 10 13:33:46.101 INFO kablam! | Oct 10 13:33:46.101 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 10 13:33:46.101 INFO kablam! Oct 10 13:33:46.101 INFO kablam! warning: unused variable: `err` Oct 10 13:33:46.101 INFO kablam! --> src/main.rs:79:13 Oct 10 13:33:46.101 INFO kablam! | Oct 10 13:33:46.101 INFO kablam! 79 | Err(err) => { Oct 10 13:33:46.101 INFO kablam! | ^^^ help: consider using `_err` instead Oct 10 13:33:46.101 INFO kablam! Oct 10 13:33:46.101 INFO kablam! warning: unused variable: `value` Oct 10 13:33:46.101 INFO kablam! --> src/main.rs:188:21 Oct 10 13:33:46.101 INFO kablam! | Oct 10 13:33:46.101 INFO kablam! 188 | for (index, value) in (0..max).enumerate() { Oct 10 13:33:46.101 INFO kablam! | ^^^^^ help: consider using `_value` instead Oct 10 13:33:46.101 INFO kablam! Oct 10 13:33:46.101 INFO kablam! warning: unused variable: `index` Oct 10 13:33:46.101 INFO kablam! --> src/main.rs:209:14 Oct 10 13:33:46.101 INFO kablam! | Oct 10 13:33:46.101 INFO kablam! 209 | for (index, value) in (0..max).enumerate() { Oct 10 13:33:46.101 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 10 13:33:46.101 INFO kablam! Oct 10 13:33:46.101 INFO kablam! warning: unused variable: `value` Oct 10 13:33:46.101 INFO kablam! --> src/main.rs:209:21 Oct 10 13:33:46.101 INFO kablam! | Oct 10 13:33:46.101 INFO kablam! 209 | for (index, value) in (0..max).enumerate() { Oct 10 13:33:46.101 INFO kablam! | ^^^^^ help: consider using `_value` instead Oct 10 13:33:46.101 INFO kablam! Oct 10 13:33:46.101 INFO kablam! warning: unused variable: `new_time` Oct 10 13:33:46.101 INFO kablam! --> src/main.rs:244:17 Oct 10 13:33:46.101 INFO kablam! | Oct 10 13:33:46.101 INFO kablam! 244 | let new_time = time::get_time().sec; Oct 10 13:33:46.101 INFO kablam! | ^^^^^^^^ help: consider using `_new_time` instead Oct 10 13:33:46.101 INFO kablam! Oct 10 13:33:46.101 INFO kablam! warning: unused variable: `body` Oct 10 13:33:46.101 INFO kablam! --> src/main.rs:335:13 Oct 10 13:33:46.101 INFO kablam! | Oct 10 13:33:46.101 INFO kablam! 335 | let body = block.find(Name("blockquote")).first().unwrap().text(); Oct 10 13:33:46.101 INFO kablam! | ^^^^ help: consider using `_body` instead Oct 10 13:33:46.101 INFO kablam! Oct 10 13:33:46.101 INFO kablam! warning: unused variable: `err` Oct 10 13:33:46.101 INFO kablam! --> src/main.rs:370:17 Oct 10 13:33:46.101 INFO kablam! | Oct 10 13:33:46.101 INFO kablam! 370 | Err(err) => panic!("Unable to open file!") Oct 10 13:33:46.101 INFO kablam! | ^^^ help: consider using `_err` instead Oct 10 13:33:46.101 INFO kablam! Oct 10 13:33:46.101 INFO kablam! warning: unused variable: `err` Oct 10 13:33:46.101 INFO kablam! --> src/main.rs:378:17 Oct 10 13:33:46.101 INFO kablam! | Oct 10 13:33:46.101 INFO kablam! 378 | Err(err) => panic!("Unable to open file!") Oct 10 13:33:46.101 INFO kablam! | ^^^ help: consider using `_err` instead Oct 10 13:33:46.101 INFO kablam! Oct 10 13:33:46.160 INFO kablam! warning: variable does not need to be mutable Oct 10 13:33:46.160 INFO kablam! --> src/main.rs:203:25 Oct 10 13:33:46.160 INFO kablam! | Oct 10 13:33:46.160 INFO kablam! 203 | let mut listings = get_listings_on_page(document); Oct 10 13:33:46.160 INFO kablam! | ----^^^^^^^^ Oct 10 13:33:46.160 INFO kablam! | | Oct 10 13:33:46.160 INFO kablam! | help: remove this `mut` Oct 10 13:33:46.160 INFO kablam! | Oct 10 13:33:46.160 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 13:33:46.160 INFO kablam! Oct 10 13:33:46.160 INFO kablam! warning: variable does not need to be mutable Oct 10 13:33:46.160 INFO kablam! --> src/main.rs:203:25 Oct 10 13:33:46.160 INFO kablam! | Oct 10 13:33:46.160 INFO kablam! 203 | let mut listings = get_listings_on_page(document); Oct 10 13:33:46.160 INFO kablam! | ----^^^^^^^^ Oct 10 13:33:46.160 INFO kablam! | | Oct 10 13:33:46.160 INFO kablam! | help: remove this `mut` Oct 10 13:33:46.160 INFO kablam! Oct 10 13:33:46.160 INFO kablam! warning: variable does not need to be mutable Oct 10 13:33:46.160 INFO kablam! --> src/main.rs:260:9 Oct 10 13:33:46.160 INFO kablam! | Oct 10 13:33:46.160 INFO kablam! 260 | let mut all_links : Vec = json::decode(&st).unwrap(); Oct 10 13:33:46.160 INFO kablam! | ----^^^^^^^^^ Oct 10 13:33:46.160 INFO kablam! | | Oct 10 13:33:46.160 INFO kablam! | help: remove this `mut` Oct 10 13:33:46.160 INFO kablam! Oct 10 13:33:46.172 INFO kablam! warning: variable does not need to be mutable Oct 10 13:33:46.172 INFO kablam! --> src/main.rs:381:13 Oct 10 13:33:46.172 INFO kablam! | Oct 10 13:33:46.172 INFO kablam! 381 | let mut nb2 = NaiveBayes::from_json(&s); Oct 10 13:33:46.172 INFO kablam! | ----^^^ Oct 10 13:33:46.172 INFO kablam! | | Oct 10 13:33:46.172 INFO kablam! | help: remove this `mut` Oct 10 13:33:46.172 INFO kablam! Oct 10 13:33:46.172 INFO kablam! warning: structure field `allMsgs` should have a snake case name such as `all_msgs` Oct 10 13:33:46.172 INFO kablam! --> src/main.rs:59:5 Oct 10 13:33:46.172 INFO kablam! | Oct 10 13:33:46.172 INFO kablam! 59 | allMsgs: &'a Vec Oct 10 13:33:46.172 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:46.172 INFO kablam! | Oct 10 13:33:46.172 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 10 13:33:46.172 INFO kablam! Oct 10 13:33:46.172 INFO kablam! warning: type `JSON_CONTAINER` should have a camel case name such as `JsonContainer` Oct 10 13:33:46.172 INFO kablam! --> src/main.rs:63:1 Oct 10 13:33:46.172 INFO kablam! | Oct 10 13:33:46.172 INFO kablam! 63 | / pub struct JSON_CONTAINER { Oct 10 13:33:46.172 INFO kablam! 64 | | all_apartments: Vec, Oct 10 13:33:46.172 INFO kablam! 65 | | } Oct 10 13:33:46.172 INFO kablam! | |_^ Oct 10 13:33:46.172 INFO kablam! | Oct 10 13:33:46.173 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 10 13:33:46.173 INFO kablam! Oct 10 13:33:46.192 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:46.192 INFO kablam! --> src/main.rs:76:13 Oct 10 13:33:46.192 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! 76 | f.read_to_string(&mut model); Oct 10 13:33:46.193 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 13:33:46.193 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:46.193 INFO kablam! Oct 10 13:33:46.193 INFO kablam! warning: denote infinite loops with `loop { ... }` Oct 10 13:33:46.193 INFO kablam! --> src/main.rs:89:9 Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! 89 | while true { Oct 10 13:33:46.193 INFO kablam! | ^^^^^^^^^^ help: use `loop` Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! = note: #[warn(while_true)] on by default Oct 10 13:33:46.193 INFO kablam! Oct 10 13:33:46.193 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:46.193 INFO kablam! --> src/main.rs:111:21 Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! 111 | f.write_all(trained_content.as_bytes()); Oct 10 13:33:46.193 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:46.193 INFO kablam! Oct 10 13:33:46.193 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:46.193 INFO kablam! --> src/main.rs:239:9 Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! 239 | f.read_to_string(&mut s); Oct 10 13:33:46.193 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:46.193 INFO kablam! Oct 10 13:33:46.193 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:46.193 INFO kablam! --> src/main.rs:258:5 Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! 258 | ft.read_to_string(&mut st); Oct 10 13:33:46.193 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:46.193 INFO kablam! Oct 10 13:33:46.193 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:46.193 INFO kablam! --> src/main.rs:283:9 Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! 283 | f.write(jsons.as_bytes()); Oct 10 13:33:46.193 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:46.193 INFO kablam! Oct 10 13:33:46.193 INFO kablam! warning: function `goGetEm` should have a snake case name such as `go_get_em` Oct 10 13:33:46.193 INFO kablam! --> src/main.rs:323:5 Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! 323 | / fn goGetEm(extension: String, nb: NaiveBayes) -> String { Oct 10 13:33:46.193 INFO kablam! 324 | | let c = Client::new(); Oct 10 13:33:46.193 INFO kablam! 325 | | let url = Url::parse("http://streeteasy.com").unwrap(); Oct 10 13:33:46.193 INFO kablam! 326 | | let url = url.join(&*extension).unwrap(); Oct 10 13:33:46.193 INFO kablam! ... | Oct 10 13:33:46.193 INFO kablam! 337 | | return nb.classify(&s); Oct 10 13:33:46.193 INFO kablam! 338 | | } Oct 10 13:33:46.193 INFO kablam! | |_____^ Oct 10 13:33:46.193 INFO kablam! Oct 10 13:33:46.193 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:46.193 INFO kablam! --> src/main.rs:368:17 Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! 368 | f.write_all(trained_content.as_bytes()); Oct 10 13:33:46.193 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:46.193 INFO kablam! Oct 10 13:33:46.193 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:46.193 INFO kablam! --> src/main.rs:374:9 Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! 374 | / match File::open("foo.txt") { Oct 10 13:33:46.193 INFO kablam! 375 | | Ok(mut f) => { Oct 10 13:33:46.193 INFO kablam! 376 | | f.read_to_string(&mut s) Oct 10 13:33:46.193 INFO kablam! 377 | | } Oct 10 13:33:46.193 INFO kablam! 378 | | Err(err) => panic!("Unable to open file!") Oct 10 13:33:46.193 INFO kablam! 379 | | }; Oct 10 13:33:46.193 INFO kablam! | |__________^ Oct 10 13:33:46.193 INFO kablam! | Oct 10 13:33:46.193 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:46.193 INFO kablam! Oct 10 13:33:52.941 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 48.87s Oct 10 13:33:52.954 INFO kablam! su: No module specific data is present Oct 10 13:33:53.605 INFO running `"docker" "rm" "-f" "938771bc0ebda3b107458b25dc36be93186b69a392455d8972f1ce6f551fe568"` Oct 10 13:33:53.792 INFO blam! 938771bc0ebda3b107458b25dc36be93186b69a392455d8972f1ce6f551fe568 Oct 10 13:33:53.804 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run Oct 10 13:33:53.804 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 10 13:33:54.198 INFO blam! 597f6ab63dcfd1ca8c49531a0354dfd2eabbd977fc957ac45ddea06f67ac3de5 Oct 10 13:33:54.199 INFO running `"docker" "start" "-a" "597f6ab63dcfd1ca8c49531a0354dfd2eabbd977fc957ac45ddea06f67ac3de5"` Oct 10 13:33:55.136 INFO kablam! usermod: no changes Oct 10 13:33:55.277 INFO kablam! Compiling tank-hunter v0.1.0 (/source) Oct 10 13:33:57.952 INFO kablam! warning: unused imports: `Attr`, `Predicate` Oct 10 13:33:57.953 INFO kablam! --> src/main.rs:25:25 Oct 10 13:33:57.953 INFO kablam! | Oct 10 13:33:57.953 INFO kablam! 25 | use select::predicate::{Predicate, Attr, Class, Name}; Oct 10 13:33:57.954 INFO kablam! | ^^^^^^^^^ ^^^^ Oct 10 13:33:57.954 INFO kablam! | Oct 10 13:33:57.954 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 10 13:33:57.954 INFO kablam! Oct 10 13:33:58.110 INFO kablam! warning: unused variable: `err` Oct 10 13:33:58.110 INFO kablam! --> src/main.rs:113:21 Oct 10 13:33:58.110 INFO kablam! | Oct 10 13:33:58.111 INFO kablam! 113 | Err(err) => panic!("Unable to open file!") Oct 10 13:33:58.111 INFO kablam! | ^^^ help: consider using `_err` instead Oct 10 13:33:58.111 INFO kablam! | Oct 10 13:33:58.111 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 13:33:58.112 INFO kablam! Oct 10 13:33:58.112 INFO kablam! warning: value assigned to `nb` is never read Oct 10 13:33:58.112 INFO kablam! --> src/main.rs:73:13 Oct 10 13:33:58.112 INFO kablam! | Oct 10 13:33:58.113 INFO kablam! 73 | let mut nb = Arc::new(Mutex::new(NaiveBayes::new())); Oct 10 13:33:58.113 INFO kablam! | ^^ Oct 10 13:33:58.113 INFO kablam! | Oct 10 13:33:58.113 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 10 13:33:58.114 INFO kablam! Oct 10 13:33:58.114 INFO kablam! warning: unused variable: `err` Oct 10 13:33:58.114 INFO kablam! --> src/main.rs:79:13 Oct 10 13:33:58.114 INFO kablam! | Oct 10 13:33:58.115 INFO kablam! 79 | Err(err) => { Oct 10 13:33:58.115 INFO kablam! | ^^^ help: consider using `_err` instead Oct 10 13:33:58.115 INFO kablam! Oct 10 13:33:58.116 INFO kablam! warning: unused variable: `value` Oct 10 13:33:58.116 INFO kablam! --> src/main.rs:188:21 Oct 10 13:33:58.120 INFO kablam! | Oct 10 13:33:58.120 INFO kablam! 188 | for (index, value) in (0..max).enumerate() { Oct 10 13:33:58.121 INFO kablam! | ^^^^^ help: consider using `_value` instead Oct 10 13:33:58.121 INFO kablam! Oct 10 13:33:58.121 INFO kablam! warning: unused variable: `index` Oct 10 13:33:58.121 INFO kablam! --> src/main.rs:209:14 Oct 10 13:33:58.122 INFO kablam! | Oct 10 13:33:58.122 INFO kablam! 209 | for (index, value) in (0..max).enumerate() { Oct 10 13:33:58.122 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 10 13:33:58.122 INFO kablam! Oct 10 13:33:58.123 INFO kablam! warning: unused variable: `value` Oct 10 13:33:58.123 INFO kablam! --> src/main.rs:209:21 Oct 10 13:33:58.123 INFO kablam! | Oct 10 13:33:58.123 INFO kablam! 209 | for (index, value) in (0..max).enumerate() { Oct 10 13:33:58.124 INFO kablam! | ^^^^^ help: consider using `_value` instead Oct 10 13:33:58.124 INFO kablam! Oct 10 13:33:58.124 INFO kablam! warning: unused variable: `new_time` Oct 10 13:33:58.124 INFO kablam! --> src/main.rs:244:17 Oct 10 13:33:58.125 INFO kablam! | Oct 10 13:33:58.125 INFO kablam! 244 | let new_time = time::get_time().sec; Oct 10 13:33:58.125 INFO kablam! | ^^^^^^^^ help: consider using `_new_time` instead Oct 10 13:33:58.125 INFO kablam! Oct 10 13:33:58.125 INFO kablam! warning: unused variable: `body` Oct 10 13:33:58.126 INFO kablam! --> src/main.rs:335:13 Oct 10 13:33:58.126 INFO kablam! | Oct 10 13:33:58.126 INFO kablam! 335 | let body = block.find(Name("blockquote")).first().unwrap().text(); Oct 10 13:33:58.126 INFO kablam! | ^^^^ help: consider using `_body` instead Oct 10 13:33:58.127 INFO kablam! Oct 10 13:33:58.127 INFO kablam! warning: unused variable: `err` Oct 10 13:33:58.127 INFO kablam! --> src/main.rs:370:17 Oct 10 13:33:58.127 INFO kablam! | Oct 10 13:33:58.128 INFO kablam! 370 | Err(err) => panic!("Unable to open file!") Oct 10 13:33:58.128 INFO kablam! | ^^^ help: consider using `_err` instead Oct 10 13:33:58.128 INFO kablam! Oct 10 13:33:58.128 INFO kablam! warning: unused variable: `err` Oct 10 13:33:58.129 INFO kablam! --> src/main.rs:378:17 Oct 10 13:33:58.129 INFO kablam! | Oct 10 13:33:58.129 INFO kablam! 378 | Err(err) => panic!("Unable to open file!") Oct 10 13:33:58.129 INFO kablam! | ^^^ help: consider using `_err` instead Oct 10 13:33:58.130 INFO kablam! Oct 10 13:33:58.160 INFO kablam! warning: variable does not need to be mutable Oct 10 13:33:58.161 INFO kablam! --> src/main.rs:203:25 Oct 10 13:33:58.161 INFO kablam! | Oct 10 13:33:58.161 INFO kablam! 203 | let mut listings = get_listings_on_page(document); Oct 10 13:33:58.161 INFO kablam! | ----^^^^^^^^ Oct 10 13:33:58.162 INFO kablam! | | Oct 10 13:33:58.162 INFO kablam! | help: remove this `mut` Oct 10 13:33:58.162 INFO kablam! | Oct 10 13:33:58.162 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 13:33:58.163 INFO kablam! Oct 10 13:33:58.163 INFO kablam! warning: variable does not need to be mutable Oct 10 13:33:58.163 INFO kablam! --> src/main.rs:203:25 Oct 10 13:33:58.163 INFO kablam! | Oct 10 13:33:58.164 INFO kablam! 203 | let mut listings = get_listings_on_page(document); Oct 10 13:33:58.164 INFO kablam! | ----^^^^^^^^ Oct 10 13:33:58.164 INFO kablam! | | Oct 10 13:33:58.164 INFO kablam! | help: remove this `mut` Oct 10 13:33:58.165 INFO kablam! Oct 10 13:33:58.165 INFO kablam! warning: variable does not need to be mutable Oct 10 13:33:58.165 INFO kablam! --> src/main.rs:260:9 Oct 10 13:33:58.165 INFO kablam! | Oct 10 13:33:58.166 INFO kablam! 260 | let mut all_links : Vec = json::decode(&st).unwrap(); Oct 10 13:33:58.166 INFO kablam! | ----^^^^^^^^^ Oct 10 13:33:58.166 INFO kablam! | | Oct 10 13:33:58.166 INFO kablam! | help: remove this `mut` Oct 10 13:33:58.167 INFO kablam! Oct 10 13:33:58.176 INFO kablam! warning: variable does not need to be mutable Oct 10 13:33:58.177 INFO kablam! --> src/main.rs:381:13 Oct 10 13:33:58.177 INFO kablam! | Oct 10 13:33:58.177 INFO kablam! 381 | let mut nb2 = NaiveBayes::from_json(&s); Oct 10 13:33:58.178 INFO kablam! | ----^^^ Oct 10 13:33:58.178 INFO kablam! | | Oct 10 13:33:58.178 INFO kablam! | help: remove this `mut` Oct 10 13:33:58.178 INFO kablam! Oct 10 13:33:58.179 INFO kablam! warning: structure field `allMsgs` should have a snake case name such as `all_msgs` Oct 10 13:33:58.179 INFO kablam! --> src/main.rs:59:5 Oct 10 13:33:58.179 INFO kablam! | Oct 10 13:33:58.179 INFO kablam! 59 | allMsgs: &'a Vec Oct 10 13:33:58.180 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:58.180 INFO kablam! | Oct 10 13:33:58.180 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 10 13:33:58.181 INFO kablam! Oct 10 13:33:58.181 INFO kablam! warning: type `JSON_CONTAINER` should have a camel case name such as `JsonContainer` Oct 10 13:33:58.181 INFO kablam! --> src/main.rs:63:1 Oct 10 13:33:58.181 INFO kablam! | Oct 10 13:33:58.182 INFO kablam! 63 | / pub struct JSON_CONTAINER { Oct 10 13:33:58.182 INFO kablam! 64 | | all_apartments: Vec, Oct 10 13:33:58.182 INFO kablam! 65 | | } Oct 10 13:33:58.183 INFO kablam! | |_^ Oct 10 13:33:58.183 INFO kablam! | Oct 10 13:33:58.183 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 10 13:33:58.183 INFO kablam! Oct 10 13:33:58.196 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:58.197 INFO kablam! --> src/main.rs:76:13 Oct 10 13:33:58.197 INFO kablam! | Oct 10 13:33:58.197 INFO kablam! 76 | f.read_to_string(&mut model); Oct 10 13:33:58.197 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:58.197 INFO kablam! | Oct 10 13:33:58.198 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 13:33:58.198 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:58.198 INFO kablam! Oct 10 13:33:58.198 INFO kablam! warning: denote infinite loops with `loop { ... }` Oct 10 13:33:58.198 INFO kablam! --> src/main.rs:89:9 Oct 10 13:33:58.198 INFO kablam! | Oct 10 13:33:58.199 INFO kablam! 89 | while true { Oct 10 13:33:58.199 INFO kablam! | ^^^^^^^^^^ help: use `loop` Oct 10 13:33:58.199 INFO kablam! | Oct 10 13:33:58.199 INFO kablam! = note: #[warn(while_true)] on by default Oct 10 13:33:58.199 INFO kablam! Oct 10 13:33:58.200 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:58.200 INFO kablam! --> src/main.rs:111:21 Oct 10 13:33:58.200 INFO kablam! | Oct 10 13:33:58.200 INFO kablam! 111 | f.write_all(trained_content.as_bytes()); Oct 10 13:33:58.200 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:58.201 INFO kablam! | Oct 10 13:33:58.201 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:58.201 INFO kablam! Oct 10 13:33:58.201 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:58.202 INFO kablam! --> src/main.rs:239:9 Oct 10 13:33:58.202 INFO kablam! | Oct 10 13:33:58.202 INFO kablam! 239 | f.read_to_string(&mut s); Oct 10 13:33:58.202 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:58.203 INFO kablam! | Oct 10 13:33:58.203 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:58.203 INFO kablam! Oct 10 13:33:58.203 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:58.204 INFO kablam! --> src/main.rs:258:5 Oct 10 13:33:58.204 INFO kablam! | Oct 10 13:33:58.204 INFO kablam! 258 | ft.read_to_string(&mut st); Oct 10 13:33:58.205 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:58.205 INFO kablam! | Oct 10 13:33:58.205 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:58.205 INFO kablam! Oct 10 13:33:58.206 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:58.206 INFO kablam! --> src/main.rs:283:9 Oct 10 13:33:58.206 INFO kablam! | Oct 10 13:33:58.207 INFO kablam! 283 | f.write(jsons.as_bytes()); Oct 10 13:33:58.207 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:58.207 INFO kablam! | Oct 10 13:33:58.207 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:58.208 INFO kablam! Oct 10 13:33:58.208 INFO kablam! warning: function `goGetEm` should have a snake case name such as `go_get_em` Oct 10 13:33:58.208 INFO kablam! --> src/main.rs:323:5 Oct 10 13:33:58.209 INFO kablam! | Oct 10 13:33:58.209 INFO kablam! 323 | / fn goGetEm(extension: String, nb: NaiveBayes) -> String { Oct 10 13:33:58.209 INFO kablam! 324 | | let c = Client::new(); Oct 10 13:33:58.209 INFO kablam! 325 | | let url = Url::parse("http://streeteasy.com").unwrap(); Oct 10 13:33:58.210 INFO kablam! 326 | | let url = url.join(&*extension).unwrap(); Oct 10 13:33:58.210 INFO kablam! ... | Oct 10 13:33:58.210 INFO kablam! 337 | | return nb.classify(&s); Oct 10 13:33:58.211 INFO kablam! 338 | | } Oct 10 13:33:58.211 INFO kablam! | |_____^ Oct 10 13:33:58.211 INFO kablam! Oct 10 13:33:58.211 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:58.212 INFO kablam! --> src/main.rs:368:17 Oct 10 13:33:58.212 INFO kablam! | Oct 10 13:33:58.212 INFO kablam! 368 | f.write_all(trained_content.as_bytes()); Oct 10 13:33:58.213 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 13:33:58.213 INFO kablam! | Oct 10 13:33:58.213 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:58.213 INFO kablam! Oct 10 13:33:58.214 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 13:33:58.214 INFO kablam! --> src/main.rs:374:9 Oct 10 13:33:58.214 INFO kablam! | Oct 10 13:33:58.214 INFO kablam! 374 | / match File::open("foo.txt") { Oct 10 13:33:58.215 INFO kablam! 375 | | Ok(mut f) => { Oct 10 13:33:58.215 INFO kablam! 376 | | f.read_to_string(&mut s) Oct 10 13:33:58.215 INFO kablam! 377 | | } Oct 10 13:33:58.216 INFO kablam! 378 | | Err(err) => panic!("Unable to open file!") Oct 10 13:33:58.220 INFO kablam! 379 | | }; Oct 10 13:33:58.220 INFO kablam! | |__________^ Oct 10 13:33:58.221 INFO kablam! | Oct 10 13:33:58.221 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 13:33:58.221 INFO kablam! Oct 10 13:33:58.758 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 3.59s Oct 10 13:33:58.766 INFO kablam! su: No module specific data is present Oct 10 13:33:59.672 INFO running `"docker" "rm" "-f" "597f6ab63dcfd1ca8c49531a0354dfd2eabbd977fc957ac45ddea06f67ac3de5"` Oct 10 13:34:00.020 INFO blam! 597f6ab63dcfd1ca8c49531a0354dfd2eabbd977fc957ac45ddea06f67ac3de5 Oct 10 13:34:00.028 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen Oct 10 13:34:00.028 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 10 13:34:00.456 INFO blam! b1784d6b7b98dbe403c1093edda1995546ff679ef5601d1765619040753a169e Oct 10 13:34:00.457 INFO running `"docker" "start" "-a" "b1784d6b7b98dbe403c1093edda1995546ff679ef5601d1765619040753a169e"` Oct 10 13:34:02.090 INFO kablam! usermod: no changes Oct 10 13:34:02.250 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.14s Oct 10 13:34:02.261 INFO kablam! Running /target/debug/deps/tank_hunter-7bbcf921bdc760bb Oct 10 13:34:02.266 INFO blam! Oct 10 13:34:02.266 INFO blam! running 0 tests Oct 10 13:34:02.266 INFO blam! Oct 10 13:34:02.266 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 10 13:34:02.266 INFO blam! Oct 10 13:34:02.269 INFO kablam! su: No module specific data is present Oct 10 13:34:03.036 INFO running `"docker" "rm" "-f" "b1784d6b7b98dbe403c1093edda1995546ff679ef5601d1765619040753a169e"` Oct 10 13:34:03.301 INFO blam! b1784d6b7b98dbe403c1093edda1995546ff679ef5601d1765619040753a169e