Oct 12 21:36:35.496 INFO testing thomaswall/tank-hunter against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling-1 Oct 12 21:36:35.496 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-3/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-3/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 12 21:36:35.971 INFO blam! dab75f3463d81cc69c7593c014b2ecaff7fd1c29b548c816d37a503fdce7c325 Oct 12 21:36:35.983 INFO running `"docker" "start" "-a" "dab75f3463d81cc69c7593c014b2ecaff7fd1c29b548c816d37a503fdce7c325"` Oct 12 21:36:37.470 INFO kablam! usermod: no changes Oct 12 21:36:37.656 INFO kablam! Compiling libc v0.2.20 Oct 12 21:36:37.656 INFO kablam! Compiling siphasher v0.2.0 Oct 12 21:36:37.663 INFO kablam! Compiling unicode-normalization v0.1.3 Oct 12 21:36:37.671 INFO kablam! Compiling mac v0.0.2 Oct 12 21:36:37.671 INFO kablam! Compiling rustc-serialize v0.3.22 Oct 12 21:36:37.703 INFO kablam! Compiling bit-vec v0.4.3 Oct 12 21:36:37.703 INFO kablam! Compiling crossbeam v0.2.10 Oct 12 21:36:37.703 INFO kablam! Compiling unicode-bidi v0.2.4 Oct 12 21:36:38.626 INFO kablam! Compiling utf-8 v0.6.0 Oct 12 21:36:40.519 INFO kablam! Compiling phf_shared v0.7.21 Oct 12 21:36:44.075 INFO kablam! Compiling bit-set v0.4.0 Oct 12 21:36:44.075 INFO kablam! Compiling phf v0.7.21 Oct 12 21:36:44.075 INFO kablam! Compiling rand v0.3.15 Oct 12 21:36:44.075 INFO kablam! Compiling time v0.1.36 Oct 12 21:36:44.081 INFO kablam! Compiling memchr v0.1.11 Oct 12 21:36:44.088 INFO kablam! Compiling num_cpus v1.2.1 Oct 12 21:36:44.215 INFO kablam! Compiling num_cpus v0.2.13 Oct 12 21:36:45.620 INFO kablam! Compiling idna v0.1.0 Oct 12 21:36:46.663 INFO kablam! Compiling futf v0.1.2 Oct 12 21:36:49.423 INFO kablam! Compiling thread-id v2.0.0 Oct 12 21:36:49.499 INFO kablam! Compiling aho-corasick v0.5.3 Oct 12 21:36:49.511 INFO kablam! Compiling tendril v0.2.3 Oct 12 21:36:50.275 INFO kablam! Compiling thread_local v0.2.7 Oct 12 21:36:52.571 INFO kablam! Compiling regex v0.1.80 Oct 12 21:36:54.871 INFO kablam! Compiling phf_generator v0.7.21 Oct 12 21:36:55.699 INFO kablam! Compiling phf_codegen v0.7.21 Oct 12 21:36:55.699 INFO kablam! Compiling string_cache v0.2.29 Oct 12 21:36:57.811 INFO kablam! Compiling url v1.3.0 Oct 12 21:37:08.015 INFO kablam! Compiling html5ever v0.5.4 Oct 12 21:37:08.219 INFO kablam! Compiling conduit-mime-types v0.7.3 Oct 12 21:37:13.759 INFO kablam! Compiling cookie v0.2.5 Oct 12 21:37:13.759 INFO kablam! Compiling hyper v0.10.0 Oct 12 21:37:14.605 INFO kablam! Compiling classifier v0.0.3 Oct 12 21:37:18.744 INFO kablam! Compiling hyper v0.9.14 Oct 12 21:37:39.063 INFO kablam! Compiling select v0.3.0 Oct 12 21:37:42.775 INFO kablam! Compiling iron v0.4.0 Oct 12 21:37:46.340 INFO kablam! Compiling router v0.4.0 Oct 12 21:37:48.271 INFO kablam! Compiling tank-hunter v0.1.0 (/source) Oct 12 21:37:48.859 INFO kablam! warning: unused imports: `Attr`, `Predicate` Oct 12 21:37:48.859 INFO kablam! --> src/main.rs:25:25 Oct 12 21:37:48.860 INFO kablam! | Oct 12 21:37:48.860 INFO kablam! 25 | use select::predicate::{Predicate, Attr, Class, Name}; Oct 12 21:37:48.861 INFO kablam! | ^^^^^^^^^ ^^^^ Oct 12 21:37:48.861 INFO kablam! | Oct 12 21:37:48.863 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 21:37:48.863 INFO kablam! Oct 12 21:37:49.039 INFO kablam! warning: unused variable: `err` Oct 12 21:37:49.040 INFO kablam! --> src/main.rs:113:21 Oct 12 21:37:49.043 INFO kablam! | Oct 12 21:37:49.044 INFO kablam! 113 | Err(err) => panic!("Unable to open file!") Oct 12 21:37:49.044 INFO kablam! | ^^^ help: consider using `_err` instead Oct 12 21:37:49.045 INFO kablam! | Oct 12 21:37:49.045 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 21:37:49.045 INFO kablam! Oct 12 21:37:49.045 INFO kablam! warning: value assigned to `nb` is never read Oct 12 21:37:49.046 INFO kablam! --> src/main.rs:73:13 Oct 12 21:37:49.046 INFO kablam! | Oct 12 21:37:49.046 INFO kablam! 73 | let mut nb = Arc::new(Mutex::new(NaiveBayes::new())); Oct 12 21:37:49.047 INFO kablam! | ^^ Oct 12 21:37:49.047 INFO kablam! | Oct 12 21:37:49.047 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 12 21:37:49.047 INFO kablam! Oct 12 21:37:49.048 INFO kablam! warning: unused variable: `err` Oct 12 21:37:49.048 INFO kablam! --> src/main.rs:79:13 Oct 12 21:37:49.048 INFO kablam! | Oct 12 21:37:49.049 INFO kablam! 79 | Err(err) => { Oct 12 21:37:49.049 INFO kablam! | ^^^ help: consider using `_err` instead Oct 12 21:37:49.049 INFO kablam! Oct 12 21:37:49.049 INFO kablam! warning: unused variable: `value` Oct 12 21:37:49.050 INFO kablam! --> src/main.rs:188:21 Oct 12 21:37:49.050 INFO kablam! | Oct 12 21:37:49.050 INFO kablam! 188 | for (index, value) in (0..max).enumerate() { Oct 12 21:37:49.050 INFO kablam! | ^^^^^ help: consider using `_value` instead Oct 12 21:37:49.051 INFO kablam! Oct 12 21:37:49.051 INFO kablam! warning: unused variable: `index` Oct 12 21:37:49.051 INFO kablam! --> src/main.rs:209:14 Oct 12 21:37:49.052 INFO kablam! | Oct 12 21:37:49.052 INFO kablam! 209 | for (index, value) in (0..max).enumerate() { Oct 12 21:37:49.052 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 12 21:37:49.052 INFO kablam! Oct 12 21:37:49.053 INFO kablam! warning: unused variable: `value` Oct 12 21:37:49.053 INFO kablam! --> src/main.rs:209:21 Oct 12 21:37:49.053 INFO kablam! | Oct 12 21:37:49.053 INFO kablam! 209 | for (index, value) in (0..max).enumerate() { Oct 12 21:37:49.054 INFO kablam! | ^^^^^ help: consider using `_value` instead Oct 12 21:37:49.054 INFO kablam! Oct 12 21:37:49.054 INFO kablam! warning: unused variable: `new_time` Oct 12 21:37:49.055 INFO kablam! --> src/main.rs:244:17 Oct 12 21:37:49.055 INFO kablam! | Oct 12 21:37:49.055 INFO kablam! 244 | let new_time = time::get_time().sec; Oct 12 21:37:49.055 INFO kablam! | ^^^^^^^^ help: consider using `_new_time` instead Oct 12 21:37:49.056 INFO kablam! Oct 12 21:37:49.056 INFO kablam! warning: unused variable: `body` Oct 12 21:37:49.056 INFO kablam! --> src/main.rs:335:13 Oct 12 21:37:49.056 INFO kablam! | Oct 12 21:37:49.057 INFO kablam! 335 | let body = block.find(Name("blockquote")).first().unwrap().text(); Oct 12 21:37:49.057 INFO kablam! | ^^^^ help: consider using `_body` instead Oct 12 21:37:49.057 INFO kablam! Oct 12 21:37:49.058 INFO kablam! warning: unused variable: `err` Oct 12 21:37:49.058 INFO kablam! --> src/main.rs:370:17 Oct 12 21:37:49.058 INFO kablam! | Oct 12 21:37:49.058 INFO kablam! 370 | Err(err) => panic!("Unable to open file!") Oct 12 21:37:49.058 INFO kablam! | ^^^ help: consider using `_err` instead Oct 12 21:37:49.059 INFO kablam! Oct 12 21:37:49.059 INFO kablam! warning: unused variable: `err` Oct 12 21:37:49.059 INFO kablam! --> src/main.rs:378:17 Oct 12 21:37:49.060 INFO kablam! | Oct 12 21:37:49.060 INFO kablam! 378 | Err(err) => panic!("Unable to open file!") Oct 12 21:37:49.060 INFO kablam! | ^^^ help: consider using `_err` instead Oct 12 21:37:49.060 INFO kablam! Oct 12 21:37:49.092 INFO kablam! warning: variable does not need to be mutable Oct 12 21:37:49.092 INFO kablam! --> src/main.rs:203:25 Oct 12 21:37:49.093 INFO kablam! | Oct 12 21:37:49.093 INFO kablam! 203 | let mut listings = get_listings_on_page(document); Oct 12 21:37:49.093 INFO kablam! | ----^^^^^^^^ Oct 12 21:37:49.094 INFO kablam! | | Oct 12 21:37:49.094 INFO kablam! | help: remove this `mut` Oct 12 21:37:49.095 INFO kablam! | Oct 12 21:37:49.095 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 21:37:49.096 INFO kablam! Oct 12 21:37:49.096 INFO kablam! warning: variable does not need to be mutable Oct 12 21:37:49.096 INFO kablam! --> src/main.rs:203:25 Oct 12 21:37:49.097 INFO kablam! | Oct 12 21:37:49.097 INFO kablam! 203 | let mut listings = get_listings_on_page(document); Oct 12 21:37:49.097 INFO kablam! | ----^^^^^^^^ Oct 12 21:37:49.097 INFO kablam! | | Oct 12 21:37:49.098 INFO kablam! | help: remove this `mut` Oct 12 21:37:49.098 INFO kablam! Oct 12 21:37:49.098 INFO kablam! warning: variable does not need to be mutable Oct 12 21:37:49.098 INFO kablam! --> src/main.rs:260:9 Oct 12 21:37:49.099 INFO kablam! | Oct 12 21:37:49.099 INFO kablam! 260 | let mut all_links : Vec = json::decode(&st).unwrap(); Oct 12 21:37:49.099 INFO kablam! | ----^^^^^^^^^ Oct 12 21:37:49.100 INFO kablam! | | Oct 12 21:37:49.100 INFO kablam! | help: remove this `mut` Oct 12 21:37:49.100 INFO kablam! Oct 12 21:37:49.111 INFO kablam! warning: variable does not need to be mutable Oct 12 21:37:49.111 INFO kablam! --> src/main.rs:381:13 Oct 12 21:37:49.112 INFO kablam! | Oct 12 21:37:49.112 INFO kablam! 381 | let mut nb2 = NaiveBayes::from_json(&s); Oct 12 21:37:49.112 INFO kablam! | ----^^^ Oct 12 21:37:49.112 INFO kablam! | | Oct 12 21:37:49.113 INFO kablam! | help: remove this `mut` Oct 12 21:37:49.113 INFO kablam! Oct 12 21:37:49.113 INFO kablam! warning: structure field `allMsgs` should have a snake case name such as `all_msgs` Oct 12 21:37:49.114 INFO kablam! --> src/main.rs:59:5 Oct 12 21:37:49.114 INFO kablam! | Oct 12 21:37:49.114 INFO kablam! 59 | allMsgs: &'a Vec Oct 12 21:37:49.115 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:37:49.115 INFO kablam! | Oct 12 21:37:49.115 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 21:37:49.115 INFO kablam! Oct 12 21:37:49.116 INFO kablam! warning: type `JSON_CONTAINER` should have a camel case name such as `JsonContainer` Oct 12 21:37:49.116 INFO kablam! --> src/main.rs:63:1 Oct 12 21:37:49.116 INFO kablam! | Oct 12 21:37:49.117 INFO kablam! 63 | / pub struct JSON_CONTAINER { Oct 12 21:37:49.117 INFO kablam! 64 | | all_apartments: Vec, Oct 12 21:37:49.117 INFO kablam! 65 | | } Oct 12 21:37:49.118 INFO kablam! | |_^ Oct 12 21:37:49.118 INFO kablam! | Oct 12 21:37:49.118 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 12 21:37:49.118 INFO kablam! Oct 12 21:37:49.124 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:37:49.124 INFO kablam! --> src/main.rs:76:13 Oct 12 21:37:49.125 INFO kablam! | Oct 12 21:37:49.125 INFO kablam! 76 | f.read_to_string(&mut model); Oct 12 21:37:49.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:37:49.126 INFO kablam! | Oct 12 21:37:49.126 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 12 21:37:49.126 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:37:49.127 INFO kablam! Oct 12 21:37:49.127 INFO kablam! warning: denote infinite loops with `loop { ... }` Oct 12 21:37:49.127 INFO kablam! --> src/main.rs:89:9 Oct 12 21:37:49.127 INFO kablam! | Oct 12 21:37:49.128 INFO kablam! 89 | while true { Oct 12 21:37:49.128 INFO kablam! | ^^^^^^^^^^ help: use `loop` Oct 12 21:37:49.128 INFO kablam! | Oct 12 21:37:49.129 INFO kablam! = note: #[warn(while_true)] on by default Oct 12 21:37:49.129 INFO kablam! Oct 12 21:37:49.129 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:37:49.130 INFO kablam! --> src/main.rs:111:21 Oct 12 21:37:49.130 INFO kablam! | Oct 12 21:37:49.130 INFO kablam! 111 | f.write_all(trained_content.as_bytes()); Oct 12 21:37:49.130 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:37:49.131 INFO kablam! | Oct 12 21:37:49.131 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:37:49.131 INFO kablam! Oct 12 21:37:49.132 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:37:49.132 INFO kablam! --> src/main.rs:239:9 Oct 12 21:37:49.132 INFO kablam! | Oct 12 21:37:49.132 INFO kablam! 239 | f.read_to_string(&mut s); Oct 12 21:37:49.133 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:37:49.133 INFO kablam! | Oct 12 21:37:49.133 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:37:49.134 INFO kablam! Oct 12 21:37:49.134 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:37:49.134 INFO kablam! --> src/main.rs:258:5 Oct 12 21:37:49.135 INFO kablam! | Oct 12 21:37:49.135 INFO kablam! 258 | ft.read_to_string(&mut st); Oct 12 21:37:49.135 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:37:49.135 INFO kablam! | Oct 12 21:37:49.136 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:37:49.136 INFO kablam! Oct 12 21:37:49.136 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:37:49.136 INFO kablam! --> src/main.rs:283:9 Oct 12 21:37:49.137 INFO kablam! | Oct 12 21:37:49.137 INFO kablam! 283 | f.write(jsons.as_bytes()); Oct 12 21:37:49.137 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:37:49.138 INFO kablam! | Oct 12 21:37:49.138 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:37:49.138 INFO kablam! Oct 12 21:37:49.139 INFO kablam! warning: function `goGetEm` should have a snake case name such as `go_get_em` Oct 12 21:37:49.139 INFO kablam! --> src/main.rs:323:5 Oct 12 21:37:49.139 INFO kablam! | Oct 12 21:37:49.139 INFO kablam! 323 | / fn goGetEm(extension: String, nb: NaiveBayes) -> String { Oct 12 21:37:49.140 INFO kablam! 324 | | let c = Client::new(); Oct 12 21:37:49.140 INFO kablam! 325 | | let url = Url::parse("http://streeteasy.com").unwrap(); Oct 12 21:37:49.140 INFO kablam! 326 | | let url = url.join(&*extension).unwrap(); Oct 12 21:37:49.140 INFO kablam! ... | Oct 12 21:37:49.141 INFO kablam! 337 | | return nb.classify(&s); Oct 12 21:37:49.141 INFO kablam! 338 | | } Oct 12 21:37:49.141 INFO kablam! | |_____^ Oct 12 21:37:49.141 INFO kablam! Oct 12 21:37:49.142 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:37:49.142 INFO kablam! --> src/main.rs:368:17 Oct 12 21:37:49.142 INFO kablam! | Oct 12 21:37:49.147 INFO kablam! 368 | f.write_all(trained_content.as_bytes()); Oct 12 21:37:49.147 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:37:49.147 INFO kablam! | Oct 12 21:37:49.147 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:37:49.148 INFO kablam! Oct 12 21:37:49.148 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:37:49.148 INFO kablam! --> src/main.rs:374:9 Oct 12 21:37:49.148 INFO kablam! | Oct 12 21:37:49.149 INFO kablam! 374 | / match File::open("foo.txt") { Oct 12 21:37:49.149 INFO kablam! 375 | | Ok(mut f) => { Oct 12 21:37:49.149 INFO kablam! 376 | | f.read_to_string(&mut s) Oct 12 21:37:49.149 INFO kablam! 377 | | } Oct 12 21:37:49.149 INFO kablam! 378 | | Err(err) => panic!("Unable to open file!") Oct 12 21:37:49.150 INFO kablam! 379 | | }; Oct 12 21:37:49.150 INFO kablam! | |__________^ Oct 12 21:37:49.150 INFO kablam! | Oct 12 21:37:49.150 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:37:49.151 INFO kablam! Oct 12 21:37:56.450 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1m 18s Oct 12 21:37:56.471 INFO kablam! su: No module specific data is present Oct 12 21:37:57.381 INFO running `"docker" "rm" "-f" "dab75f3463d81cc69c7593c014b2ecaff7fd1c29b548c816d37a503fdce7c325"` Oct 12 21:37:57.647 INFO blam! dab75f3463d81cc69c7593c014b2ecaff7fd1c29b548c816d37a503fdce7c325 Oct 12 21:37:57.649 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-3/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-3/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 12 21:37:58.111 INFO blam! e7f0023596d96fd8fdd5aacb85e0c72fcfe0d94b90f73071da4d93b7c4481902 Oct 12 21:37:58.113 INFO running `"docker" "start" "-a" "e7f0023596d96fd8fdd5aacb85e0c72fcfe0d94b90f73071da4d93b7c4481902"` Oct 12 21:38:00.071 INFO kablam! usermod: no changes Oct 12 21:38:00.271 INFO kablam! Compiling tank-hunter v0.1.0 (/source) Oct 12 21:38:01.027 INFO kablam! warning: unused imports: `Attr`, `Predicate` Oct 12 21:38:01.027 INFO kablam! --> src/main.rs:25:25 Oct 12 21:38:01.027 INFO kablam! | Oct 12 21:38:01.027 INFO kablam! 25 | use select::predicate::{Predicate, Attr, Class, Name}; Oct 12 21:38:01.027 INFO kablam! | ^^^^^^^^^ ^^^^ Oct 12 21:38:01.027 INFO kablam! | Oct 12 21:38:01.027 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 21:38:01.027 INFO kablam! Oct 12 21:38:01.254 INFO kablam! warning: unused variable: `err` Oct 12 21:38:01.254 INFO kablam! --> src/main.rs:113:21 Oct 12 21:38:01.255 INFO kablam! | Oct 12 21:38:01.255 INFO kablam! 113 | Err(err) => panic!("Unable to open file!") Oct 12 21:38:01.255 INFO kablam! | ^^^ help: consider using `_err` instead Oct 12 21:38:01.256 INFO kablam! | Oct 12 21:38:01.256 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 21:38:01.256 INFO kablam! Oct 12 21:38:01.256 INFO kablam! warning: value assigned to `nb` is never read Oct 12 21:38:01.257 INFO kablam! --> src/main.rs:73:13 Oct 12 21:38:01.257 INFO kablam! | Oct 12 21:38:01.257 INFO kablam! 73 | let mut nb = Arc::new(Mutex::new(NaiveBayes::new())); Oct 12 21:38:01.257 INFO kablam! | ^^ Oct 12 21:38:01.258 INFO kablam! | Oct 12 21:38:01.258 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 12 21:38:01.258 INFO kablam! Oct 12 21:38:01.259 INFO kablam! warning: unused variable: `err` Oct 12 21:38:01.259 INFO kablam! --> src/main.rs:79:13 Oct 12 21:38:01.259 INFO kablam! | Oct 12 21:38:01.260 INFO kablam! 79 | Err(err) => { Oct 12 21:38:01.260 INFO kablam! | ^^^ help: consider using `_err` instead Oct 12 21:38:01.260 INFO kablam! Oct 12 21:38:01.260 INFO kablam! warning: unused variable: `value` Oct 12 21:38:01.261 INFO kablam! --> src/main.rs:188:21 Oct 12 21:38:01.261 INFO kablam! | Oct 12 21:38:01.261 INFO kablam! 188 | for (index, value) in (0..max).enumerate() { Oct 12 21:38:01.262 INFO kablam! | ^^^^^ help: consider using `_value` instead Oct 12 21:38:01.262 INFO kablam! Oct 12 21:38:01.262 INFO kablam! warning: unused variable: `index` Oct 12 21:38:01.263 INFO kablam! --> src/main.rs:209:14 Oct 12 21:38:01.263 INFO kablam! | Oct 12 21:38:01.263 INFO kablam! 209 | for (index, value) in (0..max).enumerate() { Oct 12 21:38:01.263 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 12 21:38:01.264 INFO kablam! Oct 12 21:38:01.264 INFO kablam! warning: unused variable: `value` Oct 12 21:38:01.264 INFO kablam! --> src/main.rs:209:21 Oct 12 21:38:01.265 INFO kablam! | Oct 12 21:38:01.265 INFO kablam! 209 | for (index, value) in (0..max).enumerate() { Oct 12 21:38:01.265 INFO kablam! | ^^^^^ help: consider using `_value` instead Oct 12 21:38:01.266 INFO kablam! Oct 12 21:38:01.266 INFO kablam! warning: unused variable: `new_time` Oct 12 21:38:01.266 INFO kablam! --> src/main.rs:244:17 Oct 12 21:38:01.267 INFO kablam! | Oct 12 21:38:01.267 INFO kablam! 244 | let new_time = time::get_time().sec; Oct 12 21:38:01.267 INFO kablam! | ^^^^^^^^ help: consider using `_new_time` instead Oct 12 21:38:01.267 INFO kablam! Oct 12 21:38:01.268 INFO kablam! warning: unused variable: `body` Oct 12 21:38:01.268 INFO kablam! --> src/main.rs:335:13 Oct 12 21:38:01.268 INFO kablam! | Oct 12 21:38:01.268 INFO kablam! 335 | let body = block.find(Name("blockquote")).first().unwrap().text(); Oct 12 21:38:01.269 INFO kablam! | ^^^^ help: consider using `_body` instead Oct 12 21:38:01.269 INFO kablam! Oct 12 21:38:01.269 INFO kablam! warning: unused variable: `err` Oct 12 21:38:01.270 INFO kablam! --> src/main.rs:370:17 Oct 12 21:38:01.270 INFO kablam! | Oct 12 21:38:01.270 INFO kablam! 370 | Err(err) => panic!("Unable to open file!") Oct 12 21:38:01.270 INFO kablam! | ^^^ help: consider using `_err` instead Oct 12 21:38:01.271 INFO kablam! Oct 12 21:38:01.271 INFO kablam! warning: unused variable: `err` Oct 12 21:38:01.271 INFO kablam! --> src/main.rs:378:17 Oct 12 21:38:01.275 INFO kablam! | Oct 12 21:38:01.275 INFO kablam! 378 | Err(err) => panic!("Unable to open file!") Oct 12 21:38:01.275 INFO kablam! | ^^^ help: consider using `_err` instead Oct 12 21:38:01.275 INFO kablam! Oct 12 21:38:01.303 INFO kablam! warning: variable does not need to be mutable Oct 12 21:38:01.304 INFO kablam! --> src/main.rs:203:25 Oct 12 21:38:01.304 INFO kablam! | Oct 12 21:38:01.304 INFO kablam! 203 | let mut listings = get_listings_on_page(document); Oct 12 21:38:01.305 INFO kablam! | ----^^^^^^^^ Oct 12 21:38:01.305 INFO kablam! | | Oct 12 21:38:01.305 INFO kablam! | help: remove this `mut` Oct 12 21:38:01.305 INFO kablam! | Oct 12 21:38:01.306 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 21:38:01.306 INFO kablam! Oct 12 21:38:01.306 INFO kablam! warning: variable does not need to be mutable Oct 12 21:38:01.307 INFO kablam! --> src/main.rs:203:25 Oct 12 21:38:01.307 INFO kablam! | Oct 12 21:38:01.307 INFO kablam! 203 | let mut listings = get_listings_on_page(document); Oct 12 21:38:01.308 INFO kablam! | ----^^^^^^^^ Oct 12 21:38:01.308 INFO kablam! | | Oct 12 21:38:01.308 INFO kablam! | help: remove this `mut` Oct 12 21:38:01.308 INFO kablam! Oct 12 21:38:01.309 INFO kablam! warning: variable does not need to be mutable Oct 12 21:38:01.309 INFO kablam! --> src/main.rs:260:9 Oct 12 21:38:01.309 INFO kablam! | Oct 12 21:38:01.309 INFO kablam! 260 | let mut all_links : Vec = json::decode(&st).unwrap(); Oct 12 21:38:01.310 INFO kablam! | ----^^^^^^^^^ Oct 12 21:38:01.310 INFO kablam! | | Oct 12 21:38:01.310 INFO kablam! | help: remove this `mut` Oct 12 21:38:01.310 INFO kablam! Oct 12 21:38:01.311 INFO kablam! warning: variable does not need to be mutable Oct 12 21:38:01.311 INFO kablam! --> src/main.rs:381:13 Oct 12 21:38:01.311 INFO kablam! | Oct 12 21:38:01.311 INFO kablam! 381 | let mut nb2 = NaiveBayes::from_json(&s); Oct 12 21:38:01.311 INFO kablam! | ----^^^ Oct 12 21:38:01.311 INFO kablam! | | Oct 12 21:38:01.311 INFO kablam! | help: remove this `mut` Oct 12 21:38:01.311 INFO kablam! Oct 12 21:38:01.311 INFO kablam! warning: structure field `allMsgs` should have a snake case name such as `all_msgs` Oct 12 21:38:01.311 INFO kablam! --> src/main.rs:59:5 Oct 12 21:38:01.311 INFO kablam! | Oct 12 21:38:01.311 INFO kablam! 59 | allMsgs: &'a Vec Oct 12 21:38:01.311 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:38:01.311 INFO kablam! | Oct 12 21:38:01.311 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 21:38:01.311 INFO kablam! Oct 12 21:38:01.311 INFO kablam! warning: type `JSON_CONTAINER` should have a camel case name such as `JsonContainer` Oct 12 21:38:01.311 INFO kablam! --> src/main.rs:63:1 Oct 12 21:38:01.311 INFO kablam! | Oct 12 21:38:01.311 INFO kablam! 63 | / pub struct JSON_CONTAINER { Oct 12 21:38:01.311 INFO kablam! 64 | | all_apartments: Vec, Oct 12 21:38:01.311 INFO kablam! 65 | | } Oct 12 21:38:01.311 INFO kablam! | |_^ Oct 12 21:38:01.311 INFO kablam! | Oct 12 21:38:01.311 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 12 21:38:01.311 INFO kablam! Oct 12 21:38:01.327 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:38:01.327 INFO kablam! --> src/main.rs:76:13 Oct 12 21:38:01.327 INFO kablam! | Oct 12 21:38:01.327 INFO kablam! 76 | f.read_to_string(&mut model); Oct 12 21:38:01.327 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:38:01.327 INFO kablam! | Oct 12 21:38:01.327 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 12 21:38:01.327 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:38:01.327 INFO kablam! Oct 12 21:38:01.327 INFO kablam! warning: denote infinite loops with `loop { ... }` Oct 12 21:38:01.327 INFO kablam! --> src/main.rs:89:9 Oct 12 21:38:01.327 INFO kablam! | Oct 12 21:38:01.327 INFO kablam! 89 | while true { Oct 12 21:38:01.327 INFO kablam! | ^^^^^^^^^^ help: use `loop` Oct 12 21:38:01.331 INFO kablam! | Oct 12 21:38:01.331 INFO kablam! = note: #[warn(while_true)] on by default Oct 12 21:38:01.332 INFO kablam! Oct 12 21:38:01.332 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:38:01.332 INFO kablam! --> src/main.rs:111:21 Oct 12 21:38:01.332 INFO kablam! | Oct 12 21:38:01.333 INFO kablam! 111 | f.write_all(trained_content.as_bytes()); Oct 12 21:38:01.333 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:38:01.333 INFO kablam! | Oct 12 21:38:01.334 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:38:01.334 INFO kablam! Oct 12 21:38:01.334 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:38:01.334 INFO kablam! --> src/main.rs:239:9 Oct 12 21:38:01.335 INFO kablam! | Oct 12 21:38:01.335 INFO kablam! 239 | f.read_to_string(&mut s); Oct 12 21:38:01.335 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:38:01.335 INFO kablam! | Oct 12 21:38:01.336 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:38:01.336 INFO kablam! Oct 12 21:38:01.336 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:38:01.336 INFO kablam! --> src/main.rs:258:5 Oct 12 21:38:01.337 INFO kablam! | Oct 12 21:38:01.337 INFO kablam! 258 | ft.read_to_string(&mut st); Oct 12 21:38:01.337 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:38:01.338 INFO kablam! | Oct 12 21:38:01.338 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:38:01.338 INFO kablam! Oct 12 21:38:01.338 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:38:01.338 INFO kablam! --> src/main.rs:283:9 Oct 12 21:38:01.338 INFO kablam! | Oct 12 21:38:01.338 INFO kablam! 283 | f.write(jsons.as_bytes()); Oct 12 21:38:01.338 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:38:01.338 INFO kablam! | Oct 12 21:38:01.338 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:38:01.338 INFO kablam! Oct 12 21:38:01.338 INFO kablam! warning: function `goGetEm` should have a snake case name such as `go_get_em` Oct 12 21:38:01.338 INFO kablam! --> src/main.rs:323:5 Oct 12 21:38:01.338 INFO kablam! | Oct 12 21:38:01.338 INFO kablam! 323 | / fn goGetEm(extension: String, nb: NaiveBayes) -> String { Oct 12 21:38:01.338 INFO kablam! 324 | | let c = Client::new(); Oct 12 21:38:01.338 INFO kablam! 325 | | let url = Url::parse("http://streeteasy.com").unwrap(); Oct 12 21:38:01.338 INFO kablam! 326 | | let url = url.join(&*extension).unwrap(); Oct 12 21:38:01.338 INFO kablam! ... | Oct 12 21:38:01.338 INFO kablam! 337 | | return nb.classify(&s); Oct 12 21:38:01.338 INFO kablam! 338 | | } Oct 12 21:38:01.338 INFO kablam! | |_____^ Oct 12 21:38:01.338 INFO kablam! Oct 12 21:38:01.342 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:38:01.342 INFO kablam! --> src/main.rs:368:17 Oct 12 21:38:01.342 INFO kablam! | Oct 12 21:38:01.342 INFO kablam! 368 | f.write_all(trained_content.as_bytes()); Oct 12 21:38:01.342 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 21:38:01.342 INFO kablam! | Oct 12 21:38:01.342 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:38:01.342 INFO kablam! Oct 12 21:38:01.342 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 21:38:01.342 INFO kablam! --> src/main.rs:374:9 Oct 12 21:38:01.342 INFO kablam! | Oct 12 21:38:01.342 INFO kablam! 374 | / match File::open("foo.txt") { Oct 12 21:38:01.342 INFO kablam! 375 | | Ok(mut f) => { Oct 12 21:38:01.342 INFO kablam! 376 | | f.read_to_string(&mut s) Oct 12 21:38:01.342 INFO kablam! 377 | | } Oct 12 21:38:01.342 INFO kablam! 378 | | Err(err) => panic!("Unable to open file!") Oct 12 21:38:01.342 INFO kablam! 379 | | }; Oct 12 21:38:01.342 INFO kablam! | |__________^ Oct 12 21:38:01.342 INFO kablam! | Oct 12 21:38:01.342 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 21:38:01.342 INFO kablam! Oct 12 21:38:02.035 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.93s Oct 12 21:38:02.035 INFO kablam! su: No module specific data is present Oct 12 21:38:03.137 INFO running `"docker" "rm" "-f" "e7f0023596d96fd8fdd5aacb85e0c72fcfe0d94b90f73071da4d93b7c4481902"` Oct 12 21:38:03.451 INFO blam! e7f0023596d96fd8fdd5aacb85e0c72fcfe0d94b90f73071da4d93b7c4481902 Oct 12 21:38:03.455 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-3/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-3/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 12 21:38:03.845 INFO blam! 162ea0e1a306121336eda95bd1a7a354606b56064dbd3cbf5a0e073c79cfe609 Oct 12 21:38:03.855 INFO running `"docker" "start" "-a" "162ea0e1a306121336eda95bd1a7a354606b56064dbd3cbf5a0e073c79cfe609"` Oct 12 21:38:05.051 INFO kablam! usermod: no changes Oct 12 21:38:05.298 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.21s Oct 12 21:38:05.330 INFO kablam! Running /target/debug/deps/tank_hunter-7bbcf921bdc760bb Oct 12 21:38:05.330 INFO blam! Oct 12 21:38:05.330 INFO kablam! su: No module specific data is present Oct 12 21:38:05.330 INFO blam! running 0 tests Oct 12 21:38:05.330 INFO blam! Oct 12 21:38:05.330 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 12 21:38:05.330 INFO blam! Oct 12 21:38:06.290 INFO running `"docker" "rm" "-f" "162ea0e1a306121336eda95bd1a7a354606b56064dbd3cbf5a0e073c79cfe609"` Oct 12 21:38:06.504 INFO blam! 162ea0e1a306121336eda95bd1a7a354606b56064dbd3cbf5a0e073c79cfe609