Oct 10 16:26:01.888 INFO testing racer161/dusty against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling Oct 10 16:26:01.888 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen Oct 10 16:26:01.890 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-2/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 16:26:02.338 INFO blam! de8d73fbbad55a6b301e7f7f34967b37be4efcf6dac31741d11de7fa4ed52a45 Oct 10 16:26:02.339 INFO running `"docker" "start" "-a" "de8d73fbbad55a6b301e7f7f34967b37be4efcf6dac31741d11de7fa4ed52a45"` Oct 10 16:26:03.752 INFO kablam! usermod: no changes Oct 10 16:26:03.796 INFO kablam! Compiling dusty v0.1.0 (/source) Oct 10 16:26:04.353 INFO kablam! warning: unused import: `TcpListener` Oct 10 16:26:04.353 INFO kablam! --> src/dusty/httpParser/mod.rs:7:16 Oct 10 16:26:04.353 INFO kablam! | Oct 10 16:26:04.353 INFO kablam! 7 | use std::net::{TcpListener, TcpStream}; Oct 10 16:26:04.353 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:04.353 INFO kablam! | Oct 10 16:26:04.353 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 10 16:26:04.353 INFO kablam! Oct 10 16:26:04.353 INFO kablam! warning: unused import: `std::thread` Oct 10 16:26:04.353 INFO kablam! --> src/dusty/httpParser/mod.rs:9:5 Oct 10 16:26:04.353 INFO kablam! | Oct 10 16:26:04.353 INFO kablam! 9 | use std::thread; Oct 10 16:26:04.353 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:04.353 INFO kablam! Oct 10 16:26:04.353 INFO kablam! warning: unused import: `std::mem` Oct 10 16:26:04.353 INFO kablam! --> src/dusty/httpParser/mod.rs:12:5 Oct 10 16:26:04.353 INFO kablam! | Oct 10 16:26:04.353 INFO kablam! 12 | use std::mem; Oct 10 16:26:04.353 INFO kablam! | ^^^^^^^^ Oct 10 16:26:04.353 INFO kablam! Oct 10 16:26:04.353 INFO kablam! warning: unused import: `std::io` Oct 10 16:26:04.353 INFO kablam! --> src/dusty/pathBuilder/mod.rs:3:6 Oct 10 16:26:04.353 INFO kablam! | Oct 10 16:26:04.353 INFO kablam! 3 | use std::io; Oct 10 16:26:04.353 INFO kablam! | ^^^^^^^ Oct 10 16:26:04.354 INFO kablam! Oct 10 16:26:04.354 INFO kablam! warning: unused import: `std::fs::File` Oct 10 16:26:04.354 INFO kablam! --> src/dusty/pathBuilder/mod.rs:5:6 Oct 10 16:26:04.354 INFO kablam! | Oct 10 16:26:04.354 INFO kablam! 5 | use std::fs::File; Oct 10 16:26:04.354 INFO kablam! | ^^^^^^^^^^^^^ Oct 10 16:26:04.354 INFO kablam! Oct 10 16:26:04.354 INFO kablam! warning: unused import: `Path` Oct 10 16:26:04.354 INFO kablam! --> src/dusty/pathBuilder/mod.rs:6:18 Oct 10 16:26:04.354 INFO kablam! | Oct 10 16:26:04.354 INFO kablam! 6 | use std::path::{Path,PathBuf}; Oct 10 16:26:04.354 INFO kablam! | ^^^^ Oct 10 16:26:04.354 INFO kablam! Oct 10 16:26:04.354 INFO kablam! warning: unused import: `std::io` Oct 10 16:26:04.354 INFO kablam! --> src/dusty/cacheManager/mod.rs:4:5 Oct 10 16:26:04.354 INFO kablam! | Oct 10 16:26:04.354 INFO kablam! 4 | use std::io; Oct 10 16:26:04.354 INFO kablam! | ^^^^^^^ Oct 10 16:26:04.354 INFO kablam! Oct 10 16:26:04.354 INFO kablam! warning: unused import: `TcpListener` Oct 10 16:26:04.354 INFO kablam! --> src/dusty/connection/mod.rs:2:16 Oct 10 16:26:04.354 INFO kablam! | Oct 10 16:26:04.354 INFO kablam! 2 | use std::net::{TcpListener, TcpStream}; Oct 10 16:26:04.354 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:04.354 INFO kablam! Oct 10 16:26:04.354 INFO kablam! warning: unused import: `std::thread` Oct 10 16:26:04.354 INFO kablam! --> src/dusty/connection/mod.rs:6:5 Oct 10 16:26:04.354 INFO kablam! | Oct 10 16:26:04.354 INFO kablam! 6 | use std::thread; Oct 10 16:26:04.354 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:04.354 INFO kablam! Oct 10 16:26:04.354 INFO kablam! warning: unused import: `std::io::*` Oct 10 16:26:04.354 INFO kablam! --> src/dusty/connection/mod.rs:9:5 Oct 10 16:26:04.354 INFO kablam! | Oct 10 16:26:04.354 INFO kablam! 9 | use std::io::*; Oct 10 16:26:04.354 INFO kablam! | ^^^^^^^^^^ Oct 10 16:26:04.354 INFO kablam! Oct 10 16:26:04.354 INFO kablam! warning: unused import: `std::mem` Oct 10 16:26:04.354 INFO kablam! --> src/dusty/connection/mod.rs:10:5 Oct 10 16:26:04.354 INFO kablam! | Oct 10 16:26:04.354 INFO kablam! 10 | use std::mem; Oct 10 16:26:04.354 INFO kablam! | ^^^^^^^^ Oct 10 16:26:04.354 INFO kablam! Oct 10 16:26:04.354 INFO kablam! warning: unused import: `TcpListener` Oct 10 16:26:04.354 INFO kablam! --> src/dusty/httpParserThread/mod.rs:1:16 Oct 10 16:26:04.354 INFO kablam! | Oct 10 16:26:04.355 INFO kablam! 1 | use std::net::{TcpListener, TcpStream}; Oct 10 16:26:04.355 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:04.355 INFO kablam! Oct 10 16:26:04.355 INFO kablam! warning: unused import: `TcpStream` Oct 10 16:26:04.355 INFO kablam! --> src/main.rs:10:29 Oct 10 16:26:04.355 INFO kablam! | Oct 10 16:26:04.355 INFO kablam! 10 | use std::net::{TcpListener, TcpStream}; Oct 10 16:26:04.355 INFO kablam! | ^^^^^^^^^ Oct 10 16:26:04.355 INFO kablam! Oct 10 16:26:04.355 INFO kablam! warning: unused import: `std::sync::mpsc::*` Oct 10 16:26:04.355 INFO kablam! --> src/main.rs:13:5 Oct 10 16:26:04.355 INFO kablam! | Oct 10 16:26:04.355 INFO kablam! 13 | use std::sync::mpsc::*; Oct 10 16:26:04.355 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.355 INFO kablam! Oct 10 16:26:04.355 INFO kablam! warning: unused import: `std::thread` Oct 10 16:26:04.355 INFO kablam! --> src/main.rs:14:5 Oct 10 16:26:04.355 INFO kablam! | Oct 10 16:26:04.355 INFO kablam! 14 | use std::thread; Oct 10 16:26:04.355 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:04.355 INFO kablam! Oct 10 16:26:04.355 INFO kablam! warning: unused import: `std::io::*` Oct 10 16:26:04.355 INFO kablam! --> src/main.rs:16:5 Oct 10 16:26:04.355 INFO kablam! | Oct 10 16:26:04.355 INFO kablam! 16 | use std::io::*; Oct 10 16:26:04.355 INFO kablam! | ^^^^^^^^^^ Oct 10 16:26:04.355 INFO kablam! Oct 10 16:26:04.355 INFO kablam! warning: unused import: `std::mem` Oct 10 16:26:04.355 INFO kablam! --> src/main.rs:17:5 Oct 10 16:26:04.355 INFO kablam! | Oct 10 16:26:04.355 INFO kablam! 17 | use std::mem; Oct 10 16:26:04.355 INFO kablam! | ^^^^^^^^ Oct 10 16:26:04.355 INFO kablam! Oct 10 16:26:04.409 INFO kablam! warning: unreachable expression Oct 10 16:26:04.409 INFO kablam! --> src/dusty/httpParser/mod.rs:186:13 Oct 10 16:26:04.409 INFO kablam! | Oct 10 16:26:04.409 INFO kablam! 186 | return None Oct 10 16:26:04.409 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:04.409 INFO kablam! | Oct 10 16:26:04.409 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 10 16:26:04.409 INFO kablam! Oct 10 16:26:04.449 INFO kablam! warning: unused import: `std::io::prelude` Oct 10 16:26:04.449 INFO kablam! --> src/dusty/pathBuilder/mod.rs:4:6 Oct 10 16:26:04.449 INFO kablam! | Oct 10 16:26:04.450 INFO kablam! 4 | use std::io::prelude::*; Oct 10 16:26:04.450 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 10 16:26:04.450 INFO kablam! Oct 10 16:26:04.460 INFO kablam! warning: unused variable: `e` Oct 10 16:26:04.460 INFO kablam! --> src/dusty/httpParser/mod.rs:63:17 Oct 10 16:26:04.460 INFO kablam! | Oct 10 16:26:04.460 INFO kablam! 63 | Err(e) => println!("Error Reading to buffer in request!") Oct 10 16:26:04.460 INFO kablam! | ^ help: consider using `_e` instead Oct 10 16:26:04.460 INFO kablam! | Oct 10 16:26:04.460 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 16:26:04.460 INFO kablam! Oct 10 16:26:04.460 INFO kablam! warning: unused variable: `index` Oct 10 16:26:04.460 INFO kablam! --> src/dusty/httpParser/mod.rs:132:22 Oct 10 16:26:04.460 INFO kablam! | Oct 10 16:26:04.461 INFO kablam! 132 | Some(index) => Oct 10 16:26:04.461 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 10 16:26:04.461 INFO kablam! Oct 10 16:26:04.461 INFO kablam! warning: unused variable: `e` Oct 10 16:26:04.461 INFO kablam! --> src/dusty/cacheManager/mod.rs:67:21 Oct 10 16:26:04.461 INFO kablam! | Oct 10 16:26:04.461 INFO kablam! 67 | Err(e) => Oct 10 16:26:04.461 INFO kablam! | ^ help: consider using `_e` instead Oct 10 16:26:04.461 INFO kablam! Oct 10 16:26:04.461 INFO kablam! warning: unused variable: `filename` Oct 10 16:26:04.461 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:38 Oct 10 16:26:04.461 INFO kablam! | Oct 10 16:26:04.461 INFO kablam! 77 | fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 10 16:26:04.461 INFO kablam! | ^^^^^^^^ help: consider using `_filename` instead Oct 10 16:26:04.461 INFO kablam! Oct 10 16:26:04.461 INFO kablam! warning: unused variable: `headerTemplate` Oct 10 16:26:04.461 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 10 16:26:04.461 INFO kablam! | Oct 10 16:26:04.461 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 10 16:26:04.461 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_headerTemplate` instead Oct 10 16:26:04.461 INFO kablam! Oct 10 16:26:04.461 INFO kablam! warning: unused variable: `i` Oct 10 16:26:04.461 INFO kablam! --> src/dusty/httpParserThread/mod.rs:102:9 Oct 10 16:26:04.461 INFO kablam! | Oct 10 16:26:04.461 INFO kablam! 102 | for i in 0..gathererThreadPoolSize //Spawn gatherer threads Oct 10 16:26:04.461 INFO kablam! | ^ help: consider using `_i` instead Oct 10 16:26:04.461 INFO kablam! Oct 10 16:26:04.461 INFO kablam! warning: unused variable: `i` Oct 10 16:26:04.461 INFO kablam! --> src/dusty/httpParserThread/mod.rs:113:9 Oct 10 16:26:04.461 INFO kablam! | Oct 10 16:26:04.461 INFO kablam! 113 | for i in 0..parserThreadPoolSize Oct 10 16:26:04.461 INFO kablam! | ^ help: consider using `_i` instead Oct 10 16:26:04.461 INFO kablam! Oct 10 16:26:04.461 INFO kablam! warning: unused variable: `gathererManager` Oct 10 16:26:04.461 INFO kablam! --> src/main.rs:30:26 Oct 10 16:26:04.461 INFO kablam! | Oct 10 16:26:04.461 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 10 16:26:04.461 INFO kablam! | ^^^^^^^^^^^^^^^ help: consider using `_gathererManager` instead Oct 10 16:26:04.461 INFO kablam! Oct 10 16:26:04.480 INFO kablam! warning: variable does not need to be mutable Oct 10 16:26:04.480 INFO kablam! --> src/dusty/cacheManager/mod.rs:59:13 Oct 10 16:26:04.480 INFO kablam! | Oct 10 16:26:04.480 INFO kablam! 59 | let mut f = File::open(filename); Oct 10 16:26:04.480 INFO kablam! | ----^ Oct 10 16:26:04.480 INFO kablam! | | Oct 10 16:26:04.480 INFO kablam! | help: remove this `mut` Oct 10 16:26:04.480 INFO kablam! | Oct 10 16:26:04.480 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 16:26:04.480 INFO kablam! Oct 10 16:26:04.492 INFO kablam! warning: function is never used: `processHeader` Oct 10 16:26:04.492 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 10 16:26:04.492 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 16:26:04.492 INFO kablam! Oct 10 16:26:04.492 INFO kablam! warning: function is never used: `convertVecStrToU8` Oct 10 16:26:04.492 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 10 16:26:04.492 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.492 INFO kablam! Oct 10 16:26:04.492 INFO kablam! warning: struct is never constructed: `con` Oct 10 16:26:04.492 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! 53 | pub struct con Oct 10 16:26:04.492 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:04.492 INFO kablam! Oct 10 16:26:04.492 INFO kablam! warning: method is never used: `new` Oct 10 16:26:04.492 INFO kablam! --> src/dusty/connection/mod.rs:61:5 Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! 61 | pub fn new(buffer : String, stream : TcpStream) -> con Oct 10 16:26:04.492 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.492 INFO kablam! Oct 10 16:26:04.492 INFO kablam! warning: module `httpParser` should have a snake case name such as `http_parser` Oct 10 16:26:04.492 INFO kablam! --> src/main.rs:3:5 Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! 3 | pub mod httpParser; Oct 10 16:26:04.492 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 10 16:26:04.492 INFO kablam! Oct 10 16:26:04.492 INFO kablam! warning: function `createRequestSchedule` should have a snake case name such as `create_request_schedule` Oct 10 16:26:04.492 INFO kablam! --> src/dusty/httpParser/mod.rs:18:1 Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! 18 | / pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 10 16:26:04.492 INFO kablam! 19 | | { Oct 10 16:26:04.492 INFO kablam! 20 | | let mut schedule : Vec = Vec::new(); Oct 10 16:26:04.492 INFO kablam! 21 | | Oct 10 16:26:04.492 INFO kablam! ... | Oct 10 16:26:04.492 INFO kablam! 66 | | return (schedule,String::from(" ")); Oct 10 16:26:04.492 INFO kablam! 67 | | } Oct 10 16:26:04.492 INFO kablam! | |_^ Oct 10 16:26:04.492 INFO kablam! Oct 10 16:26:04.492 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 10 16:26:04.492 INFO kablam! --> src/dusty/httpParser/mod.rs:18:51 Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! 18 | pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 10 16:26:04.492 INFO kablam! | ^^^^^^^^^^^^^ Oct 10 16:26:04.492 INFO kablam! Oct 10 16:26:04.492 INFO kablam! warning: variable `lineBuffer` should have a snake case name such as `line_buffer` Oct 10 16:26:04.492 INFO kablam! --> src/dusty/httpParser/mod.rs:25:9 Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! 25 | let mut lineBuffer = String::with_capacity(512); Oct 10 16:26:04.492 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:04.492 INFO kablam! Oct 10 16:26:04.492 INFO kablam! warning: variable `newRequest` should have a snake case name such as `new_request` Oct 10 16:26:04.492 INFO kablam! --> src/dusty/httpParser/mod.rs:44:34 Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! 44 | Some(newRequest) => Oct 10 16:26:04.492 INFO kablam! | ^^^^^^^^^^ Oct 10 16:26:04.492 INFO kablam! Oct 10 16:26:04.492 INFO kablam! warning: function `processHeader` should have a snake case name such as `process_header` Oct 10 16:26:04.492 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 10 16:26:04.492 INFO kablam! | Oct 10 16:26:04.492 INFO kablam! 70 | / fn processHeader(header: &str, contentStart: usize) Oct 10 16:26:04.492 INFO kablam! 71 | | { Oct 10 16:26:04.492 INFO kablam! 72 | | println!("Header : {}", &header[0..contentStart]); Oct 10 16:26:04.492 INFO kablam! 73 | | println!("Content : {}",&header[contentStart+1..header.len()]); Oct 10 16:26:04.492 INFO kablam! 74 | | println!(); Oct 10 16:26:04.492 INFO kablam! 75 | | } Oct 10 16:26:04.492 INFO kablam! | |_^ Oct 10 16:26:04.502 INFO kablam! Oct 10 16:26:04.502 INFO kablam! warning: variable `contentStart` should have a snake case name such as `content_start` Oct 10 16:26:04.502 INFO kablam! --> src/dusty/httpParser/mod.rs:70:32 Oct 10 16:26:04.502 INFO kablam! | Oct 10 16:26:04.502 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 10 16:26:04.502 INFO kablam! | ^^^^^^^^^^^^ Oct 10 16:26:04.502 INFO kablam! Oct 10 16:26:04.502 INFO kablam! warning: function `processFileRequest` should have a snake case name such as `process_file_request` Oct 10 16:26:04.502 INFO kablam! --> src/dusty/httpParser/mod.rs:79:1 Oct 10 16:26:04.502 INFO kablam! | Oct 10 16:26:04.502 INFO kablam! 79 | / pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 10 16:26:04.502 INFO kablam! 80 | | { Oct 10 16:26:04.502 INFO kablam! 81 | | match cache.lock() Oct 10 16:26:04.502 INFO kablam! 82 | | { Oct 10 16:26:04.502 INFO kablam! ... | Oct 10 16:26:04.502 INFO kablam! 117 | | } Oct 10 16:26:04.502 INFO kablam! 118 | | } Oct 10 16:26:04.502 INFO kablam! | |_^ Oct 10 16:26:04.502 INFO kablam! Oct 10 16:26:04.502 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 10 16:26:04.502 INFO kablam! --> src/dusty/httpParser/mod.rs:79:31 Oct 10 16:26:04.502 INFO kablam! | Oct 10 16:26:04.502 INFO kablam! 79 | pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 10 16:26:04.502 INFO kablam! | ^^^^^^^^ Oct 10 16:26:04.502 INFO kablam! Oct 10 16:26:04.502 INFO kablam! warning: variable `fileString` should have a snake case name such as `file_string` Oct 10 16:26:04.502 INFO kablam! --> src/dusty/httpParser/mod.rs:89:26 Oct 10 16:26:04.502 INFO kablam! | Oct 10 16:26:04.502 INFO kablam! 89 | let (fileString, size) = cacheManager::readNewUncachedFile(&filePath); Oct 10 16:26:04.502 INFO kablam! | ^^^^^^^^^^ Oct 10 16:26:04.502 INFO kablam! Oct 10 16:26:04.502 INFO kablam! warning: function `processRequestLine` should have a snake case name such as `process_request_line` Oct 10 16:26:04.502 INFO kablam! --> src/dusty/httpParser/mod.rs:120:1 Oct 10 16:26:04.502 INFO kablam! | Oct 10 16:26:04.502 INFO kablam! 120 | / fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 10 16:26:04.502 INFO kablam! 121 | | { Oct 10 16:26:04.502 INFO kablam! 122 | | if line == "\r\n" Oct 10 16:26:04.502 INFO kablam! 123 | | { Oct 10 16:26:04.502 INFO kablam! ... | Oct 10 16:26:04.502 INFO kablam! 188 | | } Oct 10 16:26:04.502 INFO kablam! 189 | | } Oct 10 16:26:04.502 INFO kablam! | |_^ Oct 10 16:26:04.502 INFO kablam! Oct 10 16:26:04.502 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 10 16:26:04.502 INFO kablam! --> src/dusty/httpParser/mod.rs:120:36 Oct 10 16:26:04.502 INFO kablam! | Oct 10 16:26:04.502 INFO kablam! 120 | fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 10 16:26:04.502 INFO kablam! | ^^^^^^^^^^^^^ Oct 10 16:26:04.502 INFO kablam! Oct 10 16:26:04.502 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 10 16:26:04.502 INFO kablam! --> src/dusty/httpParser/mod.rs:142:29 Oct 10 16:26:04.502 INFO kablam! | Oct 10 16:26:04.502 INFO kablam! 142 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 10 16:26:04.502 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.502 INFO kablam! Oct 10 16:26:04.502 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 10 16:26:04.502 INFO kablam! --> src/dusty/httpParser/mod.rs:145:33 Oct 10 16:26:04.502 INFO kablam! | Oct 10 16:26:04.502 INFO kablam! 145 | let filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 10 16:26:04.502 INFO kablam! | ^^^^^^^^ Oct 10 16:26:04.502 INFO kablam! Oct 10 16:26:04.502 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 10 16:26:04.502 INFO kablam! --> src/dusty/httpParser/mod.rs:157:33 Oct 10 16:26:04.502 INFO kablam! | Oct 10 16:26:04.502 INFO kablam! 157 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 10 16:26:04.502 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.502 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 10 16:26:04.503 INFO kablam! --> src/dusty/httpParser/mod.rs:159:37 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 159 | let mut filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 10 16:26:04.503 INFO kablam! | ^^^^^^^^^^^^ Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 10 16:26:04.503 INFO kablam! --> src/dusty/httpParser/mod.rs:169:33 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 169 | let mut filePath = pathBuilder::returnFullPath(&line); Oct 10 16:26:04.503 INFO kablam! | ^^^^^^^^^^^^ Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: function `convertVecStrToU8` should have a snake case name such as `convert_vec_str_to_u8` Oct 10 16:26:04.503 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 196 | / fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 10 16:26:04.503 INFO kablam! 197 | | { Oct 10 16:26:04.503 INFO kablam! 198 | | let mut str_as_u8 : Vec = Vec::new(); Oct 10 16:26:04.503 INFO kablam! 199 | | for res in responseBuffer Oct 10 16:26:04.503 INFO kablam! ... | Oct 10 16:26:04.503 INFO kablam! 203 | | str_as_u8 Oct 10 16:26:04.503 INFO kablam! 204 | | } Oct 10 16:26:04.503 INFO kablam! | |_^ Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: variable `responseBuffer` should have a snake case name such as `response_buffer` Oct 10 16:26:04.503 INFO kablam! --> src/dusty/httpParser/mod.rs:196:22 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 10 16:26:04.503 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: module `pathBuilder` should have a snake case name such as `path_builder` Oct 10 16:26:04.503 INFO kablam! --> src/main.rs:4:5 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 4 | pub mod pathBuilder; Oct 10 16:26:04.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: function `returnFullPath` should have a snake case name such as `return_full_path` Oct 10 16:26:04.503 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:1 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 9 | / pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 10 16:26:04.503 INFO kablam! 10 | | { Oct 10 16:26:04.503 INFO kablam! 11 | | match current_dir().unwrap().to_str() Oct 10 16:26:04.503 INFO kablam! 12 | | { Oct 10 16:26:04.503 INFO kablam! ... | Oct 10 16:26:04.503 INFO kablam! 38 | | Oct 10 16:26:04.503 INFO kablam! 39 | | } Oct 10 16:26:04.503 INFO kablam! | |_^ Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: variable `localPath` should have a snake case name such as `local_path` Oct 10 16:26:04.503 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:27 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 9 | pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 10 16:26:04.503 INFO kablam! | ^^^^^^^^^ Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: variable `tempPath` should have a snake case name such as `temp_path` Oct 10 16:26:04.503 INFO kablam! --> src/dusty/pathBuilder/mod.rs:16:17 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 16 | let mut tempPath = PathBuf::new(); Oct 10 16:26:04.503 INFO kablam! | ^^^^^^^^^^^^ Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: variable `newPath` should have a snake case name such as `new_path` Oct 10 16:26:04.503 INFO kablam! --> src/dusty/pathBuilder/mod.rs:19:17 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 19 | let newPath : Vec<&str> = localPath.split("/").collect(); Oct 10 16:26:04.503 INFO kablam! | ^^^^^^^ Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: variable `finalPath` should have a snake case name such as `final_path` Oct 10 16:26:04.503 INFO kablam! --> src/dusty/pathBuilder/mod.rs:27:22 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 27 | Some(finalPath) => return finalPath.to_string(), Oct 10 16:26:04.503 INFO kablam! | ^^^^^^^^^ Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: module `cacheManager` should have a snake case name such as `cache_manager` Oct 10 16:26:04.503 INFO kablam! --> src/main.rs:5:5 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 5 | pub mod cacheManager; Oct 10 16:26:04.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.503 INFO kablam! warning: type `cache` should have a camel case name such as `Cache` Oct 10 16:26:04.503 INFO kablam! --> src/dusty/cacheManager/mod.rs:8:1 Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! 8 | / pub struct cache Oct 10 16:26:04.503 INFO kablam! 9 | | { Oct 10 16:26:04.503 INFO kablam! 10 | | c : HashMap, Oct 10 16:26:04.503 INFO kablam! 11 | | fileSize : HashMap Oct 10 16:26:04.503 INFO kablam! 12 | | } Oct 10 16:26:04.503 INFO kablam! | |_^ Oct 10 16:26:04.503 INFO kablam! | Oct 10 16:26:04.503 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 10 16:26:04.503 INFO kablam! Oct 10 16:26:04.504 INFO kablam! warning: structure field `fileSize` should have a snake case name such as `file_size` Oct 10 16:26:04.504 INFO kablam! --> src/dusty/cacheManager/mod.rs:11:5 Oct 10 16:26:04.504 INFO kablam! | Oct 10 16:26:04.504 INFO kablam! 11 | fileSize : HashMap Oct 10 16:26:04.504 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.504 INFO kablam! Oct 10 16:26:04.504 INFO kablam! warning: method `checkSize` should have a snake case name such as `check_size` Oct 10 16:26:04.504 INFO kablam! --> src/dusty/cacheManager/mod.rs:37:5 Oct 10 16:26:04.504 INFO kablam! | Oct 10 16:26:04.504 INFO kablam! 37 | / pub fn checkSize(&mut self, path : &str) -> usize Oct 10 16:26:04.504 INFO kablam! 38 | | { Oct 10 16:26:04.504 INFO kablam! 39 | | match self.fileSize.contains_key(path) Oct 10 16:26:04.504 INFO kablam! 40 | | { Oct 10 16:26:04.504 INFO kablam! ... | Oct 10 16:26:04.504 INFO kablam! 43 | | } Oct 10 16:26:04.504 INFO kablam! 44 | | } Oct 10 16:26:04.504 INFO kablam! | |_____^ Oct 10 16:26:04.504 INFO kablam! Oct 10 16:26:04.504 INFO kablam! warning: method `insertNewCacheItem` should have a snake case name such as `insert_new_cache_item` Oct 10 16:26:04.504 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:5 Oct 10 16:26:04.504 INFO kablam! | Oct 10 16:26:04.504 INFO kablam! 47 | / pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 10 16:26:04.504 INFO kablam! 48 | | { Oct 10 16:26:04.504 INFO kablam! 49 | | self.c.insert(path.to_string(),FileStr.clone()); Oct 10 16:26:04.504 INFO kablam! 50 | | self.fileSize.insert(path.to_string(),FileStr.len()); Oct 10 16:26:04.504 INFO kablam! 51 | | FileStr.len() Oct 10 16:26:04.504 INFO kablam! 52 | | } Oct 10 16:26:04.504 INFO kablam! | |_____^ Oct 10 16:26:04.504 INFO kablam! Oct 10 16:26:04.504 INFO kablam! warning: variable `FileStr` should have a snake case name such as `file_str` Oct 10 16:26:04.504 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:56 Oct 10 16:26:04.504 INFO kablam! | Oct 10 16:26:04.504 INFO kablam! 47 | pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 10 16:26:04.504 INFO kablam! | ^^^^^^^ Oct 10 16:26:04.504 INFO kablam! Oct 10 16:26:04.504 INFO kablam! warning: function `readNewUncachedFile` should have a snake case name such as `read_new_uncached_file` Oct 10 16:26:04.504 INFO kablam! --> src/dusty/cacheManager/mod.rs:57:5 Oct 10 16:26:04.504 INFO kablam! | Oct 10 16:26:04.504 INFO kablam! 57 | / pub fn readNewUncachedFile(filename: &str) -> (String, usize) Oct 10 16:26:04.504 INFO kablam! 58 | | { Oct 10 16:26:04.504 INFO kablam! 59 | | let mut f = File::open(filename); Oct 10 16:26:04.504 INFO kablam! 60 | | match f Oct 10 16:26:04.504 INFO kablam! ... | Oct 10 16:26:04.504 INFO kablam! 73 | | } Oct 10 16:26:04.504 INFO kablam! 74 | | } Oct 10 16:26:04.504 INFO kablam! | |_____^ Oct 10 16:26:04.504 INFO kablam! Oct 10 16:26:04.504 INFO kablam! warning: function `readText` should have a snake case name such as `read_text` Oct 10 16:26:04.504 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:5 Oct 10 16:26:04.504 INFO kablam! | Oct 10 16:26:04.504 INFO kablam! 77 | / fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 10 16:26:04.504 INFO kablam! 78 | | { Oct 10 16:26:04.504 INFO kablam! 79 | | let mut s = String::new(); Oct 10 16:26:04.504 INFO kablam! 80 | | let lenRead = readable.read_to_string(&mut s); Oct 10 16:26:04.504 INFO kablam! ... | Oct 10 16:26:04.504 INFO kablam! 94 | | } Oct 10 16:26:04.504 INFO kablam! 95 | | } Oct 10 16:26:04.504 INFO kablam! | |_____^ Oct 10 16:26:04.504 INFO kablam! Oct 10 16:26:04.504 INFO kablam! warning: variable `lenRead` should have a snake case name such as `len_read` Oct 10 16:26:04.504 INFO kablam! --> src/dusty/cacheManager/mod.rs:80:13 Oct 10 16:26:04.504 INFO kablam! | Oct 10 16:26:04.504 INFO kablam! 80 | let lenRead = readable.read_to_string(&mut s); Oct 10 16:26:04.504 INFO kablam! | ^^^^^^^ Oct 10 16:26:04.504 INFO kablam! Oct 10 16:26:04.504 INFO kablam! warning: variable `lR` should have a snake case name such as `l_r` Oct 10 16:26:04.504 INFO kablam! --> src/dusty/cacheManager/mod.rs:83:24 Oct 10 16:26:04.504 INFO kablam! | Oct 10 16:26:04.504 INFO kablam! 83 | Ok(lR) => Oct 10 16:26:04.504 INFO kablam! | ^^ Oct 10 16:26:04.504 INFO kablam! Oct 10 16:26:04.504 INFO kablam! warning: type `request` should have a camel case name such as `Request` Oct 10 16:26:04.504 INFO kablam! --> src/dusty/connection/mod.rs:13:1 Oct 10 16:26:04.504 INFO kablam! | Oct 10 16:26:04.504 INFO kablam! 13 | / pub struct request Oct 10 16:26:04.504 INFO kablam! 14 | | { Oct 10 16:26:04.504 INFO kablam! 15 | | pub filePath : String, Oct 10 16:26:04.504 INFO kablam! 16 | | pub size : usize, Oct 10 16:26:04.504 INFO kablam! 17 | | pub streamChannel : Sender Oct 10 16:26:04.504 INFO kablam! 18 | | } Oct 10 16:26:04.504 INFO kablam! | |_^ Oct 10 16:26:04.504 INFO kablam! Oct 10 16:26:04.504 INFO kablam! warning: structure field `filePath` should have a snake case name such as `file_path` Oct 10 16:26:04.504 INFO kablam! --> src/dusty/connection/mod.rs:15:5 Oct 10 16:26:04.504 INFO kablam! | Oct 10 16:26:04.504 INFO kablam! 15 | pub filePath : String, Oct 10 16:26:04.504 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.504 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: structure field `streamChannel` should have a snake case name such as `stream_channel` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/connection/mod.rs:17:5 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 17 | pub streamChannel : Sender Oct 10 16:26:04.505 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/connection/mod.rs:22:16 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 10 16:26:04.505 INFO kablam! | ^^^^^^^^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/connection/mod.rs:22:48 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 10 16:26:04.505 INFO kablam! | ^^^^^^^^^^^^^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: type `response` should have a camel case name such as `Response` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/connection/mod.rs:38:1 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 38 | / pub struct response Oct 10 16:26:04.505 INFO kablam! 39 | | { Oct 10 16:26:04.505 INFO kablam! 40 | | pub body : String, Oct 10 16:26:04.505 INFO kablam! 41 | | pub header : String Oct 10 16:26:04.505 INFO kablam! 42 | | } Oct 10 16:26:04.505 INFO kablam! | |_^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: type `con` should have a camel case name such as `Con` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 53 | / pub struct con Oct 10 16:26:04.505 INFO kablam! 54 | | { Oct 10 16:26:04.505 INFO kablam! 55 | | pub buffer: String, Oct 10 16:26:04.505 INFO kablam! 56 | | pub stream: TcpStream Oct 10 16:26:04.505 INFO kablam! 57 | | } Oct 10 16:26:04.505 INFO kablam! | |_^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: module `httpParserThread` should have a snake case name such as `http_parser_thread` Oct 10 16:26:04.505 INFO kablam! --> src/main.rs:7:5 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 7 | pub mod httpParserThread; Oct 10 16:26:04.505 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: function `spawnNewParserThread` should have a snake case name such as `spawn_new_parser_thread` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:1 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 12 | / pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 10 16:26:04.505 INFO kablam! 13 | | { Oct 10 16:26:04.505 INFO kablam! 14 | | thread::spawn(move || Oct 10 16:26:04.505 INFO kablam! 15 | | { Oct 10 16:26:04.505 INFO kablam! ... | Oct 10 16:26:04.505 INFO kablam! 66 | | Oct 10 16:26:04.505 INFO kablam! 67 | | } Oct 10 16:26:04.505 INFO kablam! | |_^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: variable `streamReceiver` should have a snake case name such as `stream_receiver` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:29 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 10 16:26:04.505 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: variable `gathererManagerChannel` should have a snake case name such as `gatherer_manager_channel` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:67 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 10 16:26:04.505 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: variable `localSend` should have a snake case name such as `local_send` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:14 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 10 16:26:04.505 INFO kablam! | ^^^^^^^^^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: variable `localRecv` should have a snake case name such as `local_recv` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:25 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 10 16:26:04.505 INFO kablam! | ^^^^^^^^^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: variable `headerTemplate` should have a snake case name such as `header_template` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 10 16:26:04.505 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.505 INFO kablam! warning: variable `requestCount` should have a snake case name such as `request_count` Oct 10 16:26:04.505 INFO kablam! --> src/dusty/httpParserThread/mod.rs:29:25 Oct 10 16:26:04.505 INFO kablam! | Oct 10 16:26:04.505 INFO kablam! 29 | let mut requestCount = schedule.len(); Oct 10 16:26:04.505 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 10 16:26:04.505 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 16:26:04.506 INFO kablam! --> src/dusty/httpParserThread/mod.rs:35:25 Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! 35 | gathererManagerChannel.send(req); Oct 10 16:26:04.506 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 16:26:04.506 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 16:26:04.506 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: function `spawnNewGathererThread` should have a snake case name such as `spawn_new_gatherer_thread` Oct 10 16:26:04.506 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:1 Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! 70 | / pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 10 16:26:04.506 INFO kablam! 71 | | { Oct 10 16:26:04.506 INFO kablam! 72 | | thread::spawn(move || Oct 10 16:26:04.506 INFO kablam! 73 | | { Oct 10 16:26:04.506 INFO kablam! ... | Oct 10 16:26:04.506 INFO kablam! 88 | | }); Oct 10 16:26:04.506 INFO kablam! 89 | | } Oct 10 16:26:04.506 INFO kablam! | |_^ Oct 10 16:26:04.506 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: variable `requestReceiver` should have a snake case name such as `request_receiver` Oct 10 16:26:04.506 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:31 Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! 70 | pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 10 16:26:04.506 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 10 16:26:04.506 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: function `createIndependentThreadPools` should have a snake case name such as `create_independent_thread_pools` Oct 10 16:26:04.506 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:1 Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! 93 | / pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 10 16:26:04.506 INFO kablam! 94 | | { Oct 10 16:26:04.506 INFO kablam! 95 | | //These are the meat and potatos of dusty Oct 10 16:26:04.506 INFO kablam! 96 | | //They are simply a vec pointing to channels Oct 10 16:26:04.506 INFO kablam! ... | Oct 10 16:26:04.506 INFO kablam! 122 | | Oct 10 16:26:04.506 INFO kablam! 123 | | } Oct 10 16:26:04.506 INFO kablam! | |_^ Oct 10 16:26:04.506 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: variable `parserThreadPoolSize` should have a snake case name such as `parser_thread_pool_size` Oct 10 16:26:04.506 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:37 Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 10 16:26:04.506 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.506 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: variable `gathererThreadPoolSize` should have a snake case name such as `gatherer_thread_pool_size` Oct 10 16:26:04.506 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:66 Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 10 16:26:04.506 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.506 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: variable `gathererChannels` should have a snake case name such as `gatherer_channels` Oct 10 16:26:04.506 INFO kablam! --> src/dusty/httpParserThread/mod.rs:98:9 Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! 98 | let mut gathererChannels : Vec> = Vec::new(); Oct 10 16:26:04.506 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.506 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 10 16:26:04.506 INFO kablam! --> src/dusty/httpParserThread/mod.rs:99:9 Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! 99 | let mut parserChannels : Vec> = Vec::new(); Oct 10 16:26:04.506 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.506 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 10 16:26:04.506 INFO kablam! --> src/dusty/httpParserThread/mod.rs:110:9 Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! 110 | let gathererManager : Sender = spawnGathererManagerThread(gathererChannels); Oct 10 16:26:04.506 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 10 16:26:04.506 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: function `spawnGathererManagerThread` should have a snake case name such as `spawn_gatherer_manager_thread` Oct 10 16:26:04.506 INFO kablam! --> src/dusty/httpParserThread/mod.rs:126:1 Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! 126 | / pub fn spawnGathererManagerThread(channels : Vec>) -> Sender Oct 10 16:26:04.506 INFO kablam! 127 | | { Oct 10 16:26:04.506 INFO kablam! 128 | | let (send, recv) = channel::(); Oct 10 16:26:04.506 INFO kablam! 129 | | thread::spawn(move || Oct 10 16:26:04.506 INFO kablam! ... | Oct 10 16:26:04.506 INFO kablam! 150 | | return send Oct 10 16:26:04.506 INFO kablam! 151 | | } Oct 10 16:26:04.506 INFO kablam! | |_^ Oct 10 16:26:04.506 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: variable `channelIndex` should have a snake case name such as `channel_index` Oct 10 16:26:04.506 INFO kablam! --> src/dusty/httpParserThread/mod.rs:131:13 Oct 10 16:26:04.506 INFO kablam! | Oct 10 16:26:04.506 INFO kablam! 131 | let mut channelIndex : usize = 0; Oct 10 16:26:04.506 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 10 16:26:04.506 INFO kablam! Oct 10 16:26:04.506 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 16:26:04.507 INFO kablam! --> src/dusty/httpParserThread/mod.rs:141:21 Oct 10 16:26:04.507 INFO kablam! | Oct 10 16:26:04.507 INFO kablam! 141 | channels[channelIndex].send(req); Oct 10 16:26:04.507 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.507 INFO kablam! | Oct 10 16:26:04.507 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 16:26:04.507 INFO kablam! Oct 10 16:26:04.507 INFO kablam! warning: variable `parserThreadCount` should have a snake case name such as `parser_thread_count` Oct 10 16:26:04.507 INFO kablam! --> src/main.rs:23:9 Oct 10 16:26:04.507 INFO kablam! | Oct 10 16:26:04.507 INFO kablam! 23 | let parserThreadCount : usize = 16; Oct 10 16:26:04.507 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.507 INFO kablam! Oct 10 16:26:04.507 INFO kablam! warning: variable `gathererThreadCount` should have a snake case name such as `gatherer_thread_count` Oct 10 16:26:04.507 INFO kablam! --> src/main.rs:24:9 Oct 10 16:26:04.507 INFO kablam! | Oct 10 16:26:04.507 INFO kablam! 24 | let gathererThreadCount : usize = 16; Oct 10 16:26:04.507 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.507 INFO kablam! Oct 10 16:26:04.507 INFO kablam! warning: variable `sharedCache` should have a snake case name such as `shared_cache` Oct 10 16:26:04.507 INFO kablam! --> src/main.rs:27:9 Oct 10 16:26:04.507 INFO kablam! | Oct 10 16:26:04.507 INFO kablam! 27 | let sharedCache : Arc> = Arc::new(Mutex::new(cacheManager::cache::new())); Oct 10 16:26:04.507 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:04.507 INFO kablam! Oct 10 16:26:04.507 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 10 16:26:04.507 INFO kablam! --> src/main.rs:30:10 Oct 10 16:26:04.507 INFO kablam! | Oct 10 16:26:04.507 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 10 16:26:04.507 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:04.507 INFO kablam! Oct 10 16:26:04.507 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 10 16:26:04.507 INFO kablam! --> src/main.rs:30:26 Oct 10 16:26:04.507 INFO kablam! | Oct 10 16:26:04.507 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 10 16:26:04.507 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 10 16:26:04.507 INFO kablam! Oct 10 16:26:04.507 INFO kablam! warning: variable `parserIndex` should have a snake case name such as `parser_index` Oct 10 16:26:04.507 INFO kablam! --> src/main.rs:31:9 Oct 10 16:26:04.507 INFO kablam! | Oct 10 16:26:04.507 INFO kablam! 31 | let mut parserIndex = 0; Oct 10 16:26:04.507 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 10 16:26:04.507 INFO kablam! Oct 10 16:26:04.507 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 16:26:04.507 INFO kablam! --> src/main.rs:41:25 Oct 10 16:26:04.507 INFO kablam! | Oct 10 16:26:04.507 INFO kablam! 41 | parserChannels[parserIndex].send(stream); Oct 10 16:26:04.507 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:04.507 INFO kablam! | Oct 10 16:26:04.507 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 16:26:04.507 INFO kablam! Oct 10 16:26:14.232 INFO kablam! Finished dev [optimized + debuginfo] target(s) in 10.45s Oct 10 16:26:14.232 INFO kablam! su: No module specific data is present Oct 10 16:26:15.422 INFO running `"docker" "rm" "-f" "de8d73fbbad55a6b301e7f7f34967b37be4efcf6dac31741d11de7fa4ed52a45"` Oct 10 16:26:15.754 INFO blam! de8d73fbbad55a6b301e7f7f34967b37be4efcf6dac31741d11de7fa4ed52a45 Oct 10 16:26:15.754 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run Oct 10 16:26:15.754 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-2/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 16:26:16.172 INFO blam! c3141bb01b09ee37a2925d3c766beb3481497623bd69e00b87f17944e2f14ba9 Oct 10 16:26:16.174 INFO running `"docker" "start" "-a" "c3141bb01b09ee37a2925d3c766beb3481497623bd69e00b87f17944e2f14ba9"` Oct 10 16:26:18.195 INFO kablam! usermod: no changes Oct 10 16:26:18.249 INFO kablam! Compiling dusty v0.1.0 (/source) Oct 10 16:26:18.833 INFO kablam! warning: unused import: `TcpListener` Oct 10 16:26:18.833 INFO kablam! --> src/dusty/httpParser/mod.rs:7:16 Oct 10 16:26:18.833 INFO kablam! | Oct 10 16:26:18.833 INFO kablam! 7 | use std::net::{TcpListener, TcpStream}; Oct 10 16:26:18.833 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:18.833 INFO kablam! | Oct 10 16:26:18.833 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 10 16:26:18.833 INFO kablam! Oct 10 16:26:18.833 INFO kablam! warning: unused import: `std::thread` Oct 10 16:26:18.833 INFO kablam! --> src/dusty/httpParser/mod.rs:9:5 Oct 10 16:26:18.833 INFO kablam! | Oct 10 16:26:18.833 INFO kablam! 9 | use std::thread; Oct 10 16:26:18.833 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:18.833 INFO kablam! Oct 10 16:26:18.833 INFO kablam! warning: unused import: `std::mem` Oct 10 16:26:18.833 INFO kablam! --> src/dusty/httpParser/mod.rs:12:5 Oct 10 16:26:18.834 INFO kablam! | Oct 10 16:26:18.834 INFO kablam! 12 | use std::mem; Oct 10 16:26:18.834 INFO kablam! | ^^^^^^^^ Oct 10 16:26:18.834 INFO kablam! Oct 10 16:26:18.834 INFO kablam! warning: unused import: `std::io` Oct 10 16:26:18.834 INFO kablam! --> src/dusty/pathBuilder/mod.rs:3:6 Oct 10 16:26:18.834 INFO kablam! | Oct 10 16:26:18.834 INFO kablam! 3 | use std::io; Oct 10 16:26:18.834 INFO kablam! | ^^^^^^^ Oct 10 16:26:18.834 INFO kablam! Oct 10 16:26:18.834 INFO kablam! warning: unused import: `std::fs::File` Oct 10 16:26:18.834 INFO kablam! --> src/dusty/pathBuilder/mod.rs:5:6 Oct 10 16:26:18.834 INFO kablam! | Oct 10 16:26:18.834 INFO kablam! 5 | use std::fs::File; Oct 10 16:26:18.834 INFO kablam! | ^^^^^^^^^^^^^ Oct 10 16:26:18.834 INFO kablam! Oct 10 16:26:18.834 INFO kablam! warning: unused import: `Path` Oct 10 16:26:18.834 INFO kablam! --> src/dusty/pathBuilder/mod.rs:6:18 Oct 10 16:26:18.834 INFO kablam! | Oct 10 16:26:18.834 INFO kablam! 6 | use std::path::{Path,PathBuf}; Oct 10 16:26:18.834 INFO kablam! | ^^^^ Oct 10 16:26:18.834 INFO kablam! Oct 10 16:26:18.835 INFO kablam! warning: unused import: `std::io` Oct 10 16:26:18.835 INFO kablam! --> src/dusty/cacheManager/mod.rs:4:5 Oct 10 16:26:18.835 INFO kablam! | Oct 10 16:26:18.835 INFO kablam! 4 | use std::io; Oct 10 16:26:18.835 INFO kablam! | ^^^^^^^ Oct 10 16:26:18.835 INFO kablam! Oct 10 16:26:18.835 INFO kablam! warning: unused import: `TcpListener` Oct 10 16:26:18.835 INFO kablam! --> src/dusty/connection/mod.rs:2:16 Oct 10 16:26:18.835 INFO kablam! | Oct 10 16:26:18.835 INFO kablam! 2 | use std::net::{TcpListener, TcpStream}; Oct 10 16:26:18.835 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:18.835 INFO kablam! Oct 10 16:26:18.835 INFO kablam! warning: unused import: `std::thread` Oct 10 16:26:18.835 INFO kablam! --> src/dusty/connection/mod.rs:6:5 Oct 10 16:26:18.835 INFO kablam! | Oct 10 16:26:18.835 INFO kablam! 6 | use std::thread; Oct 10 16:26:18.835 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:18.835 INFO kablam! Oct 10 16:26:18.835 INFO kablam! warning: unused import: `std::io::*` Oct 10 16:26:18.835 INFO kablam! --> src/dusty/connection/mod.rs:9:5 Oct 10 16:26:18.835 INFO kablam! | Oct 10 16:26:18.836 INFO kablam! 9 | use std::io::*; Oct 10 16:26:18.836 INFO kablam! | ^^^^^^^^^^ Oct 10 16:26:18.836 INFO kablam! Oct 10 16:26:18.836 INFO kablam! warning: unused import: `std::mem` Oct 10 16:26:18.836 INFO kablam! --> src/dusty/connection/mod.rs:10:5 Oct 10 16:26:18.836 INFO kablam! | Oct 10 16:26:18.836 INFO kablam! 10 | use std::mem; Oct 10 16:26:18.836 INFO kablam! | ^^^^^^^^ Oct 10 16:26:18.836 INFO kablam! Oct 10 16:26:18.836 INFO kablam! warning: unused import: `TcpListener` Oct 10 16:26:18.836 INFO kablam! --> src/dusty/httpParserThread/mod.rs:1:16 Oct 10 16:26:18.836 INFO kablam! | Oct 10 16:26:18.836 INFO kablam! 1 | use std::net::{TcpListener, TcpStream}; Oct 10 16:26:18.836 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:18.836 INFO kablam! Oct 10 16:26:18.836 INFO kablam! warning: unused import: `TcpStream` Oct 10 16:26:18.836 INFO kablam! --> src/main.rs:10:29 Oct 10 16:26:18.836 INFO kablam! | Oct 10 16:26:18.836 INFO kablam! 10 | use std::net::{TcpListener, TcpStream}; Oct 10 16:26:18.836 INFO kablam! | ^^^^^^^^^ Oct 10 16:26:18.836 INFO kablam! Oct 10 16:26:18.836 INFO kablam! warning: unused import: `std::sync::mpsc::*` Oct 10 16:26:18.837 INFO kablam! --> src/main.rs:13:5 Oct 10 16:26:18.837 INFO kablam! | Oct 10 16:26:18.837 INFO kablam! 13 | use std::sync::mpsc::*; Oct 10 16:26:18.837 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 16:26:18.837 INFO kablam! Oct 10 16:26:18.837 INFO kablam! warning: unused import: `std::thread` Oct 10 16:26:18.837 INFO kablam! --> src/main.rs:14:5 Oct 10 16:26:18.837 INFO kablam! | Oct 10 16:26:18.837 INFO kablam! 14 | use std::thread; Oct 10 16:26:18.837 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:18.837 INFO kablam! Oct 10 16:26:18.837 INFO kablam! warning: unused import: `std::io::*` Oct 10 16:26:18.837 INFO kablam! --> src/main.rs:16:5 Oct 10 16:26:18.837 INFO kablam! | Oct 10 16:26:18.837 INFO kablam! 16 | use std::io::*; Oct 10 16:26:18.837 INFO kablam! | ^^^^^^^^^^ Oct 10 16:26:18.837 INFO kablam! Oct 10 16:26:18.837 INFO kablam! warning: unused import: `std::mem` Oct 10 16:26:18.837 INFO kablam! --> src/main.rs:17:5 Oct 10 16:26:18.837 INFO kablam! | Oct 10 16:26:18.837 INFO kablam! 17 | use std::mem; Oct 10 16:26:18.837 INFO kablam! | ^^^^^^^^ Oct 10 16:26:18.837 INFO kablam! Oct 10 16:26:18.901 INFO kablam! warning: unreachable expression Oct 10 16:26:18.901 INFO kablam! --> src/dusty/httpParser/mod.rs:186:13 Oct 10 16:26:18.901 INFO kablam! | Oct 10 16:26:18.901 INFO kablam! 186 | return None Oct 10 16:26:18.901 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:18.901 INFO kablam! | Oct 10 16:26:18.901 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 10 16:26:18.904 INFO kablam! Oct 10 16:26:18.956 INFO kablam! warning: unused import: `std::io::prelude` Oct 10 16:26:18.956 INFO kablam! --> src/dusty/pathBuilder/mod.rs:4:6 Oct 10 16:26:18.956 INFO kablam! | Oct 10 16:26:18.956 INFO kablam! 4 | use std::io::prelude::*; Oct 10 16:26:18.956 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 10 16:26:18.956 INFO kablam! Oct 10 16:26:18.961 INFO kablam! warning: unused variable: `e` Oct 10 16:26:18.961 INFO kablam! --> src/dusty/httpParser/mod.rs:63:17 Oct 10 16:26:18.961 INFO kablam! | Oct 10 16:26:18.961 INFO kablam! 63 | Err(e) => println!("Error Reading to buffer in request!") Oct 10 16:26:18.961 INFO kablam! | ^ help: consider using `_e` instead Oct 10 16:26:18.961 INFO kablam! | Oct 10 16:26:18.961 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 16:26:18.961 INFO kablam! Oct 10 16:26:18.961 INFO kablam! warning: unused variable: `index` Oct 10 16:26:18.961 INFO kablam! --> src/dusty/httpParser/mod.rs:132:22 Oct 10 16:26:18.961 INFO kablam! | Oct 10 16:26:18.961 INFO kablam! 132 | Some(index) => Oct 10 16:26:18.961 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 10 16:26:18.961 INFO kablam! Oct 10 16:26:18.961 INFO kablam! warning: unused variable: `e` Oct 10 16:26:18.961 INFO kablam! --> src/dusty/cacheManager/mod.rs:67:21 Oct 10 16:26:18.961 INFO kablam! | Oct 10 16:26:18.961 INFO kablam! 67 | Err(e) => Oct 10 16:26:18.961 INFO kablam! | ^ help: consider using `_e` instead Oct 10 16:26:18.961 INFO kablam! Oct 10 16:26:18.961 INFO kablam! warning: unused variable: `filename` Oct 10 16:26:18.961 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:38 Oct 10 16:26:18.961 INFO kablam! | Oct 10 16:26:18.961 INFO kablam! 77 | fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 10 16:26:18.961 INFO kablam! | ^^^^^^^^ help: consider using `_filename` instead Oct 10 16:26:18.961 INFO kablam! Oct 10 16:26:18.961 INFO kablam! warning: unused variable: `headerTemplate` Oct 10 16:26:18.961 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 10 16:26:18.961 INFO kablam! | Oct 10 16:26:18.961 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 10 16:26:18.961 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_headerTemplate` instead Oct 10 16:26:18.961 INFO kablam! Oct 10 16:26:18.961 INFO kablam! warning: unused variable: `i` Oct 10 16:26:18.961 INFO kablam! --> src/dusty/httpParserThread/mod.rs:102:9 Oct 10 16:26:18.961 INFO kablam! | Oct 10 16:26:18.961 INFO kablam! 102 | for i in 0..gathererThreadPoolSize //Spawn gatherer threads Oct 10 16:26:18.961 INFO kablam! | ^ help: consider using `_i` instead Oct 10 16:26:18.961 INFO kablam! Oct 10 16:26:18.961 INFO kablam! warning: unused variable: `i` Oct 10 16:26:18.961 INFO kablam! --> src/dusty/httpParserThread/mod.rs:113:9 Oct 10 16:26:18.961 INFO kablam! | Oct 10 16:26:18.961 INFO kablam! 113 | for i in 0..parserThreadPoolSize Oct 10 16:26:18.961 INFO kablam! | ^ help: consider using `_i` instead Oct 10 16:26:18.961 INFO kablam! Oct 10 16:26:18.961 INFO kablam! warning: unused variable: `gathererManager` Oct 10 16:26:18.961 INFO kablam! --> src/main.rs:30:26 Oct 10 16:26:18.961 INFO kablam! | Oct 10 16:26:18.961 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 10 16:26:18.961 INFO kablam! | ^^^^^^^^^^^^^^^ help: consider using `_gathererManager` instead Oct 10 16:26:18.961 INFO kablam! Oct 10 16:26:18.987 INFO kablam! warning: variable does not need to be mutable Oct 10 16:26:18.987 INFO kablam! --> src/dusty/cacheManager/mod.rs:59:13 Oct 10 16:26:18.987 INFO kablam! | Oct 10 16:26:18.987 INFO kablam! 59 | let mut f = File::open(filename); Oct 10 16:26:18.987 INFO kablam! | ----^ Oct 10 16:26:18.987 INFO kablam! | | Oct 10 16:26:18.987 INFO kablam! | help: remove this `mut` Oct 10 16:26:18.987 INFO kablam! | Oct 10 16:26:18.987 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 16:26:18.988 INFO kablam! Oct 10 16:26:18.992 INFO kablam! warning: function is never used: `processHeader` Oct 10 16:26:18.992 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 10 16:26:18.992 INFO kablam! | Oct 10 16:26:18.992 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 10 16:26:18.992 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:18.993 INFO kablam! | Oct 10 16:26:18.993 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 16:26:18.993 INFO kablam! Oct 10 16:26:18.993 INFO kablam! warning: function is never used: `convertVecStrToU8` Oct 10 16:26:18.993 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 10 16:26:18.993 INFO kablam! | Oct 10 16:26:18.993 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 10 16:26:18.993 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:18.993 INFO kablam! Oct 10 16:26:18.993 INFO kablam! warning: struct is never constructed: `con` Oct 10 16:26:18.993 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 10 16:26:18.993 INFO kablam! | Oct 10 16:26:18.993 INFO kablam! 53 | pub struct con Oct 10 16:26:18.993 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:18.993 INFO kablam! Oct 10 16:26:18.993 INFO kablam! warning: method is never used: `new` Oct 10 16:26:18.993 INFO kablam! --> src/dusty/connection/mod.rs:61:5 Oct 10 16:26:18.993 INFO kablam! | Oct 10 16:26:18.993 INFO kablam! 61 | pub fn new(buffer : String, stream : TcpStream) -> con Oct 10 16:26:18.993 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:18.993 INFO kablam! Oct 10 16:26:18.995 INFO kablam! warning: module `httpParser` should have a snake case name such as `http_parser` Oct 10 16:26:18.995 INFO kablam! --> src/main.rs:3:5 Oct 10 16:26:18.995 INFO kablam! | Oct 10 16:26:18.995 INFO kablam! 3 | pub mod httpParser; Oct 10 16:26:18.995 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:18.995 INFO kablam! | Oct 10 16:26:18.995 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 10 16:26:18.995 INFO kablam! Oct 10 16:26:18.995 INFO kablam! warning: function `createRequestSchedule` should have a snake case name such as `create_request_schedule` Oct 10 16:26:18.995 INFO kablam! --> src/dusty/httpParser/mod.rs:18:1 Oct 10 16:26:18.995 INFO kablam! | Oct 10 16:26:18.995 INFO kablam! 18 | / pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 10 16:26:18.995 INFO kablam! 19 | | { Oct 10 16:26:18.995 INFO kablam! 20 | | let mut schedule : Vec = Vec::new(); Oct 10 16:26:18.995 INFO kablam! 21 | | Oct 10 16:26:18.995 INFO kablam! ... | Oct 10 16:26:18.995 INFO kablam! 66 | | return (schedule,String::from(" ")); Oct 10 16:26:18.995 INFO kablam! 67 | | } Oct 10 16:26:18.995 INFO kablam! | |_^ Oct 10 16:26:18.995 INFO kablam! Oct 10 16:26:18.995 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 10 16:26:18.996 INFO kablam! --> src/dusty/httpParser/mod.rs:18:51 Oct 10 16:26:18.996 INFO kablam! | Oct 10 16:26:18.996 INFO kablam! 18 | pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 10 16:26:18.996 INFO kablam! | ^^^^^^^^^^^^^ Oct 10 16:26:18.996 INFO kablam! Oct 10 16:26:18.996 INFO kablam! warning: variable `lineBuffer` should have a snake case name such as `line_buffer` Oct 10 16:26:18.996 INFO kablam! --> src/dusty/httpParser/mod.rs:25:9 Oct 10 16:26:18.996 INFO kablam! | Oct 10 16:26:18.996 INFO kablam! 25 | let mut lineBuffer = String::with_capacity(512); Oct 10 16:26:18.996 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:18.996 INFO kablam! Oct 10 16:26:18.996 INFO kablam! warning: variable `newRequest` should have a snake case name such as `new_request` Oct 10 16:26:18.996 INFO kablam! --> src/dusty/httpParser/mod.rs:44:34 Oct 10 16:26:18.996 INFO kablam! | Oct 10 16:26:18.996 INFO kablam! 44 | Some(newRequest) => Oct 10 16:26:18.996 INFO kablam! | ^^^^^^^^^^ Oct 10 16:26:18.996 INFO kablam! Oct 10 16:26:18.996 INFO kablam! warning: function `processHeader` should have a snake case name such as `process_header` Oct 10 16:26:18.996 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 10 16:26:18.996 INFO kablam! | Oct 10 16:26:18.996 INFO kablam! 70 | / fn processHeader(header: &str, contentStart: usize) Oct 10 16:26:18.996 INFO kablam! 71 | | { Oct 10 16:26:18.997 INFO kablam! 72 | | println!("Header : {}", &header[0..contentStart]); Oct 10 16:26:18.997 INFO kablam! 73 | | println!("Content : {}",&header[contentStart+1..header.len()]); Oct 10 16:26:18.997 INFO kablam! 74 | | println!(); Oct 10 16:26:18.997 INFO kablam! 75 | | } Oct 10 16:26:18.997 INFO kablam! | |_^ Oct 10 16:26:18.997 INFO kablam! Oct 10 16:26:18.997 INFO kablam! warning: variable `contentStart` should have a snake case name such as `content_start` Oct 10 16:26:18.997 INFO kablam! --> src/dusty/httpParser/mod.rs:70:32 Oct 10 16:26:18.997 INFO kablam! | Oct 10 16:26:18.997 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 10 16:26:18.997 INFO kablam! | ^^^^^^^^^^^^ Oct 10 16:26:18.997 INFO kablam! Oct 10 16:26:18.997 INFO kablam! warning: function `processFileRequest` should have a snake case name such as `process_file_request` Oct 10 16:26:18.997 INFO kablam! --> src/dusty/httpParser/mod.rs:79:1 Oct 10 16:26:18.997 INFO kablam! | Oct 10 16:26:18.997 INFO kablam! 79 | / pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 10 16:26:18.997 INFO kablam! 80 | | { Oct 10 16:26:18.997 INFO kablam! 81 | | match cache.lock() Oct 10 16:26:18.997 INFO kablam! 82 | | { Oct 10 16:26:18.997 INFO kablam! ... | Oct 10 16:26:18.997 INFO kablam! 117 | | } Oct 10 16:26:18.998 INFO kablam! 118 | | } Oct 10 16:26:18.998 INFO kablam! | |_^ Oct 10 16:26:18.998 INFO kablam! Oct 10 16:26:18.998 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 10 16:26:18.998 INFO kablam! --> src/dusty/httpParser/mod.rs:79:31 Oct 10 16:26:18.998 INFO kablam! | Oct 10 16:26:18.998 INFO kablam! 79 | pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 10 16:26:18.998 INFO kablam! | ^^^^^^^^ Oct 10 16:26:18.998 INFO kablam! Oct 10 16:26:18.998 INFO kablam! warning: variable `fileString` should have a snake case name such as `file_string` Oct 10 16:26:18.998 INFO kablam! --> src/dusty/httpParser/mod.rs:89:26 Oct 10 16:26:18.998 INFO kablam! | Oct 10 16:26:18.998 INFO kablam! 89 | let (fileString, size) = cacheManager::readNewUncachedFile(&filePath); Oct 10 16:26:18.998 INFO kablam! | ^^^^^^^^^^ Oct 10 16:26:18.998 INFO kablam! Oct 10 16:26:18.998 INFO kablam! warning: function `processRequestLine` should have a snake case name such as `process_request_line` Oct 10 16:26:18.998 INFO kablam! --> src/dusty/httpParser/mod.rs:120:1 Oct 10 16:26:18.998 INFO kablam! | Oct 10 16:26:18.998 INFO kablam! 120 | / fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 10 16:26:18.998 INFO kablam! 121 | | { Oct 10 16:26:18.998 INFO kablam! 122 | | if line == "\r\n" Oct 10 16:26:18.999 INFO kablam! 123 | | { Oct 10 16:26:18.999 INFO kablam! ... | Oct 10 16:26:18.999 INFO kablam! 188 | | } Oct 10 16:26:18.999 INFO kablam! 189 | | } Oct 10 16:26:18.999 INFO kablam! | |_^ Oct 10 16:26:18.999 INFO kablam! Oct 10 16:26:18.999 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 10 16:26:18.999 INFO kablam! --> src/dusty/httpParser/mod.rs:120:36 Oct 10 16:26:18.999 INFO kablam! | Oct 10 16:26:18.999 INFO kablam! 120 | fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 10 16:26:18.999 INFO kablam! | ^^^^^^^^^^^^^ Oct 10 16:26:18.999 INFO kablam! Oct 10 16:26:18.999 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 10 16:26:18.999 INFO kablam! --> src/dusty/httpParser/mod.rs:142:29 Oct 10 16:26:18.999 INFO kablam! | Oct 10 16:26:18.999 INFO kablam! 142 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 10 16:26:18.999 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 16:26:18.999 INFO kablam! Oct 10 16:26:18.999 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 10 16:26:18.999 INFO kablam! --> src/dusty/httpParser/mod.rs:145:33 Oct 10 16:26:18.999 INFO kablam! | Oct 10 16:26:18.999 INFO kablam! 145 | let filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 10 16:26:19.000 INFO kablam! | ^^^^^^^^ Oct 10 16:26:19.000 INFO kablam! Oct 10 16:26:19.000 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 10 16:26:19.000 INFO kablam! --> src/dusty/httpParser/mod.rs:157:33 Oct 10 16:26:19.000 INFO kablam! | Oct 10 16:26:19.000 INFO kablam! 157 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 10 16:26:19.000 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.000 INFO kablam! Oct 10 16:26:19.000 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 10 16:26:19.000 INFO kablam! --> src/dusty/httpParser/mod.rs:159:37 Oct 10 16:26:19.000 INFO kablam! | Oct 10 16:26:19.000 INFO kablam! 159 | let mut filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 10 16:26:19.000 INFO kablam! | ^^^^^^^^^^^^ Oct 10 16:26:19.000 INFO kablam! Oct 10 16:26:19.000 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 10 16:26:19.000 INFO kablam! --> src/dusty/httpParser/mod.rs:169:33 Oct 10 16:26:19.000 INFO kablam! | Oct 10 16:26:19.000 INFO kablam! 169 | let mut filePath = pathBuilder::returnFullPath(&line); Oct 10 16:26:19.000 INFO kablam! | ^^^^^^^^^^^^ Oct 10 16:26:19.000 INFO kablam! Oct 10 16:26:19.000 INFO kablam! warning: function `convertVecStrToU8` should have a snake case name such as `convert_vec_str_to_u8` Oct 10 16:26:19.000 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 10 16:26:19.001 INFO kablam! | Oct 10 16:26:19.001 INFO kablam! 196 | / fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 10 16:26:19.001 INFO kablam! 197 | | { Oct 10 16:26:19.001 INFO kablam! 198 | | let mut str_as_u8 : Vec = Vec::new(); Oct 10 16:26:19.001 INFO kablam! 199 | | for res in responseBuffer Oct 10 16:26:19.001 INFO kablam! ... | Oct 10 16:26:19.001 INFO kablam! 203 | | str_as_u8 Oct 10 16:26:19.001 INFO kablam! 204 | | } Oct 10 16:26:19.001 INFO kablam! | |_^ Oct 10 16:26:19.001 INFO kablam! Oct 10 16:26:19.001 INFO kablam! warning: variable `responseBuffer` should have a snake case name such as `response_buffer` Oct 10 16:26:19.001 INFO kablam! --> src/dusty/httpParser/mod.rs:196:22 Oct 10 16:26:19.001 INFO kablam! | Oct 10 16:26:19.001 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 10 16:26:19.001 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:19.001 INFO kablam! Oct 10 16:26:19.001 INFO kablam! warning: module `pathBuilder` should have a snake case name such as `path_builder` Oct 10 16:26:19.001 INFO kablam! --> src/main.rs:4:5 Oct 10 16:26:19.001 INFO kablam! | Oct 10 16:26:19.001 INFO kablam! 4 | pub mod pathBuilder; Oct 10 16:26:19.001 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.001 INFO kablam! Oct 10 16:26:19.003 INFO kablam! warning: function `returnFullPath` should have a snake case name such as `return_full_path` Oct 10 16:26:19.003 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:1 Oct 10 16:26:19.003 INFO kablam! | Oct 10 16:26:19.003 INFO kablam! 9 | / pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 10 16:26:19.003 INFO kablam! 10 | | { Oct 10 16:26:19.003 INFO kablam! 11 | | match current_dir().unwrap().to_str() Oct 10 16:26:19.003 INFO kablam! 12 | | { Oct 10 16:26:19.003 INFO kablam! ... | Oct 10 16:26:19.003 INFO kablam! 38 | | Oct 10 16:26:19.003 INFO kablam! 39 | | } Oct 10 16:26:19.003 INFO kablam! | |_^ Oct 10 16:26:19.003 INFO kablam! Oct 10 16:26:19.004 INFO kablam! warning: variable `localPath` should have a snake case name such as `local_path` Oct 10 16:26:19.004 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:27 Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! 9 | pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 10 16:26:19.004 INFO kablam! | ^^^^^^^^^ Oct 10 16:26:19.004 INFO kablam! Oct 10 16:26:19.004 INFO kablam! warning: variable `tempPath` should have a snake case name such as `temp_path` Oct 10 16:26:19.004 INFO kablam! --> src/dusty/pathBuilder/mod.rs:16:17 Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! 16 | let mut tempPath = PathBuf::new(); Oct 10 16:26:19.004 INFO kablam! | ^^^^^^^^^^^^ Oct 10 16:26:19.004 INFO kablam! Oct 10 16:26:19.004 INFO kablam! warning: variable `newPath` should have a snake case name such as `new_path` Oct 10 16:26:19.004 INFO kablam! --> src/dusty/pathBuilder/mod.rs:19:17 Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! 19 | let newPath : Vec<&str> = localPath.split("/").collect(); Oct 10 16:26:19.004 INFO kablam! | ^^^^^^^ Oct 10 16:26:19.004 INFO kablam! Oct 10 16:26:19.004 INFO kablam! warning: variable `finalPath` should have a snake case name such as `final_path` Oct 10 16:26:19.004 INFO kablam! --> src/dusty/pathBuilder/mod.rs:27:22 Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! 27 | Some(finalPath) => return finalPath.to_string(), Oct 10 16:26:19.004 INFO kablam! | ^^^^^^^^^ Oct 10 16:26:19.004 INFO kablam! Oct 10 16:26:19.004 INFO kablam! warning: module `cacheManager` should have a snake case name such as `cache_manager` Oct 10 16:26:19.004 INFO kablam! --> src/main.rs:5:5 Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! 5 | pub mod cacheManager; Oct 10 16:26:19.004 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.004 INFO kablam! Oct 10 16:26:19.004 INFO kablam! warning: type `cache` should have a camel case name such as `Cache` Oct 10 16:26:19.004 INFO kablam! --> src/dusty/cacheManager/mod.rs:8:1 Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! 8 | / pub struct cache Oct 10 16:26:19.004 INFO kablam! 9 | | { Oct 10 16:26:19.004 INFO kablam! 10 | | c : HashMap, Oct 10 16:26:19.004 INFO kablam! 11 | | fileSize : HashMap Oct 10 16:26:19.004 INFO kablam! 12 | | } Oct 10 16:26:19.004 INFO kablam! | |_^ Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 10 16:26:19.004 INFO kablam! Oct 10 16:26:19.004 INFO kablam! warning: structure field `fileSize` should have a snake case name such as `file_size` Oct 10 16:26:19.004 INFO kablam! --> src/dusty/cacheManager/mod.rs:11:5 Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! 11 | fileSize : HashMap Oct 10 16:26:19.004 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.004 INFO kablam! Oct 10 16:26:19.004 INFO kablam! warning: method `checkSize` should have a snake case name such as `check_size` Oct 10 16:26:19.004 INFO kablam! --> src/dusty/cacheManager/mod.rs:37:5 Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! 37 | / pub fn checkSize(&mut self, path : &str) -> usize Oct 10 16:26:19.004 INFO kablam! 38 | | { Oct 10 16:26:19.004 INFO kablam! 39 | | match self.fileSize.contains_key(path) Oct 10 16:26:19.004 INFO kablam! 40 | | { Oct 10 16:26:19.004 INFO kablam! ... | Oct 10 16:26:19.004 INFO kablam! 43 | | } Oct 10 16:26:19.004 INFO kablam! 44 | | } Oct 10 16:26:19.004 INFO kablam! | |_____^ Oct 10 16:26:19.004 INFO kablam! Oct 10 16:26:19.004 INFO kablam! warning: method `insertNewCacheItem` should have a snake case name such as `insert_new_cache_item` Oct 10 16:26:19.004 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:5 Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! 47 | / pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 10 16:26:19.004 INFO kablam! 48 | | { Oct 10 16:26:19.004 INFO kablam! 49 | | self.c.insert(path.to_string(),FileStr.clone()); Oct 10 16:26:19.004 INFO kablam! 50 | | self.fileSize.insert(path.to_string(),FileStr.len()); Oct 10 16:26:19.004 INFO kablam! 51 | | FileStr.len() Oct 10 16:26:19.004 INFO kablam! 52 | | } Oct 10 16:26:19.004 INFO kablam! | |_____^ Oct 10 16:26:19.004 INFO kablam! Oct 10 16:26:19.004 INFO kablam! warning: variable `FileStr` should have a snake case name such as `file_str` Oct 10 16:26:19.004 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:56 Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! 47 | pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 10 16:26:19.004 INFO kablam! | ^^^^^^^ Oct 10 16:26:19.004 INFO kablam! Oct 10 16:26:19.004 INFO kablam! warning: function `readNewUncachedFile` should have a snake case name such as `read_new_uncached_file` Oct 10 16:26:19.004 INFO kablam! --> src/dusty/cacheManager/mod.rs:57:5 Oct 10 16:26:19.004 INFO kablam! | Oct 10 16:26:19.004 INFO kablam! 57 | / pub fn readNewUncachedFile(filename: &str) -> (String, usize) Oct 10 16:26:19.004 INFO kablam! 58 | | { Oct 10 16:26:19.005 INFO kablam! 59 | | let mut f = File::open(filename); Oct 10 16:26:19.005 INFO kablam! 60 | | match f Oct 10 16:26:19.005 INFO kablam! ... | Oct 10 16:26:19.005 INFO kablam! 73 | | } Oct 10 16:26:19.005 INFO kablam! 74 | | } Oct 10 16:26:19.005 INFO kablam! | |_____^ Oct 10 16:26:19.005 INFO kablam! Oct 10 16:26:19.005 INFO kablam! warning: function `readText` should have a snake case name such as `read_text` Oct 10 16:26:19.005 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:5 Oct 10 16:26:19.005 INFO kablam! | Oct 10 16:26:19.005 INFO kablam! 77 | / fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 10 16:26:19.005 INFO kablam! 78 | | { Oct 10 16:26:19.005 INFO kablam! 79 | | let mut s = String::new(); Oct 10 16:26:19.005 INFO kablam! 80 | | let lenRead = readable.read_to_string(&mut s); Oct 10 16:26:19.005 INFO kablam! ... | Oct 10 16:26:19.005 INFO kablam! 94 | | } Oct 10 16:26:19.005 INFO kablam! 95 | | } Oct 10 16:26:19.005 INFO kablam! | |_____^ Oct 10 16:26:19.005 INFO kablam! Oct 10 16:26:19.005 INFO kablam! warning: variable `lenRead` should have a snake case name such as `len_read` Oct 10 16:26:19.005 INFO kablam! --> src/dusty/cacheManager/mod.rs:80:13 Oct 10 16:26:19.005 INFO kablam! | Oct 10 16:26:19.005 INFO kablam! 80 | let lenRead = readable.read_to_string(&mut s); Oct 10 16:26:19.005 INFO kablam! | ^^^^^^^ Oct 10 16:26:19.005 INFO kablam! Oct 10 16:26:19.005 INFO kablam! warning: variable `lR` should have a snake case name such as `l_r` Oct 10 16:26:19.005 INFO kablam! --> src/dusty/cacheManager/mod.rs:83:24 Oct 10 16:26:19.005 INFO kablam! | Oct 10 16:26:19.005 INFO kablam! 83 | Ok(lR) => Oct 10 16:26:19.005 INFO kablam! | ^^ Oct 10 16:26:19.005 INFO kablam! Oct 10 16:26:19.005 INFO kablam! warning: type `request` should have a camel case name such as `Request` Oct 10 16:26:19.005 INFO kablam! --> src/dusty/connection/mod.rs:13:1 Oct 10 16:26:19.005 INFO kablam! | Oct 10 16:26:19.005 INFO kablam! 13 | / pub struct request Oct 10 16:26:19.005 INFO kablam! 14 | | { Oct 10 16:26:19.005 INFO kablam! 15 | | pub filePath : String, Oct 10 16:26:19.005 INFO kablam! 16 | | pub size : usize, Oct 10 16:26:19.005 INFO kablam! 17 | | pub streamChannel : Sender Oct 10 16:26:19.005 INFO kablam! 18 | | } Oct 10 16:26:19.005 INFO kablam! | |_^ Oct 10 16:26:19.005 INFO kablam! Oct 10 16:26:19.005 INFO kablam! warning: structure field `filePath` should have a snake case name such as `file_path` Oct 10 16:26:19.005 INFO kablam! --> src/dusty/connection/mod.rs:15:5 Oct 10 16:26:19.005 INFO kablam! | Oct 10 16:26:19.005 INFO kablam! 15 | pub filePath : String, Oct 10 16:26:19.005 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.005 INFO kablam! Oct 10 16:26:19.005 INFO kablam! warning: structure field `streamChannel` should have a snake case name such as `stream_channel` Oct 10 16:26:19.005 INFO kablam! --> src/dusty/connection/mod.rs:17:5 Oct 10 16:26:19.005 INFO kablam! | Oct 10 16:26:19.005 INFO kablam! 17 | pub streamChannel : Sender Oct 10 16:26:19.005 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.005 INFO kablam! Oct 10 16:26:19.005 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 10 16:26:19.005 INFO kablam! --> src/dusty/connection/mod.rs:22:16 Oct 10 16:26:19.005 INFO kablam! | Oct 10 16:26:19.005 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 10 16:26:19.005 INFO kablam! | ^^^^^^^^ Oct 10 16:26:19.005 INFO kablam! Oct 10 16:26:19.005 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 10 16:26:19.005 INFO kablam! --> src/dusty/connection/mod.rs:22:48 Oct 10 16:26:19.005 INFO kablam! | Oct 10 16:26:19.005 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 10 16:26:19.005 INFO kablam! | ^^^^^^^^^^^^^ Oct 10 16:26:19.005 INFO kablam! Oct 10 16:26:19.005 INFO kablam! warning: type `response` should have a camel case name such as `Response` Oct 10 16:26:19.005 INFO kablam! --> src/dusty/connection/mod.rs:38:1 Oct 10 16:26:19.005 INFO kablam! | Oct 10 16:26:19.005 INFO kablam! 38 | / pub struct response Oct 10 16:26:19.005 INFO kablam! 39 | | { Oct 10 16:26:19.005 INFO kablam! 40 | | pub body : String, Oct 10 16:26:19.005 INFO kablam! 41 | | pub header : String Oct 10 16:26:19.005 INFO kablam! 42 | | } Oct 10 16:26:19.005 INFO kablam! | |_^ Oct 10 16:26:19.005 INFO kablam! Oct 10 16:26:19.005 INFO kablam! warning: type `con` should have a camel case name such as `Con` Oct 10 16:26:19.005 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 10 16:26:19.005 INFO kablam! | Oct 10 16:26:19.005 INFO kablam! 53 | / pub struct con Oct 10 16:26:19.005 INFO kablam! 54 | | { Oct 10 16:26:19.005 INFO kablam! 55 | | pub buffer: String, Oct 10 16:26:19.005 INFO kablam! 56 | | pub stream: TcpStream Oct 10 16:26:19.006 INFO kablam! 57 | | } Oct 10 16:26:19.006 INFO kablam! | |_^ Oct 10 16:26:19.006 INFO kablam! Oct 10 16:26:19.006 INFO kablam! warning: module `httpParserThread` should have a snake case name such as `http_parser_thread` Oct 10 16:26:19.006 INFO kablam! --> src/main.rs:7:5 Oct 10 16:26:19.006 INFO kablam! | Oct 10 16:26:19.006 INFO kablam! 7 | pub mod httpParserThread; Oct 10 16:26:19.006 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.006 INFO kablam! Oct 10 16:26:19.006 INFO kablam! warning: function `spawnNewParserThread` should have a snake case name such as `spawn_new_parser_thread` Oct 10 16:26:19.006 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:1 Oct 10 16:26:19.006 INFO kablam! | Oct 10 16:26:19.006 INFO kablam! 12 | / pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 10 16:26:19.006 INFO kablam! 13 | | { Oct 10 16:26:19.006 INFO kablam! 14 | | thread::spawn(move || Oct 10 16:26:19.006 INFO kablam! 15 | | { Oct 10 16:26:19.006 INFO kablam! ... | Oct 10 16:26:19.006 INFO kablam! 66 | | Oct 10 16:26:19.006 INFO kablam! 67 | | } Oct 10 16:26:19.006 INFO kablam! | |_^ Oct 10 16:26:19.006 INFO kablam! Oct 10 16:26:19.006 INFO kablam! warning: variable `streamReceiver` should have a snake case name such as `stream_receiver` Oct 10 16:26:19.006 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:29 Oct 10 16:26:19.006 INFO kablam! | Oct 10 16:26:19.006 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 10 16:26:19.006 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:19.006 INFO kablam! Oct 10 16:26:19.006 INFO kablam! warning: variable `gathererManagerChannel` should have a snake case name such as `gatherer_manager_channel` Oct 10 16:26:19.006 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:67 Oct 10 16:26:19.006 INFO kablam! | Oct 10 16:26:19.006 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 10 16:26:19.006 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.006 INFO kablam! Oct 10 16:26:19.006 INFO kablam! warning: variable `localSend` should have a snake case name such as `local_send` Oct 10 16:26:19.006 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:14 Oct 10 16:26:19.006 INFO kablam! | Oct 10 16:26:19.006 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 10 16:26:19.006 INFO kablam! | ^^^^^^^^^ Oct 10 16:26:19.006 INFO kablam! Oct 10 16:26:19.006 INFO kablam! warning: variable `localRecv` should have a snake case name such as `local_recv` Oct 10 16:26:19.006 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:25 Oct 10 16:26:19.006 INFO kablam! | Oct 10 16:26:19.006 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 10 16:26:19.006 INFO kablam! | ^^^^^^^^^ Oct 10 16:26:19.006 INFO kablam! Oct 10 16:26:19.006 INFO kablam! warning: variable `headerTemplate` should have a snake case name such as `header_template` Oct 10 16:26:19.006 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 10 16:26:19.006 INFO kablam! | Oct 10 16:26:19.006 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 10 16:26:19.006 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:19.006 INFO kablam! Oct 10 16:26:19.006 INFO kablam! warning: variable `requestCount` should have a snake case name such as `request_count` Oct 10 16:26:19.006 INFO kablam! --> src/dusty/httpParserThread/mod.rs:29:25 Oct 10 16:26:19.006 INFO kablam! | Oct 10 16:26:19.006 INFO kablam! 29 | let mut requestCount = schedule.len(); Oct 10 16:26:19.014 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 10 16:26:19.014 INFO kablam! Oct 10 16:26:19.014 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 16:26:19.014 INFO kablam! --> src/dusty/httpParserThread/mod.rs:35:25 Oct 10 16:26:19.014 INFO kablam! | Oct 10 16:26:19.014 INFO kablam! 35 | gathererManagerChannel.send(req); Oct 10 16:26:19.015 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.015 INFO kablam! | Oct 10 16:26:19.015 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 16:26:19.015 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 16:26:19.015 INFO kablam! Oct 10 16:26:19.015 INFO kablam! warning: function `spawnNewGathererThread` should have a snake case name such as `spawn_new_gatherer_thread` Oct 10 16:26:19.015 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:1 Oct 10 16:26:19.015 INFO kablam! | Oct 10 16:26:19.015 INFO kablam! 70 | / pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 10 16:26:19.015 INFO kablam! 71 | | { Oct 10 16:26:19.015 INFO kablam! 72 | | thread::spawn(move || Oct 10 16:26:19.015 INFO kablam! 73 | | { Oct 10 16:26:19.015 INFO kablam! ... | Oct 10 16:26:19.015 INFO kablam! 88 | | }); Oct 10 16:26:19.015 INFO kablam! 89 | | } Oct 10 16:26:19.015 INFO kablam! | |_^ Oct 10 16:26:19.015 INFO kablam! Oct 10 16:26:19.015 INFO kablam! warning: variable `requestReceiver` should have a snake case name such as `request_receiver` Oct 10 16:26:19.015 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:31 Oct 10 16:26:19.015 INFO kablam! | Oct 10 16:26:19.015 INFO kablam! 70 | pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 10 16:26:19.015 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 10 16:26:19.015 INFO kablam! Oct 10 16:26:19.015 INFO kablam! warning: function `createIndependentThreadPools` should have a snake case name such as `create_independent_thread_pools` Oct 10 16:26:19.015 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:1 Oct 10 16:26:19.015 INFO kablam! | Oct 10 16:26:19.015 INFO kablam! 93 | / pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 10 16:26:19.015 INFO kablam! 94 | | { Oct 10 16:26:19.015 INFO kablam! 95 | | //These are the meat and potatos of dusty Oct 10 16:26:19.015 INFO kablam! 96 | | //They are simply a vec pointing to channels Oct 10 16:26:19.015 INFO kablam! ... | Oct 10 16:26:19.015 INFO kablam! 122 | | Oct 10 16:26:19.015 INFO kablam! 123 | | } Oct 10 16:26:19.015 INFO kablam! | |_^ Oct 10 16:26:19.015 INFO kablam! Oct 10 16:26:19.015 INFO kablam! warning: variable `parserThreadPoolSize` should have a snake case name such as `parser_thread_pool_size` Oct 10 16:26:19.015 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:37 Oct 10 16:26:19.015 INFO kablam! | Oct 10 16:26:19.015 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 10 16:26:19.015 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.015 INFO kablam! Oct 10 16:26:19.015 INFO kablam! warning: variable `gathererThreadPoolSize` should have a snake case name such as `gatherer_thread_pool_size` Oct 10 16:26:19.015 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:66 Oct 10 16:26:19.015 INFO kablam! | Oct 10 16:26:19.015 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 10 16:26:19.015 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.015 INFO kablam! Oct 10 16:26:19.015 INFO kablam! warning: variable `gathererChannels` should have a snake case name such as `gatherer_channels` Oct 10 16:26:19.015 INFO kablam! --> src/dusty/httpParserThread/mod.rs:98:9 Oct 10 16:26:19.015 INFO kablam! | Oct 10 16:26:19.015 INFO kablam! 98 | let mut gathererChannels : Vec> = Vec::new(); Oct 10 16:26:19.015 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.015 INFO kablam! Oct 10 16:26:19.015 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 10 16:26:19.015 INFO kablam! --> src/dusty/httpParserThread/mod.rs:99:9 Oct 10 16:26:19.015 INFO kablam! | Oct 10 16:26:19.015 INFO kablam! 99 | let mut parserChannels : Vec> = Vec::new(); Oct 10 16:26:19.015 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.015 INFO kablam! Oct 10 16:26:19.015 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 10 16:26:19.015 INFO kablam! --> src/dusty/httpParserThread/mod.rs:110:9 Oct 10 16:26:19.015 INFO kablam! | Oct 10 16:26:19.015 INFO kablam! 110 | let gathererManager : Sender = spawnGathererManagerThread(gathererChannels); Oct 10 16:26:19.015 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 10 16:26:19.015 INFO kablam! Oct 10 16:26:19.015 INFO kablam! warning: function `spawnGathererManagerThread` should have a snake case name such as `spawn_gatherer_manager_thread` Oct 10 16:26:19.015 INFO kablam! --> src/dusty/httpParserThread/mod.rs:126:1 Oct 10 16:26:19.015 INFO kablam! | Oct 10 16:26:19.015 INFO kablam! 126 | / pub fn spawnGathererManagerThread(channels : Vec>) -> Sender Oct 10 16:26:19.015 INFO kablam! 127 | | { Oct 10 16:26:19.015 INFO kablam! 128 | | let (send, recv) = channel::(); Oct 10 16:26:19.015 INFO kablam! 129 | | thread::spawn(move || Oct 10 16:26:19.015 INFO kablam! ... | Oct 10 16:26:19.015 INFO kablam! 150 | | return send Oct 10 16:26:19.015 INFO kablam! 151 | | } Oct 10 16:26:19.015 INFO kablam! | |_^ Oct 10 16:26:19.015 INFO kablam! Oct 10 16:26:19.015 INFO kablam! warning: variable `channelIndex` should have a snake case name such as `channel_index` Oct 10 16:26:19.015 INFO kablam! --> src/dusty/httpParserThread/mod.rs:131:13 Oct 10 16:26:19.015 INFO kablam! | Oct 10 16:26:19.015 INFO kablam! 131 | let mut channelIndex : usize = 0; Oct 10 16:26:19.015 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 10 16:26:19.015 INFO kablam! Oct 10 16:26:19.016 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 16:26:19.016 INFO kablam! --> src/dusty/httpParserThread/mod.rs:141:21 Oct 10 16:26:19.016 INFO kablam! | Oct 10 16:26:19.016 INFO kablam! 141 | channels[channelIndex].send(req); Oct 10 16:26:19.016 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.016 INFO kablam! | Oct 10 16:26:19.016 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 16:26:19.016 INFO kablam! Oct 10 16:26:19.016 INFO kablam! warning: variable `parserThreadCount` should have a snake case name such as `parser_thread_count` Oct 10 16:26:19.016 INFO kablam! --> src/main.rs:23:9 Oct 10 16:26:19.016 INFO kablam! | Oct 10 16:26:19.016 INFO kablam! 23 | let parserThreadCount : usize = 16; Oct 10 16:26:19.016 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.016 INFO kablam! Oct 10 16:26:19.016 INFO kablam! warning: variable `gathererThreadCount` should have a snake case name such as `gatherer_thread_count` Oct 10 16:26:19.016 INFO kablam! --> src/main.rs:24:9 Oct 10 16:26:19.016 INFO kablam! | Oct 10 16:26:19.016 INFO kablam! 24 | let gathererThreadCount : usize = 16; Oct 10 16:26:19.016 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.016 INFO kablam! Oct 10 16:26:19.016 INFO kablam! warning: variable `sharedCache` should have a snake case name such as `shared_cache` Oct 10 16:26:19.016 INFO kablam! --> src/main.rs:27:9 Oct 10 16:26:19.016 INFO kablam! | Oct 10 16:26:19.016 INFO kablam! 27 | let sharedCache : Arc> = Arc::new(Mutex::new(cacheManager::cache::new())); Oct 10 16:26:19.016 INFO kablam! | ^^^^^^^^^^^ Oct 10 16:26:19.016 INFO kablam! Oct 10 16:26:19.016 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 10 16:26:19.016 INFO kablam! --> src/main.rs:30:10 Oct 10 16:26:19.016 INFO kablam! | Oct 10 16:26:19.016 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 10 16:26:19.016 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 16:26:19.018 INFO kablam! Oct 10 16:26:19.018 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 10 16:26:19.018 INFO kablam! --> src/main.rs:30:26 Oct 10 16:26:19.018 INFO kablam! | Oct 10 16:26:19.018 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 10 16:26:19.018 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 10 16:26:19.018 INFO kablam! Oct 10 16:26:19.018 INFO kablam! warning: variable `parserIndex` should have a snake case name such as `parser_index` Oct 10 16:26:19.018 INFO kablam! --> src/main.rs:31:9 Oct 10 16:26:19.018 INFO kablam! | Oct 10 16:26:19.018 INFO kablam! 31 | let mut parserIndex = 0; Oct 10 16:26:19.018 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 10 16:26:19.018 INFO kablam! Oct 10 16:26:19.018 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 16:26:19.018 INFO kablam! --> src/main.rs:41:25 Oct 10 16:26:19.018 INFO kablam! | Oct 10 16:26:19.018 INFO kablam! 41 | parserChannels[parserIndex].send(stream); Oct 10 16:26:19.018 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 16:26:19.018 INFO kablam! | Oct 10 16:26:19.018 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 16:26:19.018 INFO kablam! Oct 10 16:26:19.668 INFO kablam! Finished dev [optimized + debuginfo] target(s) in 1.44s Oct 10 16:26:19.668 INFO kablam! su: No module specific data is present Oct 10 16:26:20.680 INFO running `"docker" "rm" "-f" "c3141bb01b09ee37a2925d3c766beb3481497623bd69e00b87f17944e2f14ba9"` Oct 10 16:26:20.928 INFO blam! c3141bb01b09ee37a2925d3c766beb3481497623bd69e00b87f17944e2f14ba9 Oct 10 16:26:20.928 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen Oct 10 16:26:20.929 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-2/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 16:26:21.450 INFO blam! 6bc6ec613574a3483ca18222013447f474f3b319cf735895b1b1d42cecaf639b Oct 10 16:26:21.451 INFO running `"docker" "start" "-a" "6bc6ec613574a3483ca18222013447f474f3b319cf735895b1b1d42cecaf639b"` Oct 10 16:26:23.121 INFO kablam! usermod: no changes Oct 10 16:26:23.196 INFO kablam! Finished dev [optimized + debuginfo] target(s) in 0.04s Oct 10 16:26:23.196 INFO kablam! Running /target/debug/deps/dusty-2c5de1b941860013 Oct 10 16:26:23.204 INFO kablam! su: No module specific data is present Oct 10 16:26:23.204 INFO blam! Oct 10 16:26:23.204 INFO blam! running 0 tests Oct 10 16:26:23.204 INFO blam! Oct 10 16:26:23.204 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 10 16:26:23.204 INFO blam! Oct 10 16:26:24.231 INFO running `"docker" "rm" "-f" "6bc6ec613574a3483ca18222013447f474f3b319cf735895b1b1d42cecaf639b"` Oct 10 16:26:24.572 INFO blam! 6bc6ec613574a3483ca18222013447f474f3b319cf735895b1b1d42cecaf639b