Oct 26 22:33:37.410 INFO checking racer161/dusty against try#19f01b935b91481fd445b16b533d2f87661bf12e for pr-55192-2 Oct 26 22:33:37.412 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192-2/worker-7/try#19f01b935b91481fd445b16b533d2f87661bf12e:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/pr-55192-2/try#19f01b935b91481fd445b16b533d2f87661bf12e:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +19f01b935b91481fd445b16b533d2f87661bf12e-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 26 22:33:37.901 INFO blam! d93a281f901ed806545e892cab116c79801aa4ce21349b1bebc0905a21b1e393 Oct 26 22:33:37.903 INFO running `"docker" "start" "-a" "d93a281f901ed806545e892cab116c79801aa4ce21349b1bebc0905a21b1e393"` Oct 26 22:33:39.806 INFO kablam! usermod: no changes Oct 26 22:33:39.859 INFO kablam! Checking dusty v0.1.0 (/source) Oct 26 22:33:40.403 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:40.403 INFO kablam! --> src/dusty/httpParser/mod.rs:7:16 Oct 26 22:33:40.403 INFO kablam! | Oct 26 22:33:40.403 INFO kablam! 7 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:40.403 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.403 INFO kablam! | Oct 26 22:33:40.404 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 26 22:33:40.404 INFO kablam! Oct 26 22:33:40.404 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:40.404 INFO kablam! --> src/dusty/httpParser/mod.rs:9:5 Oct 26 22:33:40.404 INFO kablam! | Oct 26 22:33:40.404 INFO kablam! 9 | use std::thread; Oct 26 22:33:40.404 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.404 INFO kablam! Oct 26 22:33:40.404 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:40.404 INFO kablam! --> src/dusty/httpParser/mod.rs:12:5 Oct 26 22:33:40.404 INFO kablam! | Oct 26 22:33:40.404 INFO kablam! 12 | use std::mem; Oct 26 22:33:40.404 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.404 INFO kablam! Oct 26 22:33:40.408 INFO kablam! warning: unused import: `std::io` Oct 26 22:33:40.408 INFO kablam! --> src/dusty/pathBuilder/mod.rs:3:6 Oct 26 22:33:40.408 INFO kablam! | Oct 26 22:33:40.408 INFO kablam! 3 | use std::io; Oct 26 22:33:40.408 INFO kablam! | ^^^^^^^ Oct 26 22:33:40.408 INFO kablam! Oct 26 22:33:40.408 INFO kablam! warning: unused import: `std::fs::File` Oct 26 22:33:40.408 INFO kablam! --> src/dusty/pathBuilder/mod.rs:5:6 Oct 26 22:33:40.408 INFO kablam! | Oct 26 22:33:40.408 INFO kablam! 5 | use std::fs::File; Oct 26 22:33:40.408 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:40.408 INFO kablam! Oct 26 22:33:40.408 INFO kablam! warning: unused import: `Path` Oct 26 22:33:40.408 INFO kablam! --> src/dusty/pathBuilder/mod.rs:6:18 Oct 26 22:33:40.408 INFO kablam! | Oct 26 22:33:40.408 INFO kablam! 6 | use std::path::{Path,PathBuf}; Oct 26 22:33:40.408 INFO kablam! | ^^^^ Oct 26 22:33:40.408 INFO kablam! Oct 26 22:33:40.408 INFO kablam! warning: unused import: `std::io` Oct 26 22:33:40.408 INFO kablam! --> src/dusty/cacheManager/mod.rs:4:5 Oct 26 22:33:40.408 INFO kablam! | Oct 26 22:33:40.408 INFO kablam! 4 | use std::io; Oct 26 22:33:40.408 INFO kablam! | ^^^^^^^ Oct 26 22:33:40.408 INFO kablam! Oct 26 22:33:40.408 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:40.408 INFO kablam! --> src/dusty/connection/mod.rs:2:16 Oct 26 22:33:40.408 INFO kablam! | Oct 26 22:33:40.408 INFO kablam! 2 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:40.408 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.408 INFO kablam! Oct 26 22:33:40.408 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:40.408 INFO kablam! --> src/dusty/connection/mod.rs:6:5 Oct 26 22:33:40.408 INFO kablam! | Oct 26 22:33:40.408 INFO kablam! 6 | use std::thread; Oct 26 22:33:40.408 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.408 INFO kablam! Oct 26 22:33:40.408 INFO kablam! warning: unused import: `std::io::*` Oct 26 22:33:40.408 INFO kablam! --> src/dusty/connection/mod.rs:9:5 Oct 26 22:33:40.408 INFO kablam! | Oct 26 22:33:40.408 INFO kablam! 9 | use std::io::*; Oct 26 22:33:40.408 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:40.408 INFO kablam! Oct 26 22:33:40.408 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:40.408 INFO kablam! --> src/dusty/connection/mod.rs:10:5 Oct 26 22:33:40.408 INFO kablam! | Oct 26 22:33:40.408 INFO kablam! 10 | use std::mem; Oct 26 22:33:40.408 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.408 INFO kablam! Oct 26 22:33:40.408 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:40.408 INFO kablam! --> src/dusty/httpParserThread/mod.rs:1:16 Oct 26 22:33:40.408 INFO kablam! | Oct 26 22:33:40.408 INFO kablam! 1 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:40.409 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.409 INFO kablam! Oct 26 22:33:40.409 INFO kablam! warning: unused import: `TcpStream` Oct 26 22:33:40.409 INFO kablam! --> src/main.rs:10:29 Oct 26 22:33:40.409 INFO kablam! | Oct 26 22:33:40.409 INFO kablam! 10 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:40.409 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:40.409 INFO kablam! Oct 26 22:33:40.409 INFO kablam! warning: unused import: `std::sync::mpsc::*` Oct 26 22:33:40.409 INFO kablam! --> src/main.rs:13:5 Oct 26 22:33:40.409 INFO kablam! | Oct 26 22:33:40.409 INFO kablam! 13 | use std::sync::mpsc::*; Oct 26 22:33:40.409 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.409 INFO kablam! Oct 26 22:33:40.409 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:40.409 INFO kablam! --> src/main.rs:14:5 Oct 26 22:33:40.409 INFO kablam! | Oct 26 22:33:40.409 INFO kablam! 14 | use std::thread; Oct 26 22:33:40.409 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.409 INFO kablam! Oct 26 22:33:40.409 INFO kablam! warning: unused import: `std::io::*` Oct 26 22:33:40.409 INFO kablam! --> src/main.rs:16:5 Oct 26 22:33:40.409 INFO kablam! | Oct 26 22:33:40.409 INFO kablam! 16 | use std::io::*; Oct 26 22:33:40.409 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:40.409 INFO kablam! Oct 26 22:33:40.409 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:40.409 INFO kablam! --> src/main.rs:17:5 Oct 26 22:33:40.409 INFO kablam! | Oct 26 22:33:40.409 INFO kablam! 17 | use std::mem; Oct 26 22:33:40.409 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.409 INFO kablam! Oct 26 22:33:40.426 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:40.426 INFO kablam! --> src/dusty/httpParser/mod.rs:7:16 Oct 26 22:33:40.426 INFO kablam! | Oct 26 22:33:40.426 INFO kablam! 7 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:40.426 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.426 INFO kablam! | Oct 26 22:33:40.426 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 26 22:33:40.426 INFO kablam! Oct 26 22:33:40.426 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:40.426 INFO kablam! --> src/dusty/httpParser/mod.rs:9:5 Oct 26 22:33:40.426 INFO kablam! | Oct 26 22:33:40.426 INFO kablam! 9 | use std::thread; Oct 26 22:33:40.426 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.426 INFO kablam! Oct 26 22:33:40.426 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:40.426 INFO kablam! --> src/dusty/httpParser/mod.rs:12:5 Oct 26 22:33:40.426 INFO kablam! | Oct 26 22:33:40.426 INFO kablam! 12 | use std::mem; Oct 26 22:33:40.426 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.426 INFO kablam! Oct 26 22:33:40.426 INFO kablam! warning: unused import: `std::io` Oct 26 22:33:40.426 INFO kablam! --> src/dusty/pathBuilder/mod.rs:3:6 Oct 26 22:33:40.426 INFO kablam! | Oct 26 22:33:40.426 INFO kablam! 3 | use std::io; Oct 26 22:33:40.426 INFO kablam! | ^^^^^^^ Oct 26 22:33:40.426 INFO kablam! Oct 26 22:33:40.426 INFO kablam! warning: unused import: `std::fs::File` Oct 26 22:33:40.426 INFO kablam! --> src/dusty/pathBuilder/mod.rs:5:6 Oct 26 22:33:40.426 INFO kablam! | Oct 26 22:33:40.426 INFO kablam! 5 | use std::fs::File; Oct 26 22:33:40.426 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:40.426 INFO kablam! Oct 26 22:33:40.426 INFO kablam! warning: unused import: `Path` Oct 26 22:33:40.426 INFO kablam! --> src/dusty/pathBuilder/mod.rs:6:18 Oct 26 22:33:40.426 INFO kablam! | Oct 26 22:33:40.426 INFO kablam! 6 | use std::path::{Path,PathBuf}; Oct 26 22:33:40.426 INFO kablam! | ^^^^ Oct 26 22:33:40.426 INFO kablam! Oct 26 22:33:40.426 INFO kablam! warning: unused import: `std::io` Oct 26 22:33:40.426 INFO kablam! --> src/dusty/cacheManager/mod.rs:4:5 Oct 26 22:33:40.426 INFO kablam! | Oct 26 22:33:40.426 INFO kablam! 4 | use std::io; Oct 26 22:33:40.426 INFO kablam! | ^^^^^^^ Oct 26 22:33:40.426 INFO kablam! Oct 26 22:33:40.426 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:40.426 INFO kablam! --> src/dusty/connection/mod.rs:2:16 Oct 26 22:33:40.426 INFO kablam! | Oct 26 22:33:40.426 INFO kablam! 2 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:40.426 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.426 INFO kablam! Oct 26 22:33:40.426 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:40.426 INFO kablam! --> src/dusty/connection/mod.rs:6:5 Oct 26 22:33:40.426 INFO kablam! | Oct 26 22:33:40.426 INFO kablam! 6 | use std::thread; Oct 26 22:33:40.426 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.426 INFO kablam! Oct 26 22:33:40.426 INFO kablam! warning: unused import: `std::io::*` Oct 26 22:33:40.426 INFO kablam! --> src/dusty/connection/mod.rs:9:5 Oct 26 22:33:40.426 INFO kablam! | Oct 26 22:33:40.427 INFO kablam! 9 | use std::io::*; Oct 26 22:33:40.427 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:40.427 INFO kablam! Oct 26 22:33:40.427 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:40.427 INFO kablam! --> src/dusty/connection/mod.rs:10:5 Oct 26 22:33:40.427 INFO kablam! | Oct 26 22:33:40.427 INFO kablam! 10 | use std::mem; Oct 26 22:33:40.427 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.427 INFO kablam! Oct 26 22:33:40.427 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:40.427 INFO kablam! --> src/dusty/httpParserThread/mod.rs:1:16 Oct 26 22:33:40.427 INFO kablam! | Oct 26 22:33:40.427 INFO kablam! 1 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:40.427 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.427 INFO kablam! Oct 26 22:33:40.427 INFO kablam! warning: unused import: `TcpStream` Oct 26 22:33:40.427 INFO kablam! --> src/main.rs:10:29 Oct 26 22:33:40.427 INFO kablam! | Oct 26 22:33:40.427 INFO kablam! 10 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:40.427 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:40.427 INFO kablam! Oct 26 22:33:40.427 INFO kablam! warning: unused import: `std::sync::mpsc::*` Oct 26 22:33:40.427 INFO kablam! --> src/main.rs:13:5 Oct 26 22:33:40.427 INFO kablam! | Oct 26 22:33:40.427 INFO kablam! 13 | use std::sync::mpsc::*; Oct 26 22:33:40.427 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.427 INFO kablam! Oct 26 22:33:40.427 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:40.427 INFO kablam! --> src/main.rs:14:5 Oct 26 22:33:40.427 INFO kablam! | Oct 26 22:33:40.427 INFO kablam! 14 | use std::thread; Oct 26 22:33:40.427 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.427 INFO kablam! Oct 26 22:33:40.427 INFO kablam! warning: unused import: `std::io::*` Oct 26 22:33:40.427 INFO kablam! --> src/main.rs:16:5 Oct 26 22:33:40.427 INFO kablam! | Oct 26 22:33:40.427 INFO kablam! 16 | use std::io::*; Oct 26 22:33:40.427 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:40.427 INFO kablam! Oct 26 22:33:40.427 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:40.427 INFO kablam! --> src/main.rs:17:5 Oct 26 22:33:40.427 INFO kablam! | Oct 26 22:33:40.427 INFO kablam! 17 | use std::mem; Oct 26 22:33:40.427 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.427 INFO kablam! Oct 26 22:33:40.489 INFO kablam! warning: unreachable expression Oct 26 22:33:40.489 INFO kablam! --> src/dusty/httpParser/mod.rs:186:13 Oct 26 22:33:40.489 INFO kablam! | Oct 26 22:33:40.489 INFO kablam! 186 | return None Oct 26 22:33:40.489 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.489 INFO kablam! | Oct 26 22:33:40.489 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 26 22:33:40.489 INFO kablam! Oct 26 22:33:40.531 INFO kablam! warning: unreachable expression Oct 26 22:33:40.531 INFO kablam! --> src/dusty/httpParser/mod.rs:186:13 Oct 26 22:33:40.531 INFO kablam! | Oct 26 22:33:40.531 INFO kablam! 186 | return None Oct 26 22:33:40.531 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.531 INFO kablam! | Oct 26 22:33:40.531 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 26 22:33:40.531 INFO kablam! Oct 26 22:33:40.561 INFO kablam! warning: unused import: `std::io::prelude` Oct 26 22:33:40.561 INFO kablam! --> src/dusty/pathBuilder/mod.rs:4:6 Oct 26 22:33:40.561 INFO kablam! | Oct 26 22:33:40.561 INFO kablam! 4 | use std::io::prelude::*; Oct 26 22:33:40.561 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:40.561 INFO kablam! Oct 26 22:33:40.569 INFO kablam! warning: unused variable: `e` Oct 26 22:33:40.569 INFO kablam! --> src/dusty/httpParser/mod.rs:63:17 Oct 26 22:33:40.569 INFO kablam! | Oct 26 22:33:40.569 INFO kablam! 63 | Err(e) => println!("Error Reading to buffer in request!") Oct 26 22:33:40.569 INFO kablam! | ^ help: consider using `_e` instead Oct 26 22:33:40.569 INFO kablam! | Oct 26 22:33:40.569 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 26 22:33:40.569 INFO kablam! Oct 26 22:33:40.569 INFO kablam! warning: unused variable: `index` Oct 26 22:33:40.569 INFO kablam! --> src/dusty/httpParser/mod.rs:132:22 Oct 26 22:33:40.569 INFO kablam! | Oct 26 22:33:40.569 INFO kablam! 132 | Some(index) => Oct 26 22:33:40.569 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 26 22:33:40.569 INFO kablam! Oct 26 22:33:40.569 INFO kablam! warning: unused variable: `e` Oct 26 22:33:40.569 INFO kablam! --> src/dusty/cacheManager/mod.rs:67:21 Oct 26 22:33:40.569 INFO kablam! | Oct 26 22:33:40.569 INFO kablam! 67 | Err(e) => Oct 26 22:33:40.569 INFO kablam! | ^ help: consider using `_e` instead Oct 26 22:33:40.569 INFO kablam! Oct 26 22:33:40.570 INFO kablam! warning: unused variable: `filename` Oct 26 22:33:40.570 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:38 Oct 26 22:33:40.570 INFO kablam! | Oct 26 22:33:40.570 INFO kablam! 77 | fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 26 22:33:40.570 INFO kablam! | ^^^^^^^^ help: consider using `_filename` instead Oct 26 22:33:40.570 INFO kablam! Oct 26 22:33:40.570 INFO kablam! warning: unused variable: `headerTemplate` Oct 26 22:33:40.570 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 26 22:33:40.570 INFO kablam! | Oct 26 22:33:40.570 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 26 22:33:40.570 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_headerTemplate` instead Oct 26 22:33:40.570 INFO kablam! Oct 26 22:33:40.570 INFO kablam! warning: unused variable: `i` Oct 26 22:33:40.570 INFO kablam! --> src/dusty/httpParserThread/mod.rs:102:9 Oct 26 22:33:40.570 INFO kablam! | Oct 26 22:33:40.570 INFO kablam! 102 | for i in 0..gathererThreadPoolSize //Spawn gatherer threads Oct 26 22:33:40.570 INFO kablam! | ^ help: consider using `_i` instead Oct 26 22:33:40.570 INFO kablam! Oct 26 22:33:40.570 INFO kablam! warning: unused variable: `i` Oct 26 22:33:40.570 INFO kablam! --> src/dusty/httpParserThread/mod.rs:113:9 Oct 26 22:33:40.570 INFO kablam! | Oct 26 22:33:40.570 INFO kablam! 113 | for i in 0..parserThreadPoolSize Oct 26 22:33:40.571 INFO kablam! | ^ help: consider using `_i` instead Oct 26 22:33:40.571 INFO kablam! Oct 26 22:33:40.571 INFO kablam! warning: unused variable: `gathererManager` Oct 26 22:33:40.571 INFO kablam! --> src/main.rs:30:26 Oct 26 22:33:40.571 INFO kablam! | Oct 26 22:33:40.571 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:40.571 INFO kablam! | ^^^^^^^^^^^^^^^ help: consider using `_gathererManager` instead Oct 26 22:33:40.571 INFO kablam! Oct 26 22:33:40.599 INFO kablam! warning: variable does not need to be mutable Oct 26 22:33:40.599 INFO kablam! --> src/dusty/cacheManager/mod.rs:59:13 Oct 26 22:33:40.599 INFO kablam! | Oct 26 22:33:40.599 INFO kablam! 59 | let mut f = File::open(filename); Oct 26 22:33:40.599 INFO kablam! | ----^ Oct 26 22:33:40.599 INFO kablam! | | Oct 26 22:33:40.599 INFO kablam! | help: remove this `mut` Oct 26 22:33:40.599 INFO kablam! | Oct 26 22:33:40.600 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 26 22:33:40.600 INFO kablam! Oct 26 22:33:40.615 INFO kablam! warning: function is never used: `processHeader` Oct 26 22:33:40.615 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 26 22:33:40.615 INFO kablam! | Oct 26 22:33:40.615 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:40.615 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.615 INFO kablam! | Oct 26 22:33:40.615 INFO kablam! = note: #[warn(dead_code)] on by default Oct 26 22:33:40.615 INFO kablam! Oct 26 22:33:40.616 INFO kablam! warning: function is never used: `convertVecStrToU8` Oct 26 22:33:40.616 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 26 22:33:40.616 INFO kablam! | Oct 26 22:33:40.616 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:40.616 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.616 INFO kablam! Oct 26 22:33:40.616 INFO kablam! warning: struct is never constructed: `con` Oct 26 22:33:40.616 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 26 22:33:40.616 INFO kablam! | Oct 26 22:33:40.616 INFO kablam! 53 | pub struct con Oct 26 22:33:40.616 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.616 INFO kablam! Oct 26 22:33:40.617 INFO kablam! warning: method is never used: `new` Oct 26 22:33:40.617 INFO kablam! --> src/dusty/connection/mod.rs:61:5 Oct 26 22:33:40.617 INFO kablam! | Oct 26 22:33:40.617 INFO kablam! 61 | pub fn new(buffer : String, stream : TcpStream) -> con Oct 26 22:33:40.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.617 INFO kablam! Oct 26 22:33:40.617 INFO kablam! warning: module `httpParser` should have a snake case name such as `http_parser` Oct 26 22:33:40.617 INFO kablam! --> src/main.rs:3:5 Oct 26 22:33:40.618 INFO kablam! | Oct 26 22:33:40.618 INFO kablam! 3 | pub mod httpParser; Oct 26 22:33:40.618 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.618 INFO kablam! | Oct 26 22:33:40.618 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 26 22:33:40.618 INFO kablam! Oct 26 22:33:40.618 INFO kablam! warning: function `createRequestSchedule` should have a snake case name such as `create_request_schedule` Oct 26 22:33:40.618 INFO kablam! --> src/dusty/httpParser/mod.rs:18:1 Oct 26 22:33:40.618 INFO kablam! | Oct 26 22:33:40.618 INFO kablam! 18 | / pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 26 22:33:40.618 INFO kablam! 19 | | { Oct 26 22:33:40.618 INFO kablam! 20 | | let mut schedule : Vec = Vec::new(); Oct 26 22:33:40.619 INFO kablam! 21 | | Oct 26 22:33:40.619 INFO kablam! ... | Oct 26 22:33:40.619 INFO kablam! 66 | | return (schedule,String::from(" ")); Oct 26 22:33:40.619 INFO kablam! 67 | | } Oct 26 22:33:40.619 INFO kablam! | |_^ Oct 26 22:33:40.619 INFO kablam! Oct 26 22:33:40.619 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:40.619 INFO kablam! --> src/dusty/httpParser/mod.rs:18:51 Oct 26 22:33:40.619 INFO kablam! | Oct 26 22:33:40.619 INFO kablam! 18 | pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 26 22:33:40.619 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:40.619 INFO kablam! Oct 26 22:33:40.619 INFO kablam! warning: variable `lineBuffer` should have a snake case name such as `line_buffer` Oct 26 22:33:40.620 INFO kablam! --> src/dusty/httpParser/mod.rs:25:9 Oct 26 22:33:40.620 INFO kablam! | Oct 26 22:33:40.620 INFO kablam! 25 | let mut lineBuffer = String::with_capacity(512); Oct 26 22:33:40.620 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.620 INFO kablam! Oct 26 22:33:40.620 INFO kablam! warning: variable `newRequest` should have a snake case name such as `new_request` Oct 26 22:33:40.620 INFO kablam! --> src/dusty/httpParser/mod.rs:44:34 Oct 26 22:33:40.620 INFO kablam! | Oct 26 22:33:40.620 INFO kablam! 44 | Some(newRequest) => Oct 26 22:33:40.620 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:40.620 INFO kablam! Oct 26 22:33:40.620 INFO kablam! warning: function `processHeader` should have a snake case name such as `process_header` Oct 26 22:33:40.621 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 26 22:33:40.621 INFO kablam! | Oct 26 22:33:40.621 INFO kablam! 70 | / fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:40.621 INFO kablam! 71 | | { Oct 26 22:33:40.621 INFO kablam! 72 | | println!("Header : {}", &header[0..contentStart]); Oct 26 22:33:40.621 INFO kablam! 73 | | println!("Content : {}",&header[contentStart+1..header.len()]); Oct 26 22:33:40.621 INFO kablam! 74 | | println!(); Oct 26 22:33:40.621 INFO kablam! 75 | | } Oct 26 22:33:40.621 INFO kablam! | |_^ Oct 26 22:33:40.621 INFO kablam! Oct 26 22:33:40.621 INFO kablam! warning: variable `contentStart` should have a snake case name such as `content_start` Oct 26 22:33:40.621 INFO kablam! --> src/dusty/httpParser/mod.rs:70:32 Oct 26 22:33:40.621 INFO kablam! | Oct 26 22:33:40.621 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:40.621 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:40.621 INFO kablam! Oct 26 22:33:40.622 INFO kablam! warning: function `processFileRequest` should have a snake case name such as `process_file_request` Oct 26 22:33:40.622 INFO kablam! --> src/dusty/httpParser/mod.rs:79:1 Oct 26 22:33:40.622 INFO kablam! | Oct 26 22:33:40.622 INFO kablam! 79 | / pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 26 22:33:40.622 INFO kablam! 80 | | { Oct 26 22:33:40.622 INFO kablam! 81 | | match cache.lock() Oct 26 22:33:40.622 INFO kablam! 82 | | { Oct 26 22:33:40.622 INFO kablam! ... | Oct 26 22:33:40.622 INFO kablam! 117 | | } Oct 26 22:33:40.622 INFO kablam! 118 | | } Oct 26 22:33:40.622 INFO kablam! | |_^ Oct 26 22:33:40.622 INFO kablam! Oct 26 22:33:40.623 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.623 INFO kablam! --> src/dusty/httpParser/mod.rs:79:31 Oct 26 22:33:40.623 INFO kablam! | Oct 26 22:33:40.623 INFO kablam! 79 | pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 26 22:33:40.623 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.623 INFO kablam! Oct 26 22:33:40.623 INFO kablam! warning: variable `fileString` should have a snake case name such as `file_string` Oct 26 22:33:40.623 INFO kablam! --> src/dusty/httpParser/mod.rs:89:26 Oct 26 22:33:40.623 INFO kablam! | Oct 26 22:33:40.623 INFO kablam! 89 | let (fileString, size) = cacheManager::readNewUncachedFile(&filePath); Oct 26 22:33:40.623 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:40.623 INFO kablam! Oct 26 22:33:40.624 INFO kablam! warning: function `processRequestLine` should have a snake case name such as `process_request_line` Oct 26 22:33:40.624 INFO kablam! --> src/dusty/httpParser/mod.rs:120:1 Oct 26 22:33:40.624 INFO kablam! | Oct 26 22:33:40.624 INFO kablam! 120 | / fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 26 22:33:40.624 INFO kablam! 121 | | { Oct 26 22:33:40.624 INFO kablam! 122 | | if line == "\r\n" Oct 26 22:33:40.624 INFO kablam! 123 | | { Oct 26 22:33:40.624 INFO kablam! ... | Oct 26 22:33:40.624 INFO kablam! 188 | | } Oct 26 22:33:40.624 INFO kablam! 189 | | } Oct 26 22:33:40.624 INFO kablam! | |_^ Oct 26 22:33:40.624 INFO kablam! Oct 26 22:33:40.624 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:40.624 INFO kablam! --> src/dusty/httpParser/mod.rs:120:36 Oct 26 22:33:40.625 INFO kablam! | Oct 26 22:33:40.625 INFO kablam! 120 | fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 26 22:33:40.625 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:40.625 INFO kablam! Oct 26 22:33:40.625 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 26 22:33:40.625 INFO kablam! --> src/dusty/httpParser/mod.rs:142:29 Oct 26 22:33:40.625 INFO kablam! | Oct 26 22:33:40.625 INFO kablam! 142 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 26 22:33:40.625 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.626 INFO kablam! Oct 26 22:33:40.626 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.626 INFO kablam! --> src/dusty/httpParser/mod.rs:145:33 Oct 26 22:33:40.626 INFO kablam! | Oct 26 22:33:40.626 INFO kablam! 145 | let filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 26 22:33:40.626 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.626 INFO kablam! Oct 26 22:33:40.626 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 26 22:33:40.626 INFO kablam! --> src/dusty/httpParser/mod.rs:157:33 Oct 26 22:33:40.626 INFO kablam! | Oct 26 22:33:40.626 INFO kablam! 157 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 26 22:33:40.626 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.627 INFO kablam! Oct 26 22:33:40.627 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.627 INFO kablam! --> src/dusty/httpParser/mod.rs:159:37 Oct 26 22:33:40.627 INFO kablam! | Oct 26 22:33:40.627 INFO kablam! 159 | let mut filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 26 22:33:40.627 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:40.627 INFO kablam! Oct 26 22:33:40.627 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.627 INFO kablam! --> src/dusty/httpParser/mod.rs:169:33 Oct 26 22:33:40.627 INFO kablam! | Oct 26 22:33:40.627 INFO kablam! 169 | let mut filePath = pathBuilder::returnFullPath(&line); Oct 26 22:33:40.627 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:40.627 INFO kablam! Oct 26 22:33:40.628 INFO kablam! warning: function `convertVecStrToU8` should have a snake case name such as `convert_vec_str_to_u8` Oct 26 22:33:40.628 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 26 22:33:40.628 INFO kablam! | Oct 26 22:33:40.628 INFO kablam! 196 | / fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:40.628 INFO kablam! 197 | | { Oct 26 22:33:40.628 INFO kablam! 198 | | let mut str_as_u8 : Vec = Vec::new(); Oct 26 22:33:40.628 INFO kablam! 199 | | for res in responseBuffer Oct 26 22:33:40.628 INFO kablam! ... | Oct 26 22:33:40.628 INFO kablam! 203 | | str_as_u8 Oct 26 22:33:40.628 INFO kablam! 204 | | } Oct 26 22:33:40.628 INFO kablam! | |_^ Oct 26 22:33:40.628 INFO kablam! Oct 26 22:33:40.628 INFO kablam! warning: variable `responseBuffer` should have a snake case name such as `response_buffer` Oct 26 22:33:40.628 INFO kablam! --> src/dusty/httpParser/mod.rs:196:22 Oct 26 22:33:40.628 INFO kablam! | Oct 26 22:33:40.628 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:40.628 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.629 INFO kablam! Oct 26 22:33:40.629 INFO kablam! warning: module `pathBuilder` should have a snake case name such as `path_builder` Oct 26 22:33:40.629 INFO kablam! --> src/main.rs:4:5 Oct 26 22:33:40.629 INFO kablam! | Oct 26 22:33:40.629 INFO kablam! 4 | pub mod pathBuilder; Oct 26 22:33:40.629 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.629 INFO kablam! Oct 26 22:33:40.630 INFO kablam! warning: function `returnFullPath` should have a snake case name such as `return_full_path` Oct 26 22:33:40.630 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:1 Oct 26 22:33:40.630 INFO kablam! | Oct 26 22:33:40.630 INFO kablam! 9 | / pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 26 22:33:40.630 INFO kablam! 10 | | { Oct 26 22:33:40.630 INFO kablam! 11 | | match current_dir().unwrap().to_str() Oct 26 22:33:40.630 INFO kablam! 12 | | { Oct 26 22:33:40.630 INFO kablam! ... | Oct 26 22:33:40.630 INFO kablam! 38 | | Oct 26 22:33:40.630 INFO kablam! 39 | | } Oct 26 22:33:40.630 INFO kablam! | |_^ Oct 26 22:33:40.630 INFO kablam! Oct 26 22:33:40.630 INFO kablam! warning: variable `localPath` should have a snake case name such as `local_path` Oct 26 22:33:40.630 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:27 Oct 26 22:33:40.631 INFO kablam! | Oct 26 22:33:40.631 INFO kablam! 9 | pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 26 22:33:40.631 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:40.631 INFO kablam! Oct 26 22:33:40.631 INFO kablam! warning: variable `tempPath` should have a snake case name such as `temp_path` Oct 26 22:33:40.631 INFO kablam! --> src/dusty/pathBuilder/mod.rs:16:17 Oct 26 22:33:40.631 INFO kablam! | Oct 26 22:33:40.631 INFO kablam! 16 | let mut tempPath = PathBuf::new(); Oct 26 22:33:40.631 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:40.631 INFO kablam! Oct 26 22:33:40.631 INFO kablam! warning: variable `newPath` should have a snake case name such as `new_path` Oct 26 22:33:40.631 INFO kablam! --> src/dusty/pathBuilder/mod.rs:19:17 Oct 26 22:33:40.632 INFO kablam! | Oct 26 22:33:40.632 INFO kablam! 19 | let newPath : Vec<&str> = localPath.split("/").collect(); Oct 26 22:33:40.632 INFO kablam! | ^^^^^^^ Oct 26 22:33:40.632 INFO kablam! Oct 26 22:33:40.632 INFO kablam! warning: variable `finalPath` should have a snake case name such as `final_path` Oct 26 22:33:40.632 INFO kablam! --> src/dusty/pathBuilder/mod.rs:27:22 Oct 26 22:33:40.632 INFO kablam! | Oct 26 22:33:40.632 INFO kablam! 27 | Some(finalPath) => return finalPath.to_string(), Oct 26 22:33:40.632 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:40.632 INFO kablam! Oct 26 22:33:40.634 INFO kablam! warning: module `cacheManager` should have a snake case name such as `cache_manager` Oct 26 22:33:40.634 INFO kablam! --> src/main.rs:5:5 Oct 26 22:33:40.634 INFO kablam! | Oct 26 22:33:40.634 INFO kablam! 5 | pub mod cacheManager; Oct 26 22:33:40.634 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.634 INFO kablam! Oct 26 22:33:40.634 INFO kablam! warning: type `cache` should have a camel case name such as `Cache` Oct 26 22:33:40.634 INFO kablam! --> src/dusty/cacheManager/mod.rs:8:1 Oct 26 22:33:40.634 INFO kablam! | Oct 26 22:33:40.634 INFO kablam! 8 | / pub struct cache Oct 26 22:33:40.634 INFO kablam! 9 | | { Oct 26 22:33:40.634 INFO kablam! 10 | | c : HashMap, Oct 26 22:33:40.634 INFO kablam! 11 | | fileSize : HashMap Oct 26 22:33:40.634 INFO kablam! 12 | | } Oct 26 22:33:40.634 INFO kablam! | |_^ Oct 26 22:33:40.634 INFO kablam! | Oct 26 22:33:40.634 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 26 22:33:40.634 INFO kablam! Oct 26 22:33:40.634 INFO kablam! warning: structure field `fileSize` should have a snake case name such as `file_size` Oct 26 22:33:40.634 INFO kablam! --> src/dusty/cacheManager/mod.rs:11:5 Oct 26 22:33:40.634 INFO kablam! | Oct 26 22:33:40.634 INFO kablam! 11 | fileSize : HashMap Oct 26 22:33:40.634 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.634 INFO kablam! Oct 26 22:33:40.634 INFO kablam! warning: method `checkSize` should have a snake case name such as `check_size` Oct 26 22:33:40.634 INFO kablam! --> src/dusty/cacheManager/mod.rs:37:5 Oct 26 22:33:40.634 INFO kablam! | Oct 26 22:33:40.634 INFO kablam! 37 | / pub fn checkSize(&mut self, path : &str) -> usize Oct 26 22:33:40.635 INFO kablam! 38 | | { Oct 26 22:33:40.635 INFO kablam! 39 | | match self.fileSize.contains_key(path) Oct 26 22:33:40.635 INFO kablam! 40 | | { Oct 26 22:33:40.635 INFO kablam! ... | Oct 26 22:33:40.635 INFO kablam! 43 | | } Oct 26 22:33:40.635 INFO kablam! 44 | | } Oct 26 22:33:40.635 INFO kablam! | |_____^ Oct 26 22:33:40.635 INFO kablam! Oct 26 22:33:40.639 INFO kablam! warning: unused import: `std::io::prelude` Oct 26 22:33:40.639 INFO kablam! --> src/dusty/pathBuilder/mod.rs:4:6 Oct 26 22:33:40.639 INFO kablam! | Oct 26 22:33:40.639 INFO kablam! 4 | use std::io::prelude::*; Oct 26 22:33:40.639 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:40.639 INFO kablam! Oct 26 22:33:40.639 INFO kablam! warning: method `insertNewCacheItem` should have a snake case name such as `insert_new_cache_item` Oct 26 22:33:40.639 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:5 Oct 26 22:33:40.639 INFO kablam! | Oct 26 22:33:40.639 INFO kablam! 47 | / pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 26 22:33:40.639 INFO kablam! 48 | | { Oct 26 22:33:40.639 INFO kablam! 49 | | self.c.insert(path.to_string(),FileStr.clone()); Oct 26 22:33:40.639 INFO kablam! 50 | | self.fileSize.insert(path.to_string(),FileStr.len()); Oct 26 22:33:40.639 INFO kablam! 51 | | FileStr.len() Oct 26 22:33:40.639 INFO kablam! 52 | | } Oct 26 22:33:40.639 INFO kablam! | |_____^ Oct 26 22:33:40.639 INFO kablam! Oct 26 22:33:40.639 INFO kablam! warning: variable `FileStr` should have a snake case name such as `file_str` Oct 26 22:33:40.639 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:56 Oct 26 22:33:40.639 INFO kablam! | Oct 26 22:33:40.639 INFO kablam! 47 | pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 26 22:33:40.639 INFO kablam! | ^^^^^^^ Oct 26 22:33:40.639 INFO kablam! Oct 26 22:33:40.639 INFO kablam! warning: function `readNewUncachedFile` should have a snake case name such as `read_new_uncached_file` Oct 26 22:33:40.639 INFO kablam! --> src/dusty/cacheManager/mod.rs:57:5 Oct 26 22:33:40.639 INFO kablam! | Oct 26 22:33:40.639 INFO kablam! 57 | / pub fn readNewUncachedFile(filename: &str) -> (String, usize) Oct 26 22:33:40.639 INFO kablam! 58 | | { Oct 26 22:33:40.639 INFO kablam! 59 | | let mut f = File::open(filename); Oct 26 22:33:40.639 INFO kablam! 60 | | match f Oct 26 22:33:40.639 INFO kablam! ... | Oct 26 22:33:40.639 INFO kablam! 73 | | } Oct 26 22:33:40.639 INFO kablam! 74 | | } Oct 26 22:33:40.639 INFO kablam! | |_____^ Oct 26 22:33:40.639 INFO kablam! Oct 26 22:33:40.639 INFO kablam! warning: function `readText` should have a snake case name such as `read_text` Oct 26 22:33:40.639 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:5 Oct 26 22:33:40.639 INFO kablam! | Oct 26 22:33:40.639 INFO kablam! 77 | / fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 26 22:33:40.639 INFO kablam! 78 | | { Oct 26 22:33:40.639 INFO kablam! 79 | | let mut s = String::new(); Oct 26 22:33:40.639 INFO kablam! 80 | | let lenRead = readable.read_to_string(&mut s); Oct 26 22:33:40.639 INFO kablam! ... | Oct 26 22:33:40.639 INFO kablam! 94 | | } Oct 26 22:33:40.639 INFO kablam! 95 | | } Oct 26 22:33:40.639 INFO kablam! | |_____^ Oct 26 22:33:40.639 INFO kablam! Oct 26 22:33:40.639 INFO kablam! warning: variable `lenRead` should have a snake case name such as `len_read` Oct 26 22:33:40.640 INFO kablam! --> src/dusty/cacheManager/mod.rs:80:13 Oct 26 22:33:40.640 INFO kablam! | Oct 26 22:33:40.640 INFO kablam! 80 | let lenRead = readable.read_to_string(&mut s); Oct 26 22:33:40.640 INFO kablam! | ^^^^^^^ Oct 26 22:33:40.640 INFO kablam! Oct 26 22:33:40.640 INFO kablam! warning: variable `lR` should have a snake case name such as `l_r` Oct 26 22:33:40.640 INFO kablam! --> src/dusty/cacheManager/mod.rs:83:24 Oct 26 22:33:40.640 INFO kablam! | Oct 26 22:33:40.640 INFO kablam! 83 | Ok(lR) => Oct 26 22:33:40.640 INFO kablam! | ^^ Oct 26 22:33:40.640 INFO kablam! Oct 26 22:33:40.640 INFO kablam! warning: type `request` should have a camel case name such as `Request` Oct 26 22:33:40.640 INFO kablam! --> src/dusty/connection/mod.rs:13:1 Oct 26 22:33:40.640 INFO kablam! | Oct 26 22:33:40.640 INFO kablam! 13 | / pub struct request Oct 26 22:33:40.640 INFO kablam! 14 | | { Oct 26 22:33:40.640 INFO kablam! 15 | | pub filePath : String, Oct 26 22:33:40.640 INFO kablam! 16 | | pub size : usize, Oct 26 22:33:40.640 INFO kablam! 17 | | pub streamChannel : Sender Oct 26 22:33:40.640 INFO kablam! 18 | | } Oct 26 22:33:40.640 INFO kablam! | |_^ Oct 26 22:33:40.640 INFO kablam! Oct 26 22:33:40.640 INFO kablam! warning: structure field `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.640 INFO kablam! --> src/dusty/connection/mod.rs:15:5 Oct 26 22:33:40.640 INFO kablam! | Oct 26 22:33:40.640 INFO kablam! 15 | pub filePath : String, Oct 26 22:33:40.640 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.640 INFO kablam! Oct 26 22:33:40.640 INFO kablam! warning: structure field `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:40.640 INFO kablam! --> src/dusty/connection/mod.rs:17:5 Oct 26 22:33:40.640 INFO kablam! | Oct 26 22:33:40.640 INFO kablam! 17 | pub streamChannel : Sender Oct 26 22:33:40.640 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.640 INFO kablam! Oct 26 22:33:40.640 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.640 INFO kablam! --> src/dusty/connection/mod.rs:22:16 Oct 26 22:33:40.640 INFO kablam! | Oct 26 22:33:40.640 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 26 22:33:40.640 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.640 INFO kablam! Oct 26 22:33:40.640 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:40.640 INFO kablam! --> src/dusty/connection/mod.rs:22:48 Oct 26 22:33:40.640 INFO kablam! | Oct 26 22:33:40.640 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 26 22:33:40.640 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:40.641 INFO kablam! Oct 26 22:33:40.643 INFO kablam! warning: type `response` should have a camel case name such as `Response` Oct 26 22:33:40.643 INFO kablam! --> src/dusty/connection/mod.rs:38:1 Oct 26 22:33:40.643 INFO kablam! | Oct 26 22:33:40.643 INFO kablam! 38 | / pub struct response Oct 26 22:33:40.643 INFO kablam! 39 | | { Oct 26 22:33:40.643 INFO kablam! 40 | | pub body : String, Oct 26 22:33:40.643 INFO kablam! 41 | | pub header : String Oct 26 22:33:40.643 INFO kablam! 42 | | } Oct 26 22:33:40.643 INFO kablam! | |_^ Oct 26 22:33:40.643 INFO kablam! Oct 26 22:33:40.643 INFO kablam! warning: type `con` should have a camel case name such as `Con` Oct 26 22:33:40.643 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 26 22:33:40.643 INFO kablam! | Oct 26 22:33:40.643 INFO kablam! 53 | / pub struct con Oct 26 22:33:40.643 INFO kablam! 54 | | { Oct 26 22:33:40.643 INFO kablam! 55 | | pub buffer: String, Oct 26 22:33:40.643 INFO kablam! 56 | | pub stream: TcpStream Oct 26 22:33:40.643 INFO kablam! 57 | | } Oct 26 22:33:40.643 INFO kablam! | |_^ Oct 26 22:33:40.643 INFO kablam! Oct 26 22:33:40.643 INFO kablam! warning: module `httpParserThread` should have a snake case name such as `http_parser_thread` Oct 26 22:33:40.643 INFO kablam! --> src/main.rs:7:5 Oct 26 22:33:40.643 INFO kablam! | Oct 26 22:33:40.643 INFO kablam! 7 | pub mod httpParserThread; Oct 26 22:33:40.643 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.643 INFO kablam! Oct 26 22:33:40.643 INFO kablam! warning: function `spawnNewParserThread` should have a snake case name such as `spawn_new_parser_thread` Oct 26 22:33:40.643 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:1 Oct 26 22:33:40.643 INFO kablam! | Oct 26 22:33:40.643 INFO kablam! 12 | / pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:40.643 INFO kablam! 13 | | { Oct 26 22:33:40.643 INFO kablam! 14 | | thread::spawn(move || Oct 26 22:33:40.643 INFO kablam! 15 | | { Oct 26 22:33:40.643 INFO kablam! ... | Oct 26 22:33:40.643 INFO kablam! 66 | | Oct 26 22:33:40.643 INFO kablam! 67 | | } Oct 26 22:33:40.643 INFO kablam! | |_^ Oct 26 22:33:40.643 INFO kablam! Oct 26 22:33:40.643 INFO kablam! warning: variable `streamReceiver` should have a snake case name such as `stream_receiver` Oct 26 22:33:40.643 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:29 Oct 26 22:33:40.643 INFO kablam! | Oct 26 22:33:40.643 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:40.643 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.643 INFO kablam! Oct 26 22:33:40.643 INFO kablam! warning: variable `gathererManagerChannel` should have a snake case name such as `gatherer_manager_channel` Oct 26 22:33:40.643 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:67 Oct 26 22:33:40.643 INFO kablam! | Oct 26 22:33:40.643 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:40.643 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.643 INFO kablam! Oct 26 22:33:40.643 INFO kablam! warning: variable `localSend` should have a snake case name such as `local_send` Oct 26 22:33:40.643 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:14 Oct 26 22:33:40.643 INFO kablam! | Oct 26 22:33:40.643 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 26 22:33:40.643 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:40.643 INFO kablam! Oct 26 22:33:40.643 INFO kablam! warning: variable `localRecv` should have a snake case name such as `local_recv` Oct 26 22:33:40.643 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:25 Oct 26 22:33:40.643 INFO kablam! | Oct 26 22:33:40.643 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 26 22:33:40.643 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:40.644 INFO kablam! Oct 26 22:33:40.644 INFO kablam! warning: variable `headerTemplate` should have a snake case name such as `header_template` Oct 26 22:33:40.644 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 26 22:33:40.644 INFO kablam! | Oct 26 22:33:40.644 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 26 22:33:40.644 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.644 INFO kablam! Oct 26 22:33:40.644 INFO kablam! warning: variable `requestCount` should have a snake case name such as `request_count` Oct 26 22:33:40.644 INFO kablam! --> src/dusty/httpParserThread/mod.rs:29:25 Oct 26 22:33:40.644 INFO kablam! | Oct 26 22:33:40.644 INFO kablam! 29 | let mut requestCount = schedule.len(); Oct 26 22:33:40.644 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:40.644 INFO kablam! Oct 26 22:33:40.644 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:40.644 INFO kablam! --> src/dusty/httpParserThread/mod.rs:35:25 Oct 26 22:33:40.644 INFO kablam! | Oct 26 22:33:40.644 INFO kablam! 35 | gathererManagerChannel.send(req); Oct 26 22:33:40.644 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.644 INFO kablam! | Oct 26 22:33:40.644 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 26 22:33:40.644 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:40.644 INFO kablam! Oct 26 22:33:40.644 INFO kablam! warning: function `spawnNewGathererThread` should have a snake case name such as `spawn_new_gatherer_thread` Oct 26 22:33:40.644 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:1 Oct 26 22:33:40.644 INFO kablam! | Oct 26 22:33:40.644 INFO kablam! 70 | / pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 26 22:33:40.644 INFO kablam! 71 | | { Oct 26 22:33:40.644 INFO kablam! 72 | | thread::spawn(move || Oct 26 22:33:40.644 INFO kablam! 73 | | { Oct 26 22:33:40.644 INFO kablam! ... | Oct 26 22:33:40.644 INFO kablam! 88 | | }); Oct 26 22:33:40.644 INFO kablam! 89 | | } Oct 26 22:33:40.644 INFO kablam! | |_^ Oct 26 22:33:40.644 INFO kablam! Oct 26 22:33:40.644 INFO kablam! warning: variable `requestReceiver` should have a snake case name such as `request_receiver` Oct 26 22:33:40.644 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:31 Oct 26 22:33:40.644 INFO kablam! | Oct 26 22:33:40.644 INFO kablam! 70 | pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 26 22:33:40.644 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:40.644 INFO kablam! Oct 26 22:33:40.644 INFO kablam! warning: function `createIndependentThreadPools` should have a snake case name such as `create_independent_thread_pools` Oct 26 22:33:40.644 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:1 Oct 26 22:33:40.644 INFO kablam! | Oct 26 22:33:40.644 INFO kablam! 93 | / pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:40.644 INFO kablam! 94 | | { Oct 26 22:33:40.644 INFO kablam! 95 | | //These are the meat and potatos of dusty Oct 26 22:33:40.644 INFO kablam! 96 | | //They are simply a vec pointing to channels Oct 26 22:33:40.644 INFO kablam! ... | Oct 26 22:33:40.644 INFO kablam! 122 | | Oct 26 22:33:40.644 INFO kablam! 123 | | } Oct 26 22:33:40.644 INFO kablam! | |_^ Oct 26 22:33:40.644 INFO kablam! Oct 26 22:33:40.645 INFO kablam! warning: variable `parserThreadPoolSize` should have a snake case name such as `parser_thread_pool_size` Oct 26 22:33:40.645 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:37 Oct 26 22:33:40.645 INFO kablam! | Oct 26 22:33:40.645 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:40.645 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.645 INFO kablam! Oct 26 22:33:40.645 INFO kablam! warning: variable `gathererThreadPoolSize` should have a snake case name such as `gatherer_thread_pool_size` Oct 26 22:33:40.645 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:66 Oct 26 22:33:40.645 INFO kablam! | Oct 26 22:33:40.645 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:40.645 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.645 INFO kablam! Oct 26 22:33:40.645 INFO kablam! warning: variable `gathererChannels` should have a snake case name such as `gatherer_channels` Oct 26 22:33:40.645 INFO kablam! --> src/dusty/httpParserThread/mod.rs:98:9 Oct 26 22:33:40.645 INFO kablam! | Oct 26 22:33:40.645 INFO kablam! 98 | let mut gathererChannels : Vec> = Vec::new(); Oct 26 22:33:40.645 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.645 INFO kablam! Oct 26 22:33:40.645 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 26 22:33:40.645 INFO kablam! --> src/dusty/httpParserThread/mod.rs:99:9 Oct 26 22:33:40.645 INFO kablam! | Oct 26 22:33:40.645 INFO kablam! 99 | let mut parserChannels : Vec> = Vec::new(); Oct 26 22:33:40.645 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.645 INFO kablam! Oct 26 22:33:40.645 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 26 22:33:40.645 INFO kablam! --> src/dusty/httpParserThread/mod.rs:110:9 Oct 26 22:33:40.645 INFO kablam! | Oct 26 22:33:40.645 INFO kablam! 110 | let gathererManager : Sender = spawnGathererManagerThread(gathererChannels); Oct 26 22:33:40.645 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:40.645 INFO kablam! Oct 26 22:33:40.645 INFO kablam! warning: function `spawnGathererManagerThread` should have a snake case name such as `spawn_gatherer_manager_thread` Oct 26 22:33:40.645 INFO kablam! --> src/dusty/httpParserThread/mod.rs:126:1 Oct 26 22:33:40.645 INFO kablam! | Oct 26 22:33:40.645 INFO kablam! 126 | / pub fn spawnGathererManagerThread(channels : Vec>) -> Sender Oct 26 22:33:40.645 INFO kablam! 127 | | { Oct 26 22:33:40.645 INFO kablam! 128 | | let (send, recv) = channel::(); Oct 26 22:33:40.645 INFO kablam! 129 | | thread::spawn(move || Oct 26 22:33:40.645 INFO kablam! ... | Oct 26 22:33:40.645 INFO kablam! 150 | | return send Oct 26 22:33:40.645 INFO kablam! 151 | | } Oct 26 22:33:40.645 INFO kablam! | |_^ Oct 26 22:33:40.645 INFO kablam! Oct 26 22:33:40.645 INFO kablam! warning: variable `channelIndex` should have a snake case name such as `channel_index` Oct 26 22:33:40.645 INFO kablam! --> src/dusty/httpParserThread/mod.rs:131:13 Oct 26 22:33:40.645 INFO kablam! | Oct 26 22:33:40.645 INFO kablam! 131 | let mut channelIndex : usize = 0; Oct 26 22:33:40.645 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:40.645 INFO kablam! Oct 26 22:33:40.645 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:40.645 INFO kablam! --> src/dusty/httpParserThread/mod.rs:141:21 Oct 26 22:33:40.645 INFO kablam! | Oct 26 22:33:40.645 INFO kablam! 141 | channels[channelIndex].send(req); Oct 26 22:33:40.645 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.645 INFO kablam! | Oct 26 22:33:40.645 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:40.646 INFO kablam! Oct 26 22:33:40.646 INFO kablam! warning: variable `parserThreadCount` should have a snake case name such as `parser_thread_count` Oct 26 22:33:40.646 INFO kablam! --> src/main.rs:23:9 Oct 26 22:33:40.646 INFO kablam! | Oct 26 22:33:40.646 INFO kablam! 23 | let parserThreadCount : usize = 16; Oct 26 22:33:40.646 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.646 INFO kablam! Oct 26 22:33:40.646 INFO kablam! warning: variable `gathererThreadCount` should have a snake case name such as `gatherer_thread_count` Oct 26 22:33:40.646 INFO kablam! --> src/main.rs:24:9 Oct 26 22:33:40.646 INFO kablam! | Oct 26 22:33:40.646 INFO kablam! 24 | let gathererThreadCount : usize = 16; Oct 26 22:33:40.646 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.646 INFO kablam! Oct 26 22:33:40.651 INFO kablam! warning: variable `sharedCache` should have a snake case name such as `shared_cache` Oct 26 22:33:40.651 INFO kablam! --> src/main.rs:27:9 Oct 26 22:33:40.651 INFO kablam! | Oct 26 22:33:40.651 INFO kablam! 27 | let sharedCache : Arc> = Arc::new(Mutex::new(cacheManager::cache::new())); Oct 26 22:33:40.651 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.651 INFO kablam! Oct 26 22:33:40.651 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 26 22:33:40.651 INFO kablam! --> src/main.rs:30:10 Oct 26 22:33:40.651 INFO kablam! | Oct 26 22:33:40.651 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:40.651 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.651 INFO kablam! Oct 26 22:33:40.651 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 26 22:33:40.651 INFO kablam! --> src/main.rs:30:26 Oct 26 22:33:40.651 INFO kablam! | Oct 26 22:33:40.651 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:40.651 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:40.651 INFO kablam! Oct 26 22:33:40.651 INFO kablam! warning: variable `parserIndex` should have a snake case name such as `parser_index` Oct 26 22:33:40.651 INFO kablam! --> src/main.rs:31:9 Oct 26 22:33:40.651 INFO kablam! | Oct 26 22:33:40.651 INFO kablam! 31 | let mut parserIndex = 0; Oct 26 22:33:40.651 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:40.651 INFO kablam! Oct 26 22:33:40.651 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:40.651 INFO kablam! --> src/main.rs:41:25 Oct 26 22:33:40.651 INFO kablam! | Oct 26 22:33:40.651 INFO kablam! 41 | parserChannels[parserIndex].send(stream); Oct 26 22:33:40.651 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.651 INFO kablam! | Oct 26 22:33:40.651 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:40.651 INFO kablam! Oct 26 22:33:40.664 INFO kablam! warning: unused variable: `e` Oct 26 22:33:40.664 INFO kablam! --> src/dusty/httpParser/mod.rs:63:17 Oct 26 22:33:40.664 INFO kablam! | Oct 26 22:33:40.664 INFO kablam! 63 | Err(e) => println!("Error Reading to buffer in request!") Oct 26 22:33:40.664 INFO kablam! | ^ help: consider using `_e` instead Oct 26 22:33:40.664 INFO kablam! | Oct 26 22:33:40.664 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 26 22:33:40.664 INFO kablam! Oct 26 22:33:40.664 INFO kablam! warning: unused variable: `index` Oct 26 22:33:40.664 INFO kablam! --> src/dusty/httpParser/mod.rs:132:22 Oct 26 22:33:40.664 INFO kablam! | Oct 26 22:33:40.664 INFO kablam! 132 | Some(index) => Oct 26 22:33:40.664 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 26 22:33:40.664 INFO kablam! Oct 26 22:33:40.664 INFO kablam! warning: unused variable: `e` Oct 26 22:33:40.664 INFO kablam! --> src/dusty/cacheManager/mod.rs:67:21 Oct 26 22:33:40.664 INFO kablam! | Oct 26 22:33:40.664 INFO kablam! 67 | Err(e) => Oct 26 22:33:40.664 INFO kablam! | ^ help: consider using `_e` instead Oct 26 22:33:40.664 INFO kablam! Oct 26 22:33:40.664 INFO kablam! warning: unused variable: `filename` Oct 26 22:33:40.664 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:38 Oct 26 22:33:40.664 INFO kablam! | Oct 26 22:33:40.664 INFO kablam! 77 | fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 26 22:33:40.664 INFO kablam! | ^^^^^^^^ help: consider using `_filename` instead Oct 26 22:33:40.664 INFO kablam! Oct 26 22:33:40.664 INFO kablam! warning: unused variable: `headerTemplate` Oct 26 22:33:40.664 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 26 22:33:40.664 INFO kablam! | Oct 26 22:33:40.664 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 26 22:33:40.664 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_headerTemplate` instead Oct 26 22:33:40.664 INFO kablam! Oct 26 22:33:40.664 INFO kablam! warning: unused variable: `i` Oct 26 22:33:40.664 INFO kablam! --> src/dusty/httpParserThread/mod.rs:102:9 Oct 26 22:33:40.664 INFO kablam! | Oct 26 22:33:40.664 INFO kablam! 102 | for i in 0..gathererThreadPoolSize //Spawn gatherer threads Oct 26 22:33:40.664 INFO kablam! | ^ help: consider using `_i` instead Oct 26 22:33:40.664 INFO kablam! Oct 26 22:33:40.664 INFO kablam! warning: unused variable: `i` Oct 26 22:33:40.664 INFO kablam! --> src/dusty/httpParserThread/mod.rs:113:9 Oct 26 22:33:40.664 INFO kablam! | Oct 26 22:33:40.664 INFO kablam! 113 | for i in 0..parserThreadPoolSize Oct 26 22:33:40.664 INFO kablam! | ^ help: consider using `_i` instead Oct 26 22:33:40.664 INFO kablam! Oct 26 22:33:40.664 INFO kablam! warning: unused variable: `gathererManager` Oct 26 22:33:40.664 INFO kablam! --> src/main.rs:30:26 Oct 26 22:33:40.664 INFO kablam! | Oct 26 22:33:40.664 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:40.664 INFO kablam! | ^^^^^^^^^^^^^^^ help: consider using `_gathererManager` instead Oct 26 22:33:40.664 INFO kablam! Oct 26 22:33:40.779 INFO kablam! warning: variable does not need to be mutable Oct 26 22:33:40.779 INFO kablam! --> src/dusty/cacheManager/mod.rs:59:13 Oct 26 22:33:40.779 INFO kablam! | Oct 26 22:33:40.779 INFO kablam! 59 | let mut f = File::open(filename); Oct 26 22:33:40.779 INFO kablam! | ----^ Oct 26 22:33:40.779 INFO kablam! | | Oct 26 22:33:40.779 INFO kablam! | help: remove this `mut` Oct 26 22:33:40.779 INFO kablam! | Oct 26 22:33:40.779 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 26 22:33:40.779 INFO kablam! Oct 26 22:33:40.786 INFO kablam! warning: function is never used: `processHeader` Oct 26 22:33:40.786 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 26 22:33:40.787 INFO kablam! | Oct 26 22:33:40.787 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:40.787 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.787 INFO kablam! | Oct 26 22:33:40.787 INFO kablam! = note: #[warn(dead_code)] on by default Oct 26 22:33:40.787 INFO kablam! Oct 26 22:33:40.795 INFO kablam! warning: function is never used: `convertVecStrToU8` Oct 26 22:33:40.795 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 26 22:33:40.795 INFO kablam! | Oct 26 22:33:40.795 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:40.796 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.796 INFO kablam! Oct 26 22:33:40.796 INFO kablam! warning: struct is never constructed: `con` Oct 26 22:33:40.796 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 26 22:33:40.796 INFO kablam! | Oct 26 22:33:40.796 INFO kablam! 53 | pub struct con Oct 26 22:33:40.796 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.797 INFO kablam! Oct 26 22:33:40.797 INFO kablam! warning: method is never used: `new` Oct 26 22:33:40.797 INFO kablam! --> src/dusty/connection/mod.rs:61:5 Oct 26 22:33:40.797 INFO kablam! | Oct 26 22:33:40.797 INFO kablam! 61 | pub fn new(buffer : String, stream : TcpStream) -> con Oct 26 22:33:40.797 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.797 INFO kablam! Oct 26 22:33:40.798 INFO kablam! warning: module `httpParser` should have a snake case name such as `http_parser` Oct 26 22:33:40.798 INFO kablam! --> src/main.rs:3:5 Oct 26 22:33:40.798 INFO kablam! | Oct 26 22:33:40.798 INFO kablam! 3 | pub mod httpParser; Oct 26 22:33:40.798 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.799 INFO kablam! | Oct 26 22:33:40.799 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 26 22:33:40.799 INFO kablam! Oct 26 22:33:40.799 INFO kablam! warning: function `createRequestSchedule` should have a snake case name such as `create_request_schedule` Oct 26 22:33:40.799 INFO kablam! --> src/dusty/httpParser/mod.rs:18:1 Oct 26 22:33:40.799 INFO kablam! | Oct 26 22:33:40.800 INFO kablam! 18 | / pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 26 22:33:40.800 INFO kablam! 19 | | { Oct 26 22:33:40.800 INFO kablam! 20 | | let mut schedule : Vec = Vec::new(); Oct 26 22:33:40.800 INFO kablam! 21 | | Oct 26 22:33:40.800 INFO kablam! ... | Oct 26 22:33:40.801 INFO kablam! 66 | | return (schedule,String::from(" ")); Oct 26 22:33:40.801 INFO kablam! 67 | | } Oct 26 22:33:40.801 INFO kablam! | |_^ Oct 26 22:33:40.801 INFO kablam! Oct 26 22:33:40.801 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:40.801 INFO kablam! --> src/dusty/httpParser/mod.rs:18:51 Oct 26 22:33:40.801 INFO kablam! | Oct 26 22:33:40.801 INFO kablam! 18 | pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 26 22:33:40.801 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:40.801 INFO kablam! Oct 26 22:33:40.801 INFO kablam! warning: variable `lineBuffer` should have a snake case name such as `line_buffer` Oct 26 22:33:40.801 INFO kablam! --> src/dusty/httpParser/mod.rs:25:9 Oct 26 22:33:40.801 INFO kablam! | Oct 26 22:33:40.801 INFO kablam! 25 | let mut lineBuffer = String::with_capacity(512); Oct 26 22:33:40.801 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.801 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: variable `newRequest` should have a snake case name such as `new_request` Oct 26 22:33:40.802 INFO kablam! --> src/dusty/httpParser/mod.rs:44:34 Oct 26 22:33:40.802 INFO kablam! | Oct 26 22:33:40.802 INFO kablam! 44 | Some(newRequest) => Oct 26 22:33:40.802 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:40.802 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: function `processHeader` should have a snake case name such as `process_header` Oct 26 22:33:40.802 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 26 22:33:40.802 INFO kablam! | Oct 26 22:33:40.802 INFO kablam! 70 | / fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:40.802 INFO kablam! 71 | | { Oct 26 22:33:40.802 INFO kablam! 72 | | println!("Header : {}", &header[0..contentStart]); Oct 26 22:33:40.802 INFO kablam! 73 | | println!("Content : {}",&header[contentStart+1..header.len()]); Oct 26 22:33:40.802 INFO kablam! 74 | | println!(); Oct 26 22:33:40.802 INFO kablam! 75 | | } Oct 26 22:33:40.802 INFO kablam! | |_^ Oct 26 22:33:40.802 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: variable `contentStart` should have a snake case name such as `content_start` Oct 26 22:33:40.802 INFO kablam! --> src/dusty/httpParser/mod.rs:70:32 Oct 26 22:33:40.802 INFO kablam! | Oct 26 22:33:40.802 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:40.802 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:40.802 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: function `processFileRequest` should have a snake case name such as `process_file_request` Oct 26 22:33:40.802 INFO kablam! --> src/dusty/httpParser/mod.rs:79:1 Oct 26 22:33:40.802 INFO kablam! | Oct 26 22:33:40.802 INFO kablam! 79 | / pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 26 22:33:40.802 INFO kablam! 80 | | { Oct 26 22:33:40.802 INFO kablam! 81 | | match cache.lock() Oct 26 22:33:40.802 INFO kablam! 82 | | { Oct 26 22:33:40.802 INFO kablam! ... | Oct 26 22:33:40.802 INFO kablam! 117 | | } Oct 26 22:33:40.802 INFO kablam! 118 | | } Oct 26 22:33:40.802 INFO kablam! | |_^ Oct 26 22:33:40.802 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.802 INFO kablam! --> src/dusty/httpParser/mod.rs:79:31 Oct 26 22:33:40.802 INFO kablam! | Oct 26 22:33:40.802 INFO kablam! 79 | pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 26 22:33:40.802 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.802 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: variable `fileString` should have a snake case name such as `file_string` Oct 26 22:33:40.802 INFO kablam! --> src/dusty/httpParser/mod.rs:89:26 Oct 26 22:33:40.802 INFO kablam! | Oct 26 22:33:40.802 INFO kablam! 89 | let (fileString, size) = cacheManager::readNewUncachedFile(&filePath); Oct 26 22:33:40.802 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:40.802 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: function `processRequestLine` should have a snake case name such as `process_request_line` Oct 26 22:33:40.802 INFO kablam! --> src/dusty/httpParser/mod.rs:120:1 Oct 26 22:33:40.802 INFO kablam! | Oct 26 22:33:40.802 INFO kablam! 120 | / fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 26 22:33:40.802 INFO kablam! 121 | | { Oct 26 22:33:40.802 INFO kablam! 122 | | if line == "\r\n" Oct 26 22:33:40.802 INFO kablam! 123 | | { Oct 26 22:33:40.802 INFO kablam! ... | Oct 26 22:33:40.802 INFO kablam! 188 | | } Oct 26 22:33:40.802 INFO kablam! 189 | | } Oct 26 22:33:40.802 INFO kablam! | |_^ Oct 26 22:33:40.802 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:40.802 INFO kablam! --> src/dusty/httpParser/mod.rs:120:36 Oct 26 22:33:40.802 INFO kablam! | Oct 26 22:33:40.802 INFO kablam! 120 | fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 26 22:33:40.802 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:40.802 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 26 22:33:40.802 INFO kablam! --> src/dusty/httpParser/mod.rs:142:29 Oct 26 22:33:40.802 INFO kablam! | Oct 26 22:33:40.802 INFO kablam! 142 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 26 22:33:40.802 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.802 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.802 INFO kablam! --> src/dusty/httpParser/mod.rs:145:33 Oct 26 22:33:40.802 INFO kablam! | Oct 26 22:33:40.802 INFO kablam! 145 | let filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 26 22:33:40.802 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.802 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 26 22:33:40.802 INFO kablam! --> src/dusty/httpParser/mod.rs:157:33 Oct 26 22:33:40.802 INFO kablam! | Oct 26 22:33:40.802 INFO kablam! 157 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 26 22:33:40.802 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.802 INFO kablam! Oct 26 22:33:40.802 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.803 INFO kablam! --> src/dusty/httpParser/mod.rs:159:37 Oct 26 22:33:40.803 INFO kablam! | Oct 26 22:33:40.803 INFO kablam! 159 | let mut filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 26 22:33:40.803 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:40.803 INFO kablam! Oct 26 22:33:40.803 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.803 INFO kablam! --> src/dusty/httpParser/mod.rs:169:33 Oct 26 22:33:40.803 INFO kablam! | Oct 26 22:33:40.803 INFO kablam! 169 | let mut filePath = pathBuilder::returnFullPath(&line); Oct 26 22:33:40.803 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:40.803 INFO kablam! Oct 26 22:33:40.803 INFO kablam! warning: function `convertVecStrToU8` should have a snake case name such as `convert_vec_str_to_u8` Oct 26 22:33:40.803 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 26 22:33:40.803 INFO kablam! | Oct 26 22:33:40.803 INFO kablam! 196 | / fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:40.803 INFO kablam! 197 | | { Oct 26 22:33:40.803 INFO kablam! 198 | | let mut str_as_u8 : Vec = Vec::new(); Oct 26 22:33:40.803 INFO kablam! 199 | | for res in responseBuffer Oct 26 22:33:40.803 INFO kablam! ... | Oct 26 22:33:40.803 INFO kablam! 203 | | str_as_u8 Oct 26 22:33:40.803 INFO kablam! 204 | | } Oct 26 22:33:40.803 INFO kablam! | |_^ Oct 26 22:33:40.803 INFO kablam! Oct 26 22:33:40.803 INFO kablam! warning: variable `responseBuffer` should have a snake case name such as `response_buffer` Oct 26 22:33:40.803 INFO kablam! --> src/dusty/httpParser/mod.rs:196:22 Oct 26 22:33:40.803 INFO kablam! | Oct 26 22:33:40.803 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:40.803 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.803 INFO kablam! Oct 26 22:33:40.803 INFO kablam! warning: module `pathBuilder` should have a snake case name such as `path_builder` Oct 26 22:33:40.803 INFO kablam! --> src/main.rs:4:5 Oct 26 22:33:40.803 INFO kablam! | Oct 26 22:33:40.803 INFO kablam! 4 | pub mod pathBuilder; Oct 26 22:33:40.803 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.803 INFO kablam! Oct 26 22:33:40.803 INFO kablam! warning: function `returnFullPath` should have a snake case name such as `return_full_path` Oct 26 22:33:40.803 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:1 Oct 26 22:33:40.803 INFO kablam! | Oct 26 22:33:40.803 INFO kablam! 9 | / pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 26 22:33:40.803 INFO kablam! 10 | | { Oct 26 22:33:40.803 INFO kablam! 11 | | match current_dir().unwrap().to_str() Oct 26 22:33:40.803 INFO kablam! 12 | | { Oct 26 22:33:40.803 INFO kablam! ... | Oct 26 22:33:40.803 INFO kablam! 38 | | Oct 26 22:33:40.803 INFO kablam! 39 | | } Oct 26 22:33:40.803 INFO kablam! | |_^ Oct 26 22:33:40.803 INFO kablam! Oct 26 22:33:40.803 INFO kablam! warning: variable `localPath` should have a snake case name such as `local_path` Oct 26 22:33:40.803 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:27 Oct 26 22:33:40.803 INFO kablam! | Oct 26 22:33:40.803 INFO kablam! 9 | pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 26 22:33:40.803 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:40.803 INFO kablam! Oct 26 22:33:40.803 INFO kablam! warning: variable `tempPath` should have a snake case name such as `temp_path` Oct 26 22:33:40.803 INFO kablam! --> src/dusty/pathBuilder/mod.rs:16:17 Oct 26 22:33:40.803 INFO kablam! | Oct 26 22:33:40.803 INFO kablam! 16 | let mut tempPath = PathBuf::new(); Oct 26 22:33:40.803 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:40.803 INFO kablam! Oct 26 22:33:40.803 INFO kablam! warning: variable `newPath` should have a snake case name such as `new_path` Oct 26 22:33:40.803 INFO kablam! --> src/dusty/pathBuilder/mod.rs:19:17 Oct 26 22:33:40.803 INFO kablam! | Oct 26 22:33:40.803 INFO kablam! 19 | let newPath : Vec<&str> = localPath.split("/").collect(); Oct 26 22:33:40.803 INFO kablam! | ^^^^^^^ Oct 26 22:33:40.803 INFO kablam! Oct 26 22:33:40.803 INFO kablam! warning: variable `finalPath` should have a snake case name such as `final_path` Oct 26 22:33:40.803 INFO kablam! --> src/dusty/pathBuilder/mod.rs:27:22 Oct 26 22:33:40.803 INFO kablam! | Oct 26 22:33:40.803 INFO kablam! 27 | Some(finalPath) => return finalPath.to_string(), Oct 26 22:33:40.803 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:40.803 INFO kablam! Oct 26 22:33:40.804 INFO kablam! warning: module `cacheManager` should have a snake case name such as `cache_manager` Oct 26 22:33:40.804 INFO kablam! --> src/main.rs:5:5 Oct 26 22:33:40.804 INFO kablam! | Oct 26 22:33:40.804 INFO kablam! 5 | pub mod cacheManager; Oct 26 22:33:40.804 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.804 INFO kablam! Oct 26 22:33:40.804 INFO kablam! warning: type `cache` should have a camel case name such as `Cache` Oct 26 22:33:40.804 INFO kablam! --> src/dusty/cacheManager/mod.rs:8:1 Oct 26 22:33:40.804 INFO kablam! | Oct 26 22:33:40.804 INFO kablam! 8 | / pub struct cache Oct 26 22:33:40.804 INFO kablam! 9 | | { Oct 26 22:33:40.804 INFO kablam! 10 | | c : HashMap, Oct 26 22:33:40.804 INFO kablam! 11 | | fileSize : HashMap Oct 26 22:33:40.804 INFO kablam! 12 | | } Oct 26 22:33:40.804 INFO kablam! | |_^ Oct 26 22:33:40.804 INFO kablam! | Oct 26 22:33:40.804 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 26 22:33:40.804 INFO kablam! Oct 26 22:33:40.804 INFO kablam! warning: structure field `fileSize` should have a snake case name such as `file_size` Oct 26 22:33:40.804 INFO kablam! --> src/dusty/cacheManager/mod.rs:11:5 Oct 26 22:33:40.804 INFO kablam! | Oct 26 22:33:40.804 INFO kablam! 11 | fileSize : HashMap Oct 26 22:33:40.804 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.804 INFO kablam! Oct 26 22:33:40.811 INFO kablam! warning: method `checkSize` should have a snake case name such as `check_size` Oct 26 22:33:40.811 INFO kablam! --> src/dusty/cacheManager/mod.rs:37:5 Oct 26 22:33:40.811 INFO kablam! | Oct 26 22:33:40.811 INFO kablam! 37 | / pub fn checkSize(&mut self, path : &str) -> usize Oct 26 22:33:40.811 INFO kablam! 38 | | { Oct 26 22:33:40.811 INFO kablam! 39 | | match self.fileSize.contains_key(path) Oct 26 22:33:40.811 INFO kablam! 40 | | { Oct 26 22:33:40.811 INFO kablam! ... | Oct 26 22:33:40.811 INFO kablam! 43 | | } Oct 26 22:33:40.811 INFO kablam! 44 | | } Oct 26 22:33:40.811 INFO kablam! | |_____^ Oct 26 22:33:40.811 INFO kablam! Oct 26 22:33:40.811 INFO kablam! warning: method `insertNewCacheItem` should have a snake case name such as `insert_new_cache_item` Oct 26 22:33:40.811 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:5 Oct 26 22:33:40.811 INFO kablam! | Oct 26 22:33:40.811 INFO kablam! 47 | / pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 26 22:33:40.811 INFO kablam! 48 | | { Oct 26 22:33:40.811 INFO kablam! 49 | | self.c.insert(path.to_string(),FileStr.clone()); Oct 26 22:33:40.811 INFO kablam! 50 | | self.fileSize.insert(path.to_string(),FileStr.len()); Oct 26 22:33:40.811 INFO kablam! 51 | | FileStr.len() Oct 26 22:33:40.811 INFO kablam! 52 | | } Oct 26 22:33:40.811 INFO kablam! | |_____^ Oct 26 22:33:40.811 INFO kablam! Oct 26 22:33:40.812 INFO kablam! warning: variable `FileStr` should have a snake case name such as `file_str` Oct 26 22:33:40.812 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:56 Oct 26 22:33:40.812 INFO kablam! | Oct 26 22:33:40.812 INFO kablam! 47 | pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 26 22:33:40.812 INFO kablam! | ^^^^^^^ Oct 26 22:33:40.812 INFO kablam! Oct 26 22:33:40.812 INFO kablam! warning: function `readNewUncachedFile` should have a snake case name such as `read_new_uncached_file` Oct 26 22:33:40.812 INFO kablam! --> src/dusty/cacheManager/mod.rs:57:5 Oct 26 22:33:40.812 INFO kablam! | Oct 26 22:33:40.812 INFO kablam! 57 | / pub fn readNewUncachedFile(filename: &str) -> (String, usize) Oct 26 22:33:40.812 INFO kablam! 58 | | { Oct 26 22:33:40.812 INFO kablam! 59 | | let mut f = File::open(filename); Oct 26 22:33:40.812 INFO kablam! 60 | | match f Oct 26 22:33:40.812 INFO kablam! ... | Oct 26 22:33:40.812 INFO kablam! 73 | | } Oct 26 22:33:40.812 INFO kablam! 74 | | } Oct 26 22:33:40.812 INFO kablam! | |_____^ Oct 26 22:33:40.812 INFO kablam! Oct 26 22:33:40.812 INFO kablam! warning: function `readText` should have a snake case name such as `read_text` Oct 26 22:33:40.812 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:5 Oct 26 22:33:40.812 INFO kablam! | Oct 26 22:33:40.812 INFO kablam! 77 | / fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 26 22:33:40.812 INFO kablam! 78 | | { Oct 26 22:33:40.812 INFO kablam! 79 | | let mut s = String::new(); Oct 26 22:33:40.812 INFO kablam! 80 | | let lenRead = readable.read_to_string(&mut s); Oct 26 22:33:40.812 INFO kablam! ... | Oct 26 22:33:40.812 INFO kablam! 94 | | } Oct 26 22:33:40.813 INFO kablam! 95 | | } Oct 26 22:33:40.813 INFO kablam! | |_____^ Oct 26 22:33:40.813 INFO kablam! Oct 26 22:33:40.813 INFO kablam! warning: variable `lenRead` should have a snake case name such as `len_read` Oct 26 22:33:40.813 INFO kablam! --> src/dusty/cacheManager/mod.rs:80:13 Oct 26 22:33:40.813 INFO kablam! | Oct 26 22:33:40.813 INFO kablam! 80 | let lenRead = readable.read_to_string(&mut s); Oct 26 22:33:40.813 INFO kablam! | ^^^^^^^ Oct 26 22:33:40.813 INFO kablam! Oct 26 22:33:40.813 INFO kablam! warning: variable `lR` should have a snake case name such as `l_r` Oct 26 22:33:40.813 INFO kablam! --> src/dusty/cacheManager/mod.rs:83:24 Oct 26 22:33:40.813 INFO kablam! | Oct 26 22:33:40.813 INFO kablam! 83 | Ok(lR) => Oct 26 22:33:40.813 INFO kablam! | ^^ Oct 26 22:33:40.813 INFO kablam! Oct 26 22:33:40.814 INFO kablam! warning: type `request` should have a camel case name such as `Request` Oct 26 22:33:40.814 INFO kablam! --> src/dusty/connection/mod.rs:13:1 Oct 26 22:33:40.814 INFO kablam! | Oct 26 22:33:40.814 INFO kablam! 13 | / pub struct request Oct 26 22:33:40.814 INFO kablam! 14 | | { Oct 26 22:33:40.814 INFO kablam! 15 | | pub filePath : String, Oct 26 22:33:40.814 INFO kablam! 16 | | pub size : usize, Oct 26 22:33:40.814 INFO kablam! 17 | | pub streamChannel : Sender Oct 26 22:33:40.814 INFO kablam! 18 | | } Oct 26 22:33:40.814 INFO kablam! | |_^ Oct 26 22:33:40.814 INFO kablam! Oct 26 22:33:40.814 INFO kablam! warning: structure field `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.814 INFO kablam! --> src/dusty/connection/mod.rs:15:5 Oct 26 22:33:40.814 INFO kablam! | Oct 26 22:33:40.814 INFO kablam! 15 | pub filePath : String, Oct 26 22:33:40.814 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.814 INFO kablam! Oct 26 22:33:40.814 INFO kablam! warning: structure field `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:40.814 INFO kablam! --> src/dusty/connection/mod.rs:17:5 Oct 26 22:33:40.814 INFO kablam! | Oct 26 22:33:40.814 INFO kablam! 17 | pub streamChannel : Sender Oct 26 22:33:40.814 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.814 INFO kablam! Oct 26 22:33:40.814 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:40.814 INFO kablam! --> src/dusty/connection/mod.rs:22:16 Oct 26 22:33:40.814 INFO kablam! | Oct 26 22:33:40.814 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 26 22:33:40.814 INFO kablam! | ^^^^^^^^ Oct 26 22:33:40.814 INFO kablam! Oct 26 22:33:40.814 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:40.814 INFO kablam! --> src/dusty/connection/mod.rs:22:48 Oct 26 22:33:40.814 INFO kablam! | Oct 26 22:33:40.814 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 26 22:33:40.814 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:40.815 INFO kablam! Oct 26 22:33:40.815 INFO kablam! warning: type `response` should have a camel case name such as `Response` Oct 26 22:33:40.815 INFO kablam! --> src/dusty/connection/mod.rs:38:1 Oct 26 22:33:40.815 INFO kablam! | Oct 26 22:33:40.815 INFO kablam! 38 | / pub struct response Oct 26 22:33:40.815 INFO kablam! 39 | | { Oct 26 22:33:40.815 INFO kablam! 40 | | pub body : String, Oct 26 22:33:40.815 INFO kablam! 41 | | pub header : String Oct 26 22:33:40.815 INFO kablam! 42 | | } Oct 26 22:33:40.815 INFO kablam! | |_^ Oct 26 22:33:40.815 INFO kablam! Oct 26 22:33:40.815 INFO kablam! warning: type `con` should have a camel case name such as `Con` Oct 26 22:33:40.815 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 26 22:33:40.815 INFO kablam! | Oct 26 22:33:40.815 INFO kablam! 53 | / pub struct con Oct 26 22:33:40.815 INFO kablam! 54 | | { Oct 26 22:33:40.815 INFO kablam! 55 | | pub buffer: String, Oct 26 22:33:40.815 INFO kablam! 56 | | pub stream: TcpStream Oct 26 22:33:40.815 INFO kablam! 57 | | } Oct 26 22:33:40.815 INFO kablam! | |_^ Oct 26 22:33:40.815 INFO kablam! Oct 26 22:33:40.816 INFO kablam! warning: module `httpParserThread` should have a snake case name such as `http_parser_thread` Oct 26 22:33:40.816 INFO kablam! --> src/main.rs:7:5 Oct 26 22:33:40.816 INFO kablam! | Oct 26 22:33:40.816 INFO kablam! 7 | pub mod httpParserThread; Oct 26 22:33:40.816 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.816 INFO kablam! Oct 26 22:33:40.816 INFO kablam! warning: function `spawnNewParserThread` should have a snake case name such as `spawn_new_parser_thread` Oct 26 22:33:40.816 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:1 Oct 26 22:33:40.816 INFO kablam! | Oct 26 22:33:40.816 INFO kablam! 12 | / pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:40.816 INFO kablam! 13 | | { Oct 26 22:33:40.816 INFO kablam! 14 | | thread::spawn(move || Oct 26 22:33:40.816 INFO kablam! 15 | | { Oct 26 22:33:40.816 INFO kablam! ... | Oct 26 22:33:40.816 INFO kablam! 66 | | Oct 26 22:33:40.816 INFO kablam! 67 | | } Oct 26 22:33:40.816 INFO kablam! | |_^ Oct 26 22:33:40.816 INFO kablam! Oct 26 22:33:40.816 INFO kablam! warning: variable `streamReceiver` should have a snake case name such as `stream_receiver` Oct 26 22:33:40.816 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:29 Oct 26 22:33:40.816 INFO kablam! | Oct 26 22:33:40.816 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:40.816 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.817 INFO kablam! Oct 26 22:33:40.817 INFO kablam! warning: variable `gathererManagerChannel` should have a snake case name such as `gatherer_manager_channel` Oct 26 22:33:40.817 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:67 Oct 26 22:33:40.817 INFO kablam! | Oct 26 22:33:40.817 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:40.817 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.817 INFO kablam! Oct 26 22:33:40.817 INFO kablam! warning: variable `localSend` should have a snake case name such as `local_send` Oct 26 22:33:40.817 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:14 Oct 26 22:33:40.817 INFO kablam! | Oct 26 22:33:40.817 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 26 22:33:40.817 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:40.817 INFO kablam! Oct 26 22:33:40.817 INFO kablam! warning: variable `localRecv` should have a snake case name such as `local_recv` Oct 26 22:33:40.817 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:25 Oct 26 22:33:40.817 INFO kablam! | Oct 26 22:33:40.817 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 26 22:33:40.817 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:40.817 INFO kablam! Oct 26 22:33:40.817 INFO kablam! warning: variable `headerTemplate` should have a snake case name such as `header_template` Oct 26 22:33:40.817 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 26 22:33:40.818 INFO kablam! | Oct 26 22:33:40.818 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 26 22:33:40.818 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.818 INFO kablam! Oct 26 22:33:40.818 INFO kablam! warning: variable `requestCount` should have a snake case name such as `request_count` Oct 26 22:33:40.818 INFO kablam! --> src/dusty/httpParserThread/mod.rs:29:25 Oct 26 22:33:40.818 INFO kablam! | Oct 26 22:33:40.818 INFO kablam! 29 | let mut requestCount = schedule.len(); Oct 26 22:33:40.818 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:40.818 INFO kablam! Oct 26 22:33:40.818 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:40.818 INFO kablam! --> src/dusty/httpParserThread/mod.rs:35:25 Oct 26 22:33:40.818 INFO kablam! | Oct 26 22:33:40.818 INFO kablam! 35 | gathererManagerChannel.send(req); Oct 26 22:33:40.818 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.818 INFO kablam! | Oct 26 22:33:40.818 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 26 22:33:40.818 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:40.818 INFO kablam! Oct 26 22:33:40.819 INFO kablam! warning: function `spawnNewGathererThread` should have a snake case name such as `spawn_new_gatherer_thread` Oct 26 22:33:40.819 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:1 Oct 26 22:33:40.819 INFO kablam! | Oct 26 22:33:40.819 INFO kablam! 70 | / pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 26 22:33:40.819 INFO kablam! 71 | | { Oct 26 22:33:40.819 INFO kablam! 72 | | thread::spawn(move || Oct 26 22:33:40.819 INFO kablam! 73 | | { Oct 26 22:33:40.819 INFO kablam! ... | Oct 26 22:33:40.819 INFO kablam! 88 | | }); Oct 26 22:33:40.819 INFO kablam! 89 | | } Oct 26 22:33:40.819 INFO kablam! | |_^ Oct 26 22:33:40.819 INFO kablam! Oct 26 22:33:40.819 INFO kablam! warning: variable `requestReceiver` should have a snake case name such as `request_receiver` Oct 26 22:33:40.819 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:31 Oct 26 22:33:40.819 INFO kablam! | Oct 26 22:33:40.819 INFO kablam! 70 | pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 26 22:33:40.819 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:40.819 INFO kablam! Oct 26 22:33:40.819 INFO kablam! warning: function `createIndependentThreadPools` should have a snake case name such as `create_independent_thread_pools` Oct 26 22:33:40.819 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:1 Oct 26 22:33:40.819 INFO kablam! | Oct 26 22:33:40.819 INFO kablam! 93 | / pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:40.819 INFO kablam! 94 | | { Oct 26 22:33:40.819 INFO kablam! 95 | | //These are the meat and potatos of dusty Oct 26 22:33:40.819 INFO kablam! 96 | | //They are simply a vec pointing to channels Oct 26 22:33:40.819 INFO kablam! ... | Oct 26 22:33:40.819 INFO kablam! 122 | | Oct 26 22:33:40.819 INFO kablam! 123 | | } Oct 26 22:33:40.819 INFO kablam! | |_^ Oct 26 22:33:40.819 INFO kablam! Oct 26 22:33:40.820 INFO kablam! warning: variable `parserThreadPoolSize` should have a snake case name such as `parser_thread_pool_size` Oct 26 22:33:40.820 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:37 Oct 26 22:33:40.820 INFO kablam! | Oct 26 22:33:40.820 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:40.820 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.820 INFO kablam! Oct 26 22:33:40.820 INFO kablam! warning: variable `gathererThreadPoolSize` should have a snake case name such as `gatherer_thread_pool_size` Oct 26 22:33:40.820 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:66 Oct 26 22:33:40.820 INFO kablam! | Oct 26 22:33:40.820 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:40.820 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.820 INFO kablam! Oct 26 22:33:40.820 INFO kablam! warning: variable `gathererChannels` should have a snake case name such as `gatherer_channels` Oct 26 22:33:40.820 INFO kablam! --> src/dusty/httpParserThread/mod.rs:98:9 Oct 26 22:33:40.820 INFO kablam! | Oct 26 22:33:40.820 INFO kablam! 98 | let mut gathererChannels : Vec> = Vec::new(); Oct 26 22:33:40.820 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.820 INFO kablam! Oct 26 22:33:40.820 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 26 22:33:40.820 INFO kablam! --> src/dusty/httpParserThread/mod.rs:99:9 Oct 26 22:33:40.820 INFO kablam! | Oct 26 22:33:40.820 INFO kablam! 99 | let mut parserChannels : Vec> = Vec::new(); Oct 26 22:33:40.820 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.820 INFO kablam! Oct 26 22:33:40.821 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 26 22:33:40.821 INFO kablam! --> src/dusty/httpParserThread/mod.rs:110:9 Oct 26 22:33:40.821 INFO kablam! | Oct 26 22:33:40.821 INFO kablam! 110 | let gathererManager : Sender = spawnGathererManagerThread(gathererChannels); Oct 26 22:33:40.821 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:40.821 INFO kablam! Oct 26 22:33:40.821 INFO kablam! warning: function `spawnGathererManagerThread` should have a snake case name such as `spawn_gatherer_manager_thread` Oct 26 22:33:40.821 INFO kablam! --> src/dusty/httpParserThread/mod.rs:126:1 Oct 26 22:33:40.821 INFO kablam! | Oct 26 22:33:40.821 INFO kablam! 126 | / pub fn spawnGathererManagerThread(channels : Vec>) -> Sender Oct 26 22:33:40.821 INFO kablam! 127 | | { Oct 26 22:33:40.821 INFO kablam! 128 | | let (send, recv) = channel::(); Oct 26 22:33:40.821 INFO kablam! 129 | | thread::spawn(move || Oct 26 22:33:40.821 INFO kablam! ... | Oct 26 22:33:40.821 INFO kablam! 150 | | return send Oct 26 22:33:40.821 INFO kablam! 151 | | } Oct 26 22:33:40.821 INFO kablam! | |_^ Oct 26 22:33:40.821 INFO kablam! Oct 26 22:33:40.821 INFO kablam! warning: variable `channelIndex` should have a snake case name such as `channel_index` Oct 26 22:33:40.821 INFO kablam! --> src/dusty/httpParserThread/mod.rs:131:13 Oct 26 22:33:40.821 INFO kablam! | Oct 26 22:33:40.821 INFO kablam! 131 | let mut channelIndex : usize = 0; Oct 26 22:33:40.821 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:40.821 INFO kablam! Oct 26 22:33:40.822 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:40.822 INFO kablam! --> src/dusty/httpParserThread/mod.rs:141:21 Oct 26 22:33:40.822 INFO kablam! | Oct 26 22:33:40.822 INFO kablam! 141 | channels[channelIndex].send(req); Oct 26 22:33:40.822 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.822 INFO kablam! | Oct 26 22:33:40.822 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:40.822 INFO kablam! Oct 26 22:33:40.822 INFO kablam! warning: variable `parserThreadCount` should have a snake case name such as `parser_thread_count` Oct 26 22:33:40.822 INFO kablam! --> src/main.rs:23:9 Oct 26 22:33:40.822 INFO kablam! | Oct 26 22:33:40.822 INFO kablam! 23 | let parserThreadCount : usize = 16; Oct 26 22:33:40.822 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.822 INFO kablam! Oct 26 22:33:40.822 INFO kablam! warning: variable `gathererThreadCount` should have a snake case name such as `gatherer_thread_count` Oct 26 22:33:40.822 INFO kablam! --> src/main.rs:24:9 Oct 26 22:33:40.822 INFO kablam! | Oct 26 22:33:40.822 INFO kablam! 24 | let gathererThreadCount : usize = 16; Oct 26 22:33:40.822 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.822 INFO kablam! Oct 26 22:33:40.823 INFO kablam! warning: variable `sharedCache` should have a snake case name such as `shared_cache` Oct 26 22:33:40.823 INFO kablam! --> src/main.rs:27:9 Oct 26 22:33:40.823 INFO kablam! | Oct 26 22:33:40.823 INFO kablam! 27 | let sharedCache : Arc> = Arc::new(Mutex::new(cacheManager::cache::new())); Oct 26 22:33:40.823 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:40.823 INFO kablam! Oct 26 22:33:40.823 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 26 22:33:40.823 INFO kablam! --> src/main.rs:30:10 Oct 26 22:33:40.823 INFO kablam! | Oct 26 22:33:40.823 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:40.823 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:40.823 INFO kablam! Oct 26 22:33:40.823 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 26 22:33:40.823 INFO kablam! --> src/main.rs:30:26 Oct 26 22:33:40.823 INFO kablam! | Oct 26 22:33:40.823 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:40.823 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:40.823 INFO kablam! Oct 26 22:33:40.823 INFO kablam! warning: variable `parserIndex` should have a snake case name such as `parser_index` Oct 26 22:33:40.823 INFO kablam! --> src/main.rs:31:9 Oct 26 22:33:40.823 INFO kablam! | Oct 26 22:33:40.823 INFO kablam! 31 | let mut parserIndex = 0; Oct 26 22:33:40.823 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:40.823 INFO kablam! Oct 26 22:33:40.824 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:40.824 INFO kablam! --> src/main.rs:41:25 Oct 26 22:33:40.824 INFO kablam! | Oct 26 22:33:40.824 INFO kablam! 41 | parserChannels[parserIndex].send(stream); Oct 26 22:33:40.824 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:40.824 INFO kablam! | Oct 26 22:33:40.824 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:40.824 INFO kablam! Oct 26 22:33:40.920 INFO kablam! Finished dev [optimized + debuginfo] target(s) in 1.09s Oct 26 22:33:40.922 INFO kablam! su: No module specific data is present Oct 26 22:33:42.443 INFO running `"docker" "rm" "-f" "d93a281f901ed806545e892cab116c79801aa4ce21349b1bebc0905a21b1e393"` Oct 26 22:33:42.727 INFO blam! d93a281f901ed806545e892cab116c79801aa4ce21349b1bebc0905a21b1e393