Oct 12 15:21:49.928 INFO checking racer161/dusty against try#4021bd0b3c5815b087d6db10ce461e7e4854ade7 for pr-54977 Oct 12 15:21:49.929 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-6/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-6/pr-54977/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/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 +4021bd0b3c5815b087d6db10ce461e7e4854ade7-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 12 15:21:50.362 INFO blam! 7896f86c575ade0508b02140e2203fe750fb21c677483ffc364e491047ac7010 Oct 12 15:21:50.364 INFO running `"docker" "start" "-a" "7896f86c575ade0508b02140e2203fe750fb21c677483ffc364e491047ac7010"` Oct 12 15:21:51.893 INFO kablam! usermod: no changes Oct 12 15:21:51.962 INFO kablam! Checking dusty v0.1.0 (/source) Oct 12 15:21:52.440 INFO kablam! warning: unused import: `TcpListener` Oct 12 15:21:52.441 INFO kablam! --> src/dusty/httpParser/mod.rs:7:16 Oct 12 15:21:52.441 INFO kablam! | Oct 12 15:21:52.441 INFO kablam! 7 | use std::net::{TcpListener, TcpStream}; Oct 12 15:21:52.442 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.442 INFO kablam! | Oct 12 15:21:52.442 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 15:21:52.442 INFO kablam! Oct 12 15:21:52.442 INFO kablam! warning: unused import: `std::thread` Oct 12 15:21:52.443 INFO kablam! --> src/dusty/httpParser/mod.rs:9:5 Oct 12 15:21:52.443 INFO kablam! | Oct 12 15:21:52.443 INFO kablam! 9 | use std::thread; Oct 12 15:21:52.443 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.444 INFO kablam! Oct 12 15:21:52.444 INFO kablam! warning: unused import: `std::mem` Oct 12 15:21:52.444 INFO kablam! --> src/dusty/httpParser/mod.rs:12:5 Oct 12 15:21:52.444 INFO kablam! | Oct 12 15:21:52.445 INFO kablam! 12 | use std::mem; Oct 12 15:21:52.445 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.445 INFO kablam! Oct 12 15:21:52.445 INFO kablam! warning: unused import: `std::io` Oct 12 15:21:52.445 INFO kablam! --> src/dusty/pathBuilder/mod.rs:3:6 Oct 12 15:21:52.446 INFO kablam! | Oct 12 15:21:52.446 INFO kablam! 3 | use std::io; Oct 12 15:21:52.446 INFO kablam! | ^^^^^^^ Oct 12 15:21:52.446 INFO kablam! Oct 12 15:21:52.447 INFO kablam! warning: unused import: `std::fs::File` Oct 12 15:21:52.447 INFO kablam! --> src/dusty/pathBuilder/mod.rs:5:6 Oct 12 15:21:52.447 INFO kablam! | Oct 12 15:21:52.447 INFO kablam! 5 | use std::fs::File; Oct 12 15:21:52.447 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 15:21:52.448 INFO kablam! Oct 12 15:21:52.448 INFO kablam! warning: unused import: `Path` Oct 12 15:21:52.448 INFO kablam! --> src/dusty/pathBuilder/mod.rs:6:18 Oct 12 15:21:52.448 INFO kablam! | Oct 12 15:21:52.449 INFO kablam! 6 | use std::path::{Path,PathBuf}; Oct 12 15:21:52.449 INFO kablam! | ^^^^ Oct 12 15:21:52.449 INFO kablam! Oct 12 15:21:52.449 INFO kablam! warning: unused import: `std::io` Oct 12 15:21:52.450 INFO kablam! --> src/dusty/cacheManager/mod.rs:4:5 Oct 12 15:21:52.450 INFO kablam! | Oct 12 15:21:52.450 INFO kablam! 4 | use std::io; Oct 12 15:21:52.450 INFO kablam! | ^^^^^^^ Oct 12 15:21:52.451 INFO kablam! Oct 12 15:21:52.451 INFO kablam! warning: unused import: `TcpListener` Oct 12 15:21:52.451 INFO kablam! --> src/dusty/connection/mod.rs:2:16 Oct 12 15:21:52.451 INFO kablam! | Oct 12 15:21:52.452 INFO kablam! 2 | use std::net::{TcpListener, TcpStream}; Oct 12 15:21:52.452 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.452 INFO kablam! Oct 12 15:21:52.452 INFO kablam! warning: unused import: `std::thread` Oct 12 15:21:52.453 INFO kablam! --> src/dusty/connection/mod.rs:6:5 Oct 12 15:21:52.453 INFO kablam! | Oct 12 15:21:52.453 INFO kablam! 6 | use std::thread; Oct 12 15:21:52.453 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.454 INFO kablam! Oct 12 15:21:52.454 INFO kablam! warning: unused import: `std::io::*` Oct 12 15:21:52.454 INFO kablam! --> src/dusty/connection/mod.rs:9:5 Oct 12 15:21:52.454 INFO kablam! | Oct 12 15:21:52.454 INFO kablam! 9 | use std::io::*; Oct 12 15:21:52.455 INFO kablam! | ^^^^^^^^^^ Oct 12 15:21:52.455 INFO kablam! Oct 12 15:21:52.455 INFO kablam! warning: unused import: `std::mem` Oct 12 15:21:52.455 INFO kablam! --> src/dusty/connection/mod.rs:10:5 Oct 12 15:21:52.456 INFO kablam! | Oct 12 15:21:52.456 INFO kablam! 10 | use std::mem; Oct 12 15:21:52.456 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.456 INFO kablam! Oct 12 15:21:52.457 INFO kablam! warning: unused import: `TcpListener` Oct 12 15:21:52.457 INFO kablam! --> src/dusty/httpParserThread/mod.rs:1:16 Oct 12 15:21:52.457 INFO kablam! | Oct 12 15:21:52.457 INFO kablam! 1 | use std::net::{TcpListener, TcpStream}; Oct 12 15:21:52.457 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.458 INFO kablam! Oct 12 15:21:52.458 INFO kablam! warning: unused import: `TcpStream` Oct 12 15:21:52.458 INFO kablam! --> src/main.rs:10:29 Oct 12 15:21:52.458 INFO kablam! | Oct 12 15:21:52.459 INFO kablam! 10 | use std::net::{TcpListener, TcpStream}; Oct 12 15:21:52.459 INFO kablam! | ^^^^^^^^^ Oct 12 15:21:52.459 INFO kablam! Oct 12 15:21:52.459 INFO kablam! warning: unused import: `std::sync::mpsc::*` Oct 12 15:21:52.459 INFO kablam! --> src/main.rs:13:5 Oct 12 15:21:52.460 INFO kablam! | Oct 12 15:21:52.460 INFO kablam! 13 | use std::sync::mpsc::*; Oct 12 15:21:52.460 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.460 INFO kablam! Oct 12 15:21:52.460 INFO kablam! warning: unused import: `std::thread` Oct 12 15:21:52.461 INFO kablam! --> src/main.rs:14:5 Oct 12 15:21:52.461 INFO kablam! | Oct 12 15:21:52.461 INFO kablam! 14 | use std::thread; Oct 12 15:21:52.461 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.462 INFO kablam! Oct 12 15:21:52.462 INFO kablam! warning: unused import: `std::io::*` Oct 12 15:21:52.462 INFO kablam! --> src/main.rs:16:5 Oct 12 15:21:52.462 INFO kablam! | Oct 12 15:21:52.463 INFO kablam! 16 | use std::io::*; Oct 12 15:21:52.463 INFO kablam! | ^^^^^^^^^^ Oct 12 15:21:52.463 INFO kablam! Oct 12 15:21:52.463 INFO kablam! warning: unused import: `std::mem` Oct 12 15:21:52.463 INFO kablam! --> src/main.rs:17:5 Oct 12 15:21:52.464 INFO kablam! | Oct 12 15:21:52.464 INFO kablam! 17 | use std::mem; Oct 12 15:21:52.464 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.465 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `TcpListener` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/httpParser/mod.rs:7:16 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 7 | use std::net::{TcpListener, TcpStream}; Oct 12 15:21:52.477 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `std::thread` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/httpParser/mod.rs:9:5 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 9 | use std::thread; Oct 12 15:21:52.477 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `std::mem` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/httpParser/mod.rs:12:5 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 12 | use std::mem; Oct 12 15:21:52.477 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `std::io` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/pathBuilder/mod.rs:3:6 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 3 | use std::io; Oct 12 15:21:52.477 INFO kablam! | ^^^^^^^ Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `std::fs::File` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/pathBuilder/mod.rs:5:6 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 5 | use std::fs::File; Oct 12 15:21:52.477 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `Path` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/pathBuilder/mod.rs:6:18 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 6 | use std::path::{Path,PathBuf}; Oct 12 15:21:52.477 INFO kablam! | ^^^^ Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `std::io` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/cacheManager/mod.rs:4:5 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 4 | use std::io; Oct 12 15:21:52.477 INFO kablam! | ^^^^^^^ Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `TcpListener` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/connection/mod.rs:2:16 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 2 | use std::net::{TcpListener, TcpStream}; Oct 12 15:21:52.477 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `std::thread` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/connection/mod.rs:6:5 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 6 | use std::thread; Oct 12 15:21:52.477 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `std::io::*` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/connection/mod.rs:9:5 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 9 | use std::io::*; Oct 12 15:21:52.477 INFO kablam! | ^^^^^^^^^^ Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `std::mem` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/connection/mod.rs:10:5 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 10 | use std::mem; Oct 12 15:21:52.477 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `TcpListener` Oct 12 15:21:52.477 INFO kablam! --> src/dusty/httpParserThread/mod.rs:1:16 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 1 | use std::net::{TcpListener, TcpStream}; Oct 12 15:21:52.477 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.477 INFO kablam! Oct 12 15:21:52.477 INFO kablam! warning: unused import: `TcpStream` Oct 12 15:21:52.477 INFO kablam! --> src/main.rs:10:29 Oct 12 15:21:52.477 INFO kablam! | Oct 12 15:21:52.477 INFO kablam! 10 | use std::net::{TcpListener, TcpStream}; Oct 12 15:21:52.478 INFO kablam! | ^^^^^^^^^ Oct 12 15:21:52.478 INFO kablam! Oct 12 15:21:52.478 INFO kablam! warning: unused import: `std::sync::mpsc::*` Oct 12 15:21:52.478 INFO kablam! --> src/main.rs:13:5 Oct 12 15:21:52.478 INFO kablam! | Oct 12 15:21:52.478 INFO kablam! 13 | use std::sync::mpsc::*; Oct 12 15:21:52.478 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.478 INFO kablam! Oct 12 15:21:52.478 INFO kablam! warning: unused import: `std::thread` Oct 12 15:21:52.478 INFO kablam! --> src/main.rs:14:5 Oct 12 15:21:52.484 INFO kablam! | Oct 12 15:21:52.484 INFO kablam! 14 | use std::thread; Oct 12 15:21:52.484 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.484 INFO kablam! Oct 12 15:21:52.484 INFO kablam! warning: unused import: `std::io::*` Oct 12 15:21:52.484 INFO kablam! --> src/main.rs:16:5 Oct 12 15:21:52.484 INFO kablam! | Oct 12 15:21:52.484 INFO kablam! 16 | use std::io::*; Oct 12 15:21:52.484 INFO kablam! | ^^^^^^^^^^ Oct 12 15:21:52.484 INFO kablam! Oct 12 15:21:52.484 INFO kablam! warning: unused import: `std::mem` Oct 12 15:21:52.484 INFO kablam! --> src/main.rs:17:5 Oct 12 15:21:52.484 INFO kablam! | Oct 12 15:21:52.484 INFO kablam! 17 | use std::mem; Oct 12 15:21:52.484 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.484 INFO kablam! Oct 12 15:21:52.520 INFO kablam! warning: unreachable expression Oct 12 15:21:52.520 INFO kablam! --> src/dusty/httpParser/mod.rs:186:13 Oct 12 15:21:52.520 INFO kablam! | Oct 12 15:21:52.520 INFO kablam! 186 | return None Oct 12 15:21:52.520 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.520 INFO kablam! | Oct 12 15:21:52.532 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 12 15:21:52.532 INFO kablam! Oct 12 15:21:52.540 INFO kablam! warning: unreachable expression Oct 12 15:21:52.540 INFO kablam! --> src/dusty/httpParser/mod.rs:186:13 Oct 12 15:21:52.540 INFO kablam! | Oct 12 15:21:52.540 INFO kablam! 186 | return None Oct 12 15:21:52.540 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.540 INFO kablam! | Oct 12 15:21:52.544 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 12 15:21:52.544 INFO kablam! Oct 12 15:21:52.616 INFO kablam! warning: unused import: `std::io::prelude` Oct 12 15:21:52.616 INFO kablam! --> src/dusty/pathBuilder/mod.rs:4:6 Oct 12 15:21:52.616 INFO kablam! | Oct 12 15:21:52.616 INFO kablam! 4 | use std::io::prelude::*; Oct 12 15:21:52.616 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 12 15:21:52.616 INFO kablam! Oct 12 15:21:52.616 INFO kablam! warning: unused import: `std::io::prelude` Oct 12 15:21:52.616 INFO kablam! --> src/dusty/pathBuilder/mod.rs:4:6 Oct 12 15:21:52.616 INFO kablam! | Oct 12 15:21:52.616 INFO kablam! 4 | use std::io::prelude::*; Oct 12 15:21:52.616 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 12 15:21:52.616 INFO kablam! Oct 12 15:21:52.636 INFO kablam! warning: unused variable: `e` Oct 12 15:21:52.636 INFO kablam! --> src/dusty/httpParser/mod.rs:63:17 Oct 12 15:21:52.636 INFO kablam! | Oct 12 15:21:52.636 INFO kablam! 63 | Err(e) => println!("Error Reading to buffer in request!") Oct 12 15:21:52.636 INFO kablam! | ^ help: consider using `_e` instead Oct 12 15:21:52.636 INFO kablam! | Oct 12 15:21:52.636 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 15:21:52.636 INFO kablam! Oct 12 15:21:52.636 INFO kablam! warning: unused variable: `index` Oct 12 15:21:52.636 INFO kablam! --> src/dusty/httpParser/mod.rs:132:22 Oct 12 15:21:52.636 INFO kablam! | Oct 12 15:21:52.636 INFO kablam! 132 | Some(index) => Oct 12 15:21:52.636 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 12 15:21:52.636 INFO kablam! warning: unused variable: `e` Oct 12 15:21:52.636 INFO kablam! --> src/dusty/httpParser/mod.rs:63:17 Oct 12 15:21:52.636 INFO kablam! | Oct 12 15:21:52.636 INFO kablam! 63 | Err(e) => println!("Error Reading to buffer in request!") Oct 12 15:21:52.636 INFO kablam! | ^ help: consider using `_e` instead Oct 12 15:21:52.636 INFO kablam! | Oct 12 15:21:52.636 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 15:21:52.636 INFO kablam! Oct 12 15:21:52.636 INFO kablam! warning: unused variable: `index` Oct 12 15:21:52.636 INFO kablam! --> src/dusty/httpParser/mod.rs:132:22 Oct 12 15:21:52.636 INFO kablam! | Oct 12 15:21:52.636 INFO kablam! 132 | Some(index) => Oct 12 15:21:52.636 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 12 15:21:52.636 INFO kablam! Oct 12 15:21:52.636 INFO kablam! warning: unused variable: `e` Oct 12 15:21:52.636 INFO kablam! --> src/dusty/cacheManager/mod.rs:67:21 Oct 12 15:21:52.636 INFO kablam! | Oct 12 15:21:52.636 INFO kablam! 67 | Err(e) => Oct 12 15:21:52.636 INFO kablam! | ^ help: consider using `_e` instead Oct 12 15:21:52.636 INFO kablam! Oct 12 15:21:52.636 INFO kablam! warning: unused variable: `filename` Oct 12 15:21:52.636 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:38 Oct 12 15:21:52.636 INFO kablam! | Oct 12 15:21:52.636 INFO kablam! 77 | fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 12 15:21:52.636 INFO kablam! | ^^^^^^^^ help: consider using `_filename` instead Oct 12 15:21:52.636 INFO kablam! Oct 12 15:21:52.636 INFO kablam! warning: unused variable: `headerTemplate` Oct 12 15:21:52.636 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 12 15:21:52.636 INFO kablam! | Oct 12 15:21:52.636 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 12 15:21:52.636 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_headerTemplate` instead Oct 12 15:21:52.637 INFO kablam! Oct 12 15:21:52.637 INFO kablam! warning: unused variable: `i` Oct 12 15:21:52.637 INFO kablam! --> src/dusty/httpParserThread/mod.rs:102:9 Oct 12 15:21:52.637 INFO kablam! | Oct 12 15:21:52.637 INFO kablam! 102 | for i in 0..gathererThreadPoolSize //Spawn gatherer threads Oct 12 15:21:52.637 INFO kablam! | ^ help: consider using `_i` instead Oct 12 15:21:52.637 INFO kablam! Oct 12 15:21:52.637 INFO kablam! warning: unused variable: `i` Oct 12 15:21:52.637 INFO kablam! --> src/dusty/httpParserThread/mod.rs:113:9 Oct 12 15:21:52.637 INFO kablam! | Oct 12 15:21:52.637 INFO kablam! 113 | for i in 0..parserThreadPoolSize Oct 12 15:21:52.637 INFO kablam! | ^ help: consider using `_i` instead Oct 12 15:21:52.637 INFO kablam! Oct 12 15:21:52.637 INFO kablam! warning: unused variable: `gathererManager` Oct 12 15:21:52.637 INFO kablam! --> src/main.rs:30:26 Oct 12 15:21:52.637 INFO kablam! | Oct 12 15:21:52.637 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 12 15:21:52.637 INFO kablam! | ^^^^^^^^^^^^^^^ help: consider using `_gathererManager` instead Oct 12 15:21:52.637 INFO kablam! Oct 12 15:21:52.637 INFO kablam! Oct 12 15:21:52.637 INFO kablam! warning: unused variable: `e` Oct 12 15:21:52.637 INFO kablam! --> src/dusty/cacheManager/mod.rs:67:21 Oct 12 15:21:52.640 INFO kablam! | Oct 12 15:21:52.640 INFO kablam! 67 | Err(e) => Oct 12 15:21:52.640 INFO kablam! | ^ help: consider using `_e` instead Oct 12 15:21:52.640 INFO kablam! Oct 12 15:21:52.640 INFO kablam! warning: unused variable: `filename` Oct 12 15:21:52.640 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:38 Oct 12 15:21:52.640 INFO kablam! | Oct 12 15:21:52.640 INFO kablam! 77 | fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 12 15:21:52.640 INFO kablam! | ^^^^^^^^ help: consider using `_filename` instead Oct 12 15:21:52.640 INFO kablam! Oct 12 15:21:52.640 INFO kablam! warning: unused variable: `headerTemplate` Oct 12 15:21:52.640 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 12 15:21:52.640 INFO kablam! | Oct 12 15:21:52.640 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 12 15:21:52.640 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_headerTemplate` instead Oct 12 15:21:52.640 INFO kablam! Oct 12 15:21:52.640 INFO kablam! warning: unused variable: `i` Oct 12 15:21:52.640 INFO kablam! --> src/dusty/httpParserThread/mod.rs:102:9 Oct 12 15:21:52.640 INFO kablam! | Oct 12 15:21:52.640 INFO kablam! 102 | for i in 0..gathererThreadPoolSize //Spawn gatherer threads Oct 12 15:21:52.640 INFO kablam! | ^ help: consider using `_i` instead Oct 12 15:21:52.640 INFO kablam! Oct 12 15:21:52.640 INFO kablam! warning: unused variable: `i` Oct 12 15:21:52.640 INFO kablam! --> src/dusty/httpParserThread/mod.rs:113:9 Oct 12 15:21:52.644 INFO kablam! | Oct 12 15:21:52.644 INFO kablam! 113 | for i in 0..parserThreadPoolSize Oct 12 15:21:52.644 INFO kablam! | ^ help: consider using `_i` instead Oct 12 15:21:52.644 INFO kablam! Oct 12 15:21:52.644 INFO kablam! warning: unused variable: `gathererManager` Oct 12 15:21:52.644 INFO kablam! --> src/main.rs:30:26 Oct 12 15:21:52.644 INFO kablam! | Oct 12 15:21:52.644 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 12 15:21:52.644 INFO kablam! | ^^^^^^^^^^^^^^^ help: consider using `_gathererManager` instead Oct 12 15:21:52.644 INFO kablam! Oct 12 15:21:52.688 INFO kablam! warning: variable does not need to be mutable Oct 12 15:21:52.688 INFO kablam! --> src/dusty/cacheManager/mod.rs:59:13 Oct 12 15:21:52.688 INFO kablam! | Oct 12 15:21:52.688 INFO kablam! 59 | let mut f = File::open(filename); Oct 12 15:21:52.688 INFO kablam! | ----^ Oct 12 15:21:52.688 INFO kablam! | | Oct 12 15:21:52.688 INFO kablam! | help: remove this `mut` Oct 12 15:21:52.688 INFO kablam! | Oct 12 15:21:52.696 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 15:21:52.696 INFO kablam! Oct 12 15:21:52.720 INFO kablam! warning: variable does not need to be mutable Oct 12 15:21:52.720 INFO kablam! --> src/dusty/cacheManager/mod.rs:59:13 Oct 12 15:21:52.720 INFO kablam! | Oct 12 15:21:52.720 INFO kablam! 59 | let mut f = File::open(filename); Oct 12 15:21:52.720 INFO kablam! | ----^ Oct 12 15:21:52.720 INFO kablam! | | Oct 12 15:21:52.720 INFO kablam! | help: remove this `mut` Oct 12 15:21:52.720 INFO kablam! | Oct 12 15:21:52.720 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 15:21:52.720 INFO kablam! Oct 12 15:21:52.721 INFO kablam! warning: function is never used: `processHeader` Oct 12 15:21:52.721 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 12 15:21:52.721 INFO kablam! | Oct 12 15:21:52.721 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 12 15:21:52.721 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.721 INFO kablam! | Oct 12 15:21:52.722 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 15:21:52.722 INFO kablam! Oct 12 15:21:52.723 INFO kablam! warning: function is never used: `convertVecStrToU8` Oct 12 15:21:52.723 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 12 15:21:52.724 INFO kablam! | Oct 12 15:21:52.724 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 12 15:21:52.724 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.724 INFO kablam! Oct 12 15:21:52.724 INFO kablam! warning: struct is never constructed: `con` Oct 12 15:21:52.724 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 12 15:21:52.724 INFO kablam! | Oct 12 15:21:52.724 INFO kablam! 53 | pub struct con Oct 12 15:21:52.724 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.724 INFO kablam! Oct 12 15:21:52.736 INFO kablam! warning: method is never used: `new` Oct 12 15:21:52.736 INFO kablam! --> src/dusty/connection/mod.rs:61:5 Oct 12 15:21:52.736 INFO kablam! | Oct 12 15:21:52.736 INFO kablam! 61 | pub fn new(buffer : String, stream : TcpStream) -> con Oct 12 15:21:52.736 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.736 INFO kablam! Oct 12 15:21:52.736 INFO kablam! warning: module `httpParser` should have a snake case name such as `http_parser` Oct 12 15:21:52.736 INFO kablam! --> src/main.rs:3:5 Oct 12 15:21:52.736 INFO kablam! | Oct 12 15:21:52.736 INFO kablam! 3 | pub mod httpParser; Oct 12 15:21:52.736 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.736 INFO kablam! | Oct 12 15:21:52.736 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 15:21:52.736 INFO kablam! Oct 12 15:21:52.736 INFO kablam! warning: function `createRequestSchedule` should have a snake case name such as `create_request_schedule` Oct 12 15:21:52.736 INFO kablam! --> src/dusty/httpParser/mod.rs:18:1 Oct 12 15:21:52.736 INFO kablam! | Oct 12 15:21:52.736 INFO kablam! 18 | / pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 12 15:21:52.736 INFO kablam! 19 | | { Oct 12 15:21:52.736 INFO kablam! 20 | | let mut schedule : Vec = Vec::new(); Oct 12 15:21:52.736 INFO kablam! 21 | | Oct 12 15:21:52.736 INFO kablam! ... | Oct 12 15:21:52.736 INFO kablam! 66 | | return (schedule,String::from(" ")); Oct 12 15:21:52.736 INFO kablam! 67 | | } Oct 12 15:21:52.736 INFO kablam! | |_^ Oct 12 15:21:52.736 INFO kablam! Oct 12 15:21:52.736 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 12 15:21:52.736 INFO kablam! --> src/dusty/httpParser/mod.rs:18:51 Oct 12 15:21:52.736 INFO kablam! | Oct 12 15:21:52.736 INFO kablam! 18 | pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 12 15:21:52.736 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 15:21:52.736 INFO kablam! Oct 12 15:21:52.736 INFO kablam! warning: variable `lineBuffer` should have a snake case name such as `line_buffer` Oct 12 15:21:52.736 INFO kablam! --> src/dusty/httpParser/mod.rs:25:9 Oct 12 15:21:52.736 INFO kablam! | Oct 12 15:21:52.736 INFO kablam! 25 | let mut lineBuffer = String::with_capacity(512); Oct 12 15:21:52.736 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.736 INFO kablam! Oct 12 15:21:52.736 INFO kablam! warning: variable `newRequest` should have a snake case name such as `new_request` Oct 12 15:21:52.736 INFO kablam! --> src/dusty/httpParser/mod.rs:44:34 Oct 12 15:21:52.736 INFO kablam! | Oct 12 15:21:52.736 INFO kablam! 44 | Some(newRequest) => Oct 12 15:21:52.736 INFO kablam! | ^^^^^^^^^^ Oct 12 15:21:52.737 INFO kablam! Oct 12 15:21:52.737 INFO kablam! warning: function `processHeader` should have a snake case name such as `process_header` Oct 12 15:21:52.737 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 12 15:21:52.737 INFO kablam! | Oct 12 15:21:52.737 INFO kablam! 70 | / fn processHeader(header: &str, contentStart: usize) Oct 12 15:21:52.737 INFO kablam! 71 | | { Oct 12 15:21:52.737 INFO kablam! 72 | | println!("Header : {}", &header[0..contentStart]); Oct 12 15:21:52.737 INFO kablam! 73 | | println!("Content : {}",&header[contentStart+1..header.len()]); Oct 12 15:21:52.737 INFO kablam! 74 | | println!(); Oct 12 15:21:52.737 INFO kablam! 75 | | } Oct 12 15:21:52.737 INFO kablam! | |_^ Oct 12 15:21:52.737 INFO kablam! Oct 12 15:21:52.737 INFO kablam! warning: variable `contentStart` should have a snake case name such as `content_start` Oct 12 15:21:52.737 INFO kablam! --> src/dusty/httpParser/mod.rs:70:32 Oct 12 15:21:52.737 INFO kablam! | Oct 12 15:21:52.737 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 12 15:21:52.737 INFO kablam! | ^^^^^^^^^^^^ Oct 12 15:21:52.737 INFO kablam! Oct 12 15:21:52.737 INFO kablam! warning: function `processFileRequest` should have a snake case name such as `process_file_request` Oct 12 15:21:52.737 INFO kablam! --> src/dusty/httpParser/mod.rs:79:1 Oct 12 15:21:52.737 INFO kablam! | Oct 12 15:21:52.737 INFO kablam! 79 | / pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 12 15:21:52.737 INFO kablam! 80 | | { Oct 12 15:21:52.737 INFO kablam! 81 | | match cache.lock() Oct 12 15:21:52.737 INFO kablam! 82 | | { Oct 12 15:21:52.737 INFO kablam! ... | Oct 12 15:21:52.737 INFO kablam! 117 | | } Oct 12 15:21:52.737 INFO kablam! 118 | | } Oct 12 15:21:52.737 INFO kablam! | |_^ Oct 12 15:21:52.737 INFO kablam! Oct 12 15:21:52.737 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.737 INFO kablam! --> src/dusty/httpParser/mod.rs:79:31 Oct 12 15:21:52.737 INFO kablam! | Oct 12 15:21:52.737 INFO kablam! 79 | pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 12 15:21:52.737 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.737 INFO kablam! Oct 12 15:21:52.737 INFO kablam! warning: variable `fileString` should have a snake case name such as `file_string` Oct 12 15:21:52.737 INFO kablam! --> src/dusty/httpParser/mod.rs:89:26 Oct 12 15:21:52.737 INFO kablam! | Oct 12 15:21:52.737 INFO kablam! 89 | let (fileString, size) = cacheManager::readNewUncachedFile(&filePath); Oct 12 15:21:52.737 INFO kablam! | ^^^^^^^^^^ Oct 12 15:21:52.737 INFO kablam! Oct 12 15:21:52.737 INFO kablam! warning: function `processRequestLine` should have a snake case name such as `process_request_line` Oct 12 15:21:52.737 INFO kablam! --> src/dusty/httpParser/mod.rs:120:1 Oct 12 15:21:52.737 INFO kablam! | Oct 12 15:21:52.737 INFO kablam! 120 | / fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 12 15:21:52.737 INFO kablam! 121 | | { Oct 12 15:21:52.737 INFO kablam! 122 | | if line == "\r\n" Oct 12 15:21:52.737 INFO kablam! 123 | | { Oct 12 15:21:52.737 INFO kablam! ... | Oct 12 15:21:52.737 INFO kablam! 188 | | } Oct 12 15:21:52.737 INFO kablam! 189 | | } Oct 12 15:21:52.737 INFO kablam! | |_^ Oct 12 15:21:52.737 INFO kablam! Oct 12 15:21:52.740 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 12 15:21:52.740 INFO kablam! --> src/dusty/httpParser/mod.rs:120:36 Oct 12 15:21:52.740 INFO kablam! | Oct 12 15:21:52.740 INFO kablam! 120 | fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 12 15:21:52.740 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 15:21:52.740 INFO kablam! Oct 12 15:21:52.740 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 12 15:21:52.740 INFO kablam! --> src/dusty/httpParser/mod.rs:142:29 Oct 12 15:21:52.740 INFO kablam! | Oct 12 15:21:52.740 INFO kablam! 142 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 12 15:21:52.740 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.740 INFO kablam! Oct 12 15:21:52.740 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.740 INFO kablam! --> src/dusty/httpParser/mod.rs:145:33 Oct 12 15:21:52.740 INFO kablam! | Oct 12 15:21:52.740 INFO kablam! 145 | let filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 12 15:21:52.740 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.740 INFO kablam! Oct 12 15:21:52.740 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 12 15:21:52.740 INFO kablam! --> src/dusty/httpParser/mod.rs:157:33 Oct 12 15:21:52.740 INFO kablam! | Oct 12 15:21:52.740 INFO kablam! 157 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 12 15:21:52.740 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.740 INFO kablam! Oct 12 15:21:52.740 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.740 INFO kablam! --> src/dusty/httpParser/mod.rs:159:37 Oct 12 15:21:52.740 INFO kablam! | Oct 12 15:21:52.740 INFO kablam! 159 | let mut filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 12 15:21:52.740 INFO kablam! | ^^^^^^^^^^^^ Oct 12 15:21:52.740 INFO kablam! Oct 12 15:21:52.740 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.740 INFO kablam! --> src/dusty/httpParser/mod.rs:169:33 Oct 12 15:21:52.741 INFO kablam! | Oct 12 15:21:52.741 INFO kablam! 169 | let mut filePath = pathBuilder::returnFullPath(&line); Oct 12 15:21:52.741 INFO kablam! | ^^^^^^^^^^^^ Oct 12 15:21:52.741 INFO kablam! Oct 12 15:21:52.741 INFO kablam! warning: function `convertVecStrToU8` should have a snake case name such as `convert_vec_str_to_u8` Oct 12 15:21:52.741 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 12 15:21:52.741 INFO kablam! | Oct 12 15:21:52.741 INFO kablam! 196 | / fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 12 15:21:52.741 INFO kablam! 197 | | { Oct 12 15:21:52.741 INFO kablam! 198 | | let mut str_as_u8 : Vec = Vec::new(); Oct 12 15:21:52.741 INFO kablam! 199 | | for res in responseBuffer Oct 12 15:21:52.741 INFO kablam! ... | Oct 12 15:21:52.741 INFO kablam! 203 | | str_as_u8 Oct 12 15:21:52.741 INFO kablam! 204 | | } Oct 12 15:21:52.741 INFO kablam! | |_^ Oct 12 15:21:52.741 INFO kablam! Oct 12 15:21:52.741 INFO kablam! warning: variable `responseBuffer` should have a snake case name such as `response_buffer` Oct 12 15:21:52.741 INFO kablam! --> src/dusty/httpParser/mod.rs:196:22 Oct 12 15:21:52.741 INFO kablam! | Oct 12 15:21:52.741 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 12 15:21:52.741 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.741 INFO kablam! Oct 12 15:21:52.741 INFO kablam! warning: module `pathBuilder` should have a snake case name such as `path_builder` Oct 12 15:21:52.741 INFO kablam! --> src/main.rs:4:5 Oct 12 15:21:52.741 INFO kablam! | Oct 12 15:21:52.741 INFO kablam! 4 | pub mod pathBuilder; Oct 12 15:21:52.741 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.741 INFO kablam! Oct 12 15:21:52.741 INFO kablam! warning: function `returnFullPath` should have a snake case name such as `return_full_path` Oct 12 15:21:52.741 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:1 Oct 12 15:21:52.741 INFO kablam! | Oct 12 15:21:52.744 INFO kablam! 9 | / pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 12 15:21:52.744 INFO kablam! 10 | | { Oct 12 15:21:52.744 INFO kablam! 11 | | match current_dir().unwrap().to_str() Oct 12 15:21:52.744 INFO kablam! 12 | | { Oct 12 15:21:52.744 INFO kablam! ... | Oct 12 15:21:52.744 INFO kablam! 38 | | Oct 12 15:21:52.744 INFO kablam! 39 | | } Oct 12 15:21:52.744 INFO kablam! | |_^ Oct 12 15:21:52.744 INFO kablam! Oct 12 15:21:52.744 INFO kablam! warning: variable `localPath` should have a snake case name such as `local_path` Oct 12 15:21:52.744 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:27 Oct 12 15:21:52.744 INFO kablam! | Oct 12 15:21:52.744 INFO kablam! 9 | pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 12 15:21:52.744 INFO kablam! | ^^^^^^^^^ Oct 12 15:21:52.744 INFO kablam! Oct 12 15:21:52.744 INFO kablam! warning: variable `tempPath` should have a snake case name such as `temp_path` Oct 12 15:21:52.744 INFO kablam! --> src/dusty/pathBuilder/mod.rs:16:17 Oct 12 15:21:52.744 INFO kablam! | Oct 12 15:21:52.744 INFO kablam! 16 | let mut tempPath = PathBuf::new(); Oct 12 15:21:52.744 INFO kablam! | ^^^^^^^^^^^^ Oct 12 15:21:52.744 INFO kablam! Oct 12 15:21:52.744 INFO kablam! warning: variable `newPath` should have a snake case name such as `new_path` Oct 12 15:21:52.744 INFO kablam! --> src/dusty/pathBuilder/mod.rs:19:17 Oct 12 15:21:52.744 INFO kablam! | Oct 12 15:21:52.744 INFO kablam! 19 | let newPath : Vec<&str> = localPath.split("/").collect(); Oct 12 15:21:52.744 INFO kablam! | ^^^^^^^ Oct 12 15:21:52.744 INFO kablam! Oct 12 15:21:52.744 INFO kablam! warning: variable `finalPath` should have a snake case name such as `final_path` Oct 12 15:21:52.744 INFO kablam! --> src/dusty/pathBuilder/mod.rs:27:22 Oct 12 15:21:52.744 INFO kablam! | Oct 12 15:21:52.744 INFO kablam! 27 | Some(finalPath) => return finalPath.to_string(), Oct 12 15:21:52.744 INFO kablam! | ^^^^^^^^^ Oct 12 15:21:52.744 INFO kablam! Oct 12 15:21:52.748 INFO kablam! warning: module `cacheManager` should have a snake case name such as `cache_manager` Oct 12 15:21:52.748 INFO kablam! --> src/main.rs:5:5 Oct 12 15:21:52.748 INFO kablam! | Oct 12 15:21:52.748 INFO kablam! 5 | pub mod cacheManager; Oct 12 15:21:52.748 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.748 INFO kablam! Oct 12 15:21:52.748 INFO kablam! warning: type `cache` should have a camel case name such as `Cache` Oct 12 15:21:52.752 INFO kablam! --> src/dusty/cacheManager/mod.rs:8:1 Oct 12 15:21:52.752 INFO kablam! | Oct 12 15:21:52.752 INFO kablam! 8 | / pub struct cache Oct 12 15:21:52.752 INFO kablam! 9 | | { Oct 12 15:21:52.752 INFO kablam! 10 | | c : HashMap, Oct 12 15:21:52.752 INFO kablam! 11 | | fileSize : HashMap Oct 12 15:21:52.752 INFO kablam! 12 | | } Oct 12 15:21:52.752 INFO kablam! | |_^ Oct 12 15:21:52.752 INFO kablam! | Oct 12 15:21:52.752 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 12 15:21:52.752 INFO kablam! Oct 12 15:21:52.752 INFO kablam! warning: structure field `fileSize` should have a snake case name such as `file_size` Oct 12 15:21:52.752 INFO kablam! --> src/dusty/cacheManager/mod.rs:11:5 Oct 12 15:21:52.752 INFO kablam! | Oct 12 15:21:52.752 INFO kablam! 11 | fileSize : HashMap Oct 12 15:21:52.752 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.752 INFO kablam! Oct 12 15:21:52.752 INFO kablam! warning: method `checkSize` should have a snake case name such as `check_size` Oct 12 15:21:52.752 INFO kablam! --> src/dusty/cacheManager/mod.rs:37:5 Oct 12 15:21:52.752 INFO kablam! | Oct 12 15:21:52.752 INFO kablam! 37 | / pub fn checkSize(&mut self, path : &str) -> usize Oct 12 15:21:52.752 INFO kablam! 38 | | { Oct 12 15:21:52.752 INFO kablam! 39 | | match self.fileSize.contains_key(path) Oct 12 15:21:52.752 INFO kablam! 40 | | { Oct 12 15:21:52.752 INFO kablam! ... | Oct 12 15:21:52.752 INFO kablam! 43 | | } Oct 12 15:21:52.752 INFO kablam! 44 | | } Oct 12 15:21:52.752 INFO kablam! | |_____^ Oct 12 15:21:52.752 INFO kablam! Oct 12 15:21:52.752 INFO kablam! warning: method `insertNewCacheItem` should have a snake case name such as `insert_new_cache_item` Oct 12 15:21:52.752 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:5 Oct 12 15:21:52.752 INFO kablam! | Oct 12 15:21:52.752 INFO kablam! 47 | / pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 12 15:21:52.752 INFO kablam! 48 | | { Oct 12 15:21:52.752 INFO kablam! 49 | | self.c.insert(path.to_string(),FileStr.clone()); Oct 12 15:21:52.752 INFO kablam! 50 | | self.fileSize.insert(path.to_string(),FileStr.len()); Oct 12 15:21:52.752 INFO kablam! 51 | | FileStr.len() Oct 12 15:21:52.752 INFO kablam! 52 | | } Oct 12 15:21:52.752 INFO kablam! | |_____^ Oct 12 15:21:52.752 INFO kablam! Oct 12 15:21:52.752 INFO kablam! warning: variable `FileStr` should have a snake case name such as `file_str` Oct 12 15:21:52.752 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:56 Oct 12 15:21:52.752 INFO kablam! | Oct 12 15:21:52.752 INFO kablam! 47 | pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 12 15:21:52.752 INFO kablam! | ^^^^^^^ Oct 12 15:21:52.752 INFO kablam! Oct 12 15:21:52.752 INFO kablam! warning: function `readNewUncachedFile` should have a snake case name such as `read_new_uncached_file` Oct 12 15:21:52.752 INFO kablam! --> src/dusty/cacheManager/mod.rs:57:5 Oct 12 15:21:52.752 INFO kablam! | Oct 12 15:21:52.752 INFO kablam! 57 | / pub fn readNewUncachedFile(filename: &str) -> (String, usize) Oct 12 15:21:52.752 INFO kablam! 58 | | { Oct 12 15:21:52.753 INFO kablam! 59 | | let mut f = File::open(filename); Oct 12 15:21:52.753 INFO kablam! 60 | | match f Oct 12 15:21:52.753 INFO kablam! ... | Oct 12 15:21:52.753 INFO kablam! 73 | | } Oct 12 15:21:52.753 INFO kablam! 74 | | } Oct 12 15:21:52.753 INFO kablam! | |_____^ Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.753 INFO kablam! warning: function `readText` should have a snake case name such as `read_text` Oct 12 15:21:52.753 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:5 Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! 77 | / fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 12 15:21:52.753 INFO kablam! 78 | | { Oct 12 15:21:52.753 INFO kablam! 79 | | let mut s = String::new(); Oct 12 15:21:52.753 INFO kablam! 80 | | let lenRead = readable.read_to_string(&mut s); Oct 12 15:21:52.753 INFO kablam! ... | Oct 12 15:21:52.753 INFO kablam! 94 | | } Oct 12 15:21:52.753 INFO kablam! 95 | | } Oct 12 15:21:52.753 INFO kablam! | |_____^ Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.753 INFO kablam! warning: variable `lenRead` should have a snake case name such as `len_read` Oct 12 15:21:52.753 INFO kablam! --> src/dusty/cacheManager/mod.rs:80:13 Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! 80 | let lenRead = readable.read_to_string(&mut s); Oct 12 15:21:52.753 INFO kablam! | ^^^^^^^ Oct 12 15:21:52.753 INFO kablam! warning: function is never used: `processHeader` Oct 12 15:21:52.753 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 12 15:21:52.753 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.753 INFO kablam! warning: function is never used: `convertVecStrToU8` Oct 12 15:21:52.753 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 12 15:21:52.753 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.753 INFO kablam! warning: struct is never constructed: `con` Oct 12 15:21:52.753 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! 53 | pub struct con Oct 12 15:21:52.753 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.753 INFO kablam! warning: method is never used: `new` Oct 12 15:21:52.753 INFO kablam! --> src/dusty/connection/mod.rs:61:5 Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! 61 | pub fn new(buffer : String, stream : TcpStream) -> con Oct 12 15:21:52.753 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.753 INFO kablam! warning: module `httpParser` should have a snake case name such as `http_parser` Oct 12 15:21:52.753 INFO kablam! --> src/main.rs:3:5 Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! 3 | pub mod httpParser; Oct 12 15:21:52.753 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.753 INFO kablam! warning: variable `lR` should have a snake case name such as `l_r` Oct 12 15:21:52.753 INFO kablam! --> src/dusty/cacheManager/mod.rs:83:24 Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! 83 | Ok(lR) => Oct 12 15:21:52.753 INFO kablam! | ^^ Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.753 INFO kablam! warning: function `createRequestSchedule` should have a snake case name such as `create_request_schedule` Oct 12 15:21:52.753 INFO kablam! --> src/dusty/httpParser/mod.rs:18:1 Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! 18 | / pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 12 15:21:52.753 INFO kablam! 19 | | { Oct 12 15:21:52.753 INFO kablam! 20 | | let mut schedule : Vec = Vec::new(); Oct 12 15:21:52.753 INFO kablam! 21 | | Oct 12 15:21:52.753 INFO kablam! ... | Oct 12 15:21:52.753 INFO kablam! 66 | | return (schedule,String::from(" ")); Oct 12 15:21:52.753 INFO kablam! 67 | | } Oct 12 15:21:52.753 INFO kablam! | |_^ Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.753 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 12 15:21:52.753 INFO kablam! --> src/dusty/httpParser/mod.rs:18:51 Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! 18 | pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 12 15:21:52.753 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.753 INFO kablam! warning: variable `lineBuffer` should have a snake case name such as `line_buffer` Oct 12 15:21:52.753 INFO kablam! --> src/dusty/httpParser/mod.rs:25:9 Oct 12 15:21:52.753 INFO kablam! | Oct 12 15:21:52.753 INFO kablam! 25 | let mut lineBuffer = String::with_capacity(512); Oct 12 15:21:52.753 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.753 INFO kablam! Oct 12 15:21:52.760 INFO kablam! warning: variable `newRequest` should have a snake case name such as `new_request` Oct 12 15:21:52.760 INFO kablam! --> src/dusty/httpParser/mod.rs:44:34 Oct 12 15:21:52.760 INFO kablam! | Oct 12 15:21:52.760 INFO kablam! 44 | Some(newRequest) => Oct 12 15:21:52.760 INFO kablam! | ^^^^^^^^^^ Oct 12 15:21:52.760 INFO kablam! Oct 12 15:21:52.760 INFO kablam! warning: function `processHeader` should have a snake case name such as `process_header` Oct 12 15:21:52.760 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 12 15:21:52.760 INFO kablam! | Oct 12 15:21:52.760 INFO kablam! 70 | / fn processHeader(header: &str, contentStart: usize) Oct 12 15:21:52.760 INFO kablam! 71 | | { Oct 12 15:21:52.760 INFO kablam! 72 | | println!("Header : {}", &header[0..contentStart]); Oct 12 15:21:52.760 INFO kablam! 73 | | println!("Content : {}",&header[contentStart+1..header.len()]); Oct 12 15:21:52.760 INFO kablam! 74 | | println!(); Oct 12 15:21:52.760 INFO kablam! 75 | | } Oct 12 15:21:52.760 INFO kablam! | |_^ Oct 12 15:21:52.760 INFO kablam! Oct 12 15:21:52.760 INFO kablam! warning: type `request` should have a camel case name such as `Request` Oct 12 15:21:52.760 INFO kablam! --> src/dusty/connection/mod.rs:13:1 Oct 12 15:21:52.760 INFO kablam! | Oct 12 15:21:52.760 INFO kablam! 13 | / pub struct request Oct 12 15:21:52.760 INFO kablam! 14 | | { Oct 12 15:21:52.760 INFO kablam! 15 | | pub filePath : String, Oct 12 15:21:52.760 INFO kablam! 16 | | pub size : usize, Oct 12 15:21:52.760 INFO kablam! 17 | | pub streamChannel : Sender Oct 12 15:21:52.760 INFO kablam! 18 | | } Oct 12 15:21:52.760 INFO kablam! | |_^ Oct 12 15:21:52.760 INFO kablam! warning: variable `contentStart` should have a snake case name such as `content_start` Oct 12 15:21:52.760 INFO kablam! --> src/dusty/httpParser/mod.rs:70:32 Oct 12 15:21:52.760 INFO kablam! | Oct 12 15:21:52.760 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 12 15:21:52.760 INFO kablam! | ^^^^^^^^^^^^ Oct 12 15:21:52.760 INFO kablam! Oct 12 15:21:52.760 INFO kablam! Oct 12 15:21:52.760 INFO kablam! warning: function `processFileRequest` should have a snake case name such as `process_file_request` Oct 12 15:21:52.760 INFO kablam! --> src/dusty/httpParser/mod.rs:79:1 Oct 12 15:21:52.760 INFO kablam! | Oct 12 15:21:52.760 INFO kablam! warning: structure field `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.760 INFO kablam! 79 | / pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 12 15:21:52.760 INFO kablam! --> src/dusty/connection/mod.rs:15:5 Oct 12 15:21:52.760 INFO kablam! 80 | | { Oct 12 15:21:52.760 INFO kablam! | Oct 12 15:21:52.760 INFO kablam! 81 | | match cache.lock() Oct 12 15:21:52.760 INFO kablam! 82 | | { Oct 12 15:21:52.760 INFO kablam! 15 | pub filePath : String, Oct 12 15:21:52.761 INFO kablam! ... | Oct 12 15:21:52.761 INFO kablam! 117 | | } Oct 12 15:21:52.761 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.761 INFO kablam! 118 | | } Oct 12 15:21:52.761 INFO kablam! | |_^ Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! warning: structure field `streamChannel` should have a snake case name such as `stream_channel` Oct 12 15:21:52.761 INFO kablam! --> src/dusty/connection/mod.rs:17:5 Oct 12 15:21:52.761 INFO kablam! | Oct 12 15:21:52.761 INFO kablam! 17 | pub streamChannel : Sender Oct 12 15:21:52.761 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.761 INFO kablam! --> src/dusty/connection/mod.rs:22:16 Oct 12 15:21:52.761 INFO kablam! | Oct 12 15:21:52.761 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 12 15:21:52.761 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 12 15:21:52.761 INFO kablam! --> src/dusty/connection/mod.rs:22:48 Oct 12 15:21:52.761 INFO kablam! | Oct 12 15:21:52.761 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 12 15:21:52.761 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.761 INFO kablam! --> src/dusty/httpParser/mod.rs:79:31 Oct 12 15:21:52.761 INFO kablam! | Oct 12 15:21:52.761 INFO kablam! 79 | pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 12 15:21:52.761 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! warning: variable `fileString` should have a snake case name such as `file_string` Oct 12 15:21:52.761 INFO kablam! --> src/dusty/httpParser/mod.rs:89:26 Oct 12 15:21:52.761 INFO kablam! | Oct 12 15:21:52.761 INFO kablam! 89 | let (fileString, size) = cacheManager::readNewUncachedFile(&filePath); Oct 12 15:21:52.761 INFO kablam! | ^^^^^^^^^^ Oct 12 15:21:52.761 INFO kablam! warning: type `response` should have a camel case name such as `Response` Oct 12 15:21:52.761 INFO kablam! --> src/dusty/connection/mod.rs:38:1 Oct 12 15:21:52.761 INFO kablam! | Oct 12 15:21:52.761 INFO kablam! 38 | / pub struct response Oct 12 15:21:52.761 INFO kablam! 39 | | { Oct 12 15:21:52.761 INFO kablam! 40 | | pub body : String, Oct 12 15:21:52.761 INFO kablam! 41 | | pub header : String Oct 12 15:21:52.761 INFO kablam! 42 | | } Oct 12 15:21:52.761 INFO kablam! | |_^ Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! warning: type `con` should have a camel case name such as `Con` Oct 12 15:21:52.761 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 12 15:21:52.761 INFO kablam! | Oct 12 15:21:52.761 INFO kablam! 53 | / pub struct con Oct 12 15:21:52.761 INFO kablam! 54 | | { Oct 12 15:21:52.761 INFO kablam! 55 | | pub buffer: String, Oct 12 15:21:52.761 INFO kablam! 56 | | pub stream: TcpStream Oct 12 15:21:52.761 INFO kablam! 57 | | } Oct 12 15:21:52.761 INFO kablam! | |_^ Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! warning: module `httpParserThread` should have a snake case name such as `http_parser_thread` Oct 12 15:21:52.761 INFO kablam! warning: function `processRequestLine` should have a snake case name such as `process_request_line` Oct 12 15:21:52.761 INFO kablam! --> src/dusty/httpParser/mod.rs:120:1 Oct 12 15:21:52.761 INFO kablam! | Oct 12 15:21:52.761 INFO kablam! 120 | / fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 12 15:21:52.761 INFO kablam! 121 | | { Oct 12 15:21:52.761 INFO kablam! 122 | | if line == "\r\n" Oct 12 15:21:52.761 INFO kablam! 123 | | { Oct 12 15:21:52.761 INFO kablam! ... | Oct 12 15:21:52.761 INFO kablam! 188 | | } Oct 12 15:21:52.761 INFO kablam! 189 | | } Oct 12 15:21:52.761 INFO kablam! | |_^ Oct 12 15:21:52.761 INFO kablam! --> src/main.rs:7:5 Oct 12 15:21:52.761 INFO kablam! | Oct 12 15:21:52.761 INFO kablam! 7 | pub mod httpParserThread; Oct 12 15:21:52.761 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 12 15:21:52.761 INFO kablam! --> src/dusty/httpParser/mod.rs:120:36 Oct 12 15:21:52.761 INFO kablam! | Oct 12 15:21:52.761 INFO kablam! 120 | fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 12 15:21:52.761 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 15:21:52.761 INFO kablam! Oct 12 15:21:52.761 INFO kablam! warning: function `spawnNewParserThread` should have a snake case name such as `spawn_new_parser_thread` Oct 12 15:21:52.761 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:1 Oct 12 15:21:52.761 INFO kablam! | Oct 12 15:21:52.761 INFO kablam! 12 | / pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 12 15:21:52.761 INFO kablam! 13 | | { Oct 12 15:21:52.761 INFO kablam! 14 | | thread::spawn(move || Oct 12 15:21:52.761 INFO kablam! 15 | | { Oct 12 15:21:52.761 INFO kablam! ... | Oct 12 15:21:52.761 INFO kablam! 66 | | Oct 12 15:21:52.761 INFO kablam! 67 | | } Oct 12 15:21:52.762 INFO kablam! | |_^ Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParser/mod.rs:142:29 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 142 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 12 15:21:52.762 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.762 INFO kablam! warning: variable `streamReceiver` should have a snake case name such as `stream_receiver` Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:29 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 12 15:21:52.762 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! warning: variable `gathererManagerChannel` should have a snake case name such as `gatherer_manager_channel` Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:67 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 12 15:21:52.762 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParser/mod.rs:145:33 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 145 | let filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 12 15:21:52.762 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.762 INFO kablam! warning: variable `localSend` should have a snake case name such as `local_send` Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:14 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 12 15:21:52.762 INFO kablam! | ^^^^^^^^^ Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! warning: variable `localRecv` should have a snake case name such as `local_recv` Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:25 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 12 15:21:52.762 INFO kablam! | ^^^^^^^^^ Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! warning: variable `headerTemplate` should have a snake case name such as `header_template` Oct 12 15:21:52.762 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 12 15:21:52.762 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParser/mod.rs:157:33 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 157 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 12 15:21:52.762 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! warning: variable `requestCount` should have a snake case name such as `request_count` Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParserThread/mod.rs:29:25 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 29 | let mut requestCount = schedule.len(); Oct 12 15:21:52.762 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParserThread/mod.rs:35:25 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 35 | gathererManagerChannel.send(req); Oct 12 15:21:52.762 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 12 15:21:52.762 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! warning: function `spawnNewGathererThread` should have a snake case name such as `spawn_new_gatherer_thread` Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:1 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 70 | / pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 12 15:21:52.762 INFO kablam! 71 | | { Oct 12 15:21:52.762 INFO kablam! 72 | | thread::spawn(move || Oct 12 15:21:52.762 INFO kablam! 73 | | { Oct 12 15:21:52.762 INFO kablam! ... | Oct 12 15:21:52.762 INFO kablam! 88 | | }); Oct 12 15:21:52.762 INFO kablam! 89 | | } Oct 12 15:21:52.762 INFO kablam! | |_^ Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! warning: variable `requestReceiver` should have a snake case name such as `request_receiver` Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:31 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 70 | pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 12 15:21:52.762 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:21:52.762 INFO kablam! Oct 12 15:21:52.762 INFO kablam! warning: function `createIndependentThreadPools` should have a snake case name such as `create_independent_thread_pools` Oct 12 15:21:52.762 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:1 Oct 12 15:21:52.762 INFO kablam! | Oct 12 15:21:52.762 INFO kablam! 93 | / pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 12 15:21:52.762 INFO kablam! 94 | | { Oct 12 15:21:52.762 INFO kablam! 95 | | //These are the meat and potatos of dusty Oct 12 15:21:52.763 INFO kablam! 96 | | //They are simply a vec pointing to channels Oct 12 15:21:52.763 INFO kablam! ... | Oct 12 15:21:52.763 INFO kablam! 122 | | Oct 12 15:21:52.763 INFO kablam! 123 | | } Oct 12 15:21:52.763 INFO kablam! | |_^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: variable `parserThreadPoolSize` should have a snake case name such as `parser_thread_pool_size` Oct 12 15:21:52.763 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:37 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 12 15:21:52.763 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: variable `gathererThreadPoolSize` should have a snake case name such as `gatherer_thread_pool_size` Oct 12 15:21:52.763 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:66 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 12 15:21:52.763 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: variable `gathererChannels` should have a snake case name such as `gatherer_channels` Oct 12 15:21:52.763 INFO kablam! --> src/dusty/httpParserThread/mod.rs:98:9 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 98 | let mut gathererChannels : Vec> = Vec::new(); Oct 12 15:21:52.763 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.763 INFO kablam! --> src/dusty/httpParser/mod.rs:159:37 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 159 | let mut filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 12 15:21:52.763 INFO kablam! | ^^^^^^^^^^^^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.763 INFO kablam! --> src/dusty/httpParser/mod.rs:169:33 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 169 | let mut filePath = pathBuilder::returnFullPath(&line); Oct 12 15:21:52.763 INFO kablam! | ^^^^^^^^^^^^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: function `convertVecStrToU8` should have a snake case name such as `convert_vec_str_to_u8` Oct 12 15:21:52.763 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 196 | / fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 12 15:21:52.763 INFO kablam! 197 | | { Oct 12 15:21:52.763 INFO kablam! 198 | | let mut str_as_u8 : Vec = Vec::new(); Oct 12 15:21:52.763 INFO kablam! 199 | | for res in responseBuffer Oct 12 15:21:52.763 INFO kablam! ... | Oct 12 15:21:52.763 INFO kablam! 203 | | str_as_u8 Oct 12 15:21:52.763 INFO kablam! 204 | | } Oct 12 15:21:52.763 INFO kablam! | |_^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: variable `responseBuffer` should have a snake case name such as `response_buffer` Oct 12 15:21:52.763 INFO kablam! --> src/dusty/httpParser/mod.rs:196:22 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 12 15:21:52.763 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: module `pathBuilder` should have a snake case name such as `path_builder` Oct 12 15:21:52.763 INFO kablam! --> src/main.rs:4:5 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 4 | pub mod pathBuilder; Oct 12 15:21:52.763 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: function `returnFullPath` should have a snake case name such as `return_full_path` Oct 12 15:21:52.763 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:1 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 9 | / pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 12 15:21:52.763 INFO kablam! 10 | | { Oct 12 15:21:52.763 INFO kablam! 11 | | match current_dir().unwrap().to_str() Oct 12 15:21:52.763 INFO kablam! 12 | | { Oct 12 15:21:52.763 INFO kablam! ... | Oct 12 15:21:52.763 INFO kablam! 38 | | Oct 12 15:21:52.763 INFO kablam! 39 | | } Oct 12 15:21:52.763 INFO kablam! | |_^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: variable `localPath` should have a snake case name such as `local_path` Oct 12 15:21:52.763 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:27 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 9 | pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 12 15:21:52.763 INFO kablam! | ^^^^^^^^^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: variable `tempPath` should have a snake case name such as `temp_path` Oct 12 15:21:52.763 INFO kablam! --> src/dusty/pathBuilder/mod.rs:16:17 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 16 | let mut tempPath = PathBuf::new(); Oct 12 15:21:52.763 INFO kablam! | ^^^^^^^^^^^^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.763 INFO kablam! warning: variable `newPath` should have a snake case name such as `new_path` Oct 12 15:21:52.763 INFO kablam! --> src/dusty/pathBuilder/mod.rs:19:17 Oct 12 15:21:52.763 INFO kablam! | Oct 12 15:21:52.763 INFO kablam! 19 | let newPath : Vec<&str> = localPath.split("/").collect(); Oct 12 15:21:52.763 INFO kablam! | ^^^^^^^ Oct 12 15:21:52.763 INFO kablam! Oct 12 15:21:52.764 INFO kablam! warning: variable `finalPath` should have a snake case name such as `final_path` Oct 12 15:21:52.764 INFO kablam! --> src/dusty/pathBuilder/mod.rs:27:22 Oct 12 15:21:52.764 INFO kablam! | Oct 12 15:21:52.764 INFO kablam! 27 | Some(finalPath) => return finalPath.to_string(), Oct 12 15:21:52.764 INFO kablam! | ^^^^^^^^^ Oct 12 15:21:52.764 INFO kablam! Oct 12 15:21:52.764 INFO kablam! warning: module `cacheManager` should have a snake case name such as `cache_manager` Oct 12 15:21:52.764 INFO kablam! --> src/main.rs:5:5 Oct 12 15:21:52.764 INFO kablam! | Oct 12 15:21:52.764 INFO kablam! 5 | pub mod cacheManager; Oct 12 15:21:52.764 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.764 INFO kablam! Oct 12 15:21:52.764 INFO kablam! warning: type `cache` should have a camel case name such as `Cache` Oct 12 15:21:52.764 INFO kablam! --> src/dusty/cacheManager/mod.rs:8:1 Oct 12 15:21:52.764 INFO kablam! | Oct 12 15:21:52.764 INFO kablam! 8 | / pub struct cache Oct 12 15:21:52.764 INFO kablam! 9 | | { Oct 12 15:21:52.764 INFO kablam! 10 | | c : HashMap, Oct 12 15:21:52.764 INFO kablam! 11 | | fileSize : HashMap Oct 12 15:21:52.764 INFO kablam! 12 | | } Oct 12 15:21:52.764 INFO kablam! | |_^ Oct 12 15:21:52.764 INFO kablam! | Oct 12 15:21:52.764 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 12 15:21:52.764 INFO kablam! Oct 12 15:21:52.764 INFO kablam! warning: structure field `fileSize` should have a snake case name such as `file_size` Oct 12 15:21:52.764 INFO kablam! --> src/dusty/cacheManager/mod.rs:11:5 Oct 12 15:21:52.764 INFO kablam! | Oct 12 15:21:52.764 INFO kablam! 11 | fileSize : HashMap Oct 12 15:21:52.764 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.764 INFO kablam! Oct 12 15:21:52.764 INFO kablam! warning: method `checkSize` should have a snake case name such as `check_size` Oct 12 15:21:52.764 INFO kablam! --> src/dusty/cacheManager/mod.rs:37:5 Oct 12 15:21:52.764 INFO kablam! | Oct 12 15:21:52.764 INFO kablam! 37 | / pub fn checkSize(&mut self, path : &str) -> usize Oct 12 15:21:52.764 INFO kablam! 38 | | { Oct 12 15:21:52.764 INFO kablam! 39 | | match self.fileSize.contains_key(path) Oct 12 15:21:52.764 INFO kablam! 40 | | { Oct 12 15:21:52.764 INFO kablam! ... | Oct 12 15:21:52.764 INFO kablam! 43 | | } Oct 12 15:21:52.764 INFO kablam! 44 | | } Oct 12 15:21:52.764 INFO kablam! | |_____^ Oct 12 15:21:52.764 INFO kablam! Oct 12 15:21:52.764 INFO kablam! warning: method `insertNewCacheItem` should have a snake case name such as `insert_new_cache_item` Oct 12 15:21:52.764 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:5 Oct 12 15:21:52.764 INFO kablam! | Oct 12 15:21:52.764 INFO kablam! 47 | / pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 12 15:21:52.764 INFO kablam! 48 | | { Oct 12 15:21:52.764 INFO kablam! 49 | | self.c.insert(path.to_string(),FileStr.clone()); Oct 12 15:21:52.764 INFO kablam! 50 | | self.fileSize.insert(path.to_string(),FileStr.len()); Oct 12 15:21:52.764 INFO kablam! 51 | | FileStr.len() Oct 12 15:21:52.764 INFO kablam! 52 | | } Oct 12 15:21:52.764 INFO kablam! | |_____^ Oct 12 15:21:52.764 INFO kablam! Oct 12 15:21:52.764 INFO kablam! warning: variable `FileStr` should have a snake case name such as `file_str` Oct 12 15:21:52.764 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:56 Oct 12 15:21:52.764 INFO kablam! | Oct 12 15:21:52.764 INFO kablam! 47 | pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 12 15:21:52.764 INFO kablam! | ^^^^^^^ Oct 12 15:21:52.764 INFO kablam! Oct 12 15:21:52.764 INFO kablam! warning: function `readNewUncachedFile` should have a snake case name such as `read_new_uncached_file` Oct 12 15:21:52.764 INFO kablam! --> src/dusty/cacheManager/mod.rs:57:5 Oct 12 15:21:52.764 INFO kablam! | Oct 12 15:21:52.764 INFO kablam! 57 | / pub fn readNewUncachedFile(filename: &str) -> (String, usize) Oct 12 15:21:52.764 INFO kablam! 58 | | { Oct 12 15:21:52.764 INFO kablam! 59 | | let mut f = File::open(filename); Oct 12 15:21:52.764 INFO kablam! 60 | | match f Oct 12 15:21:52.764 INFO kablam! ... | Oct 12 15:21:52.764 INFO kablam! 73 | | } Oct 12 15:21:52.764 INFO kablam! 74 | | } Oct 12 15:21:52.764 INFO kablam! | |_____^ Oct 12 15:21:52.764 INFO kablam! Oct 12 15:21:52.764 INFO kablam! warning: function `readText` should have a snake case name such as `read_text` Oct 12 15:21:52.764 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:5 Oct 12 15:21:52.764 INFO kablam! | Oct 12 15:21:52.764 INFO kablam! 77 | / fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 12 15:21:52.764 INFO kablam! 78 | | { Oct 12 15:21:52.764 INFO kablam! 79 | | let mut s = String::new(); Oct 12 15:21:52.764 INFO kablam! 80 | | let lenRead = readable.read_to_string(&mut s); Oct 12 15:21:52.764 INFO kablam! ... | Oct 12 15:21:52.764 INFO kablam! 94 | | } Oct 12 15:21:52.764 INFO kablam! 95 | | } Oct 12 15:21:52.764 INFO kablam! | |_____^ Oct 12 15:21:52.764 INFO kablam! Oct 12 15:21:52.764 INFO kablam! warning: variable `lenRead` should have a snake case name such as `len_read` Oct 12 15:21:52.764 INFO kablam! --> src/dusty/cacheManager/mod.rs:80:13 Oct 12 15:21:52.764 INFO kablam! | Oct 12 15:21:52.764 INFO kablam! 80 | let lenRead = readable.read_to_string(&mut s); Oct 12 15:21:52.764 INFO kablam! | ^^^^^^^ Oct 12 15:21:52.764 INFO kablam! Oct 12 15:21:52.764 INFO kablam! warning: variable `lR` should have a snake case name such as `l_r` Oct 12 15:21:52.765 INFO kablam! --> src/dusty/cacheManager/mod.rs:83:24 Oct 12 15:21:52.765 INFO kablam! | Oct 12 15:21:52.765 INFO kablam! 83 | Ok(lR) => Oct 12 15:21:52.765 INFO kablam! | ^^ Oct 12 15:21:52.765 INFO kablam! Oct 12 15:21:52.765 INFO kablam! warning: type `request` should have a camel case name such as `Request` Oct 12 15:21:52.765 INFO kablam! --> src/dusty/connection/mod.rs:13:1 Oct 12 15:21:52.765 INFO kablam! | Oct 12 15:21:52.765 INFO kablam! 13 | / pub struct request Oct 12 15:21:52.765 INFO kablam! 14 | | { Oct 12 15:21:52.765 INFO kablam! 15 | | pub filePath : String, Oct 12 15:21:52.765 INFO kablam! 16 | | pub size : usize, Oct 12 15:21:52.765 INFO kablam! 17 | | pub streamChannel : Sender Oct 12 15:21:52.765 INFO kablam! 18 | | } Oct 12 15:21:52.765 INFO kablam! | |_^ Oct 12 15:21:52.765 INFO kablam! Oct 12 15:21:52.765 INFO kablam! warning: structure field `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.765 INFO kablam! --> src/dusty/connection/mod.rs:15:5 Oct 12 15:21:52.765 INFO kablam! | Oct 12 15:21:52.765 INFO kablam! 15 | pub filePath : String, Oct 12 15:21:52.765 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.765 INFO kablam! Oct 12 15:21:52.765 INFO kablam! warning: structure field `streamChannel` should have a snake case name such as `stream_channel` Oct 12 15:21:52.765 INFO kablam! --> src/dusty/connection/mod.rs:17:5 Oct 12 15:21:52.765 INFO kablam! | Oct 12 15:21:52.765 INFO kablam! 17 | pub streamChannel : Sender Oct 12 15:21:52.765 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.765 INFO kablam! Oct 12 15:21:52.765 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 12 15:21:52.765 INFO kablam! --> src/dusty/connection/mod.rs:22:16 Oct 12 15:21:52.765 INFO kablam! | Oct 12 15:21:52.765 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 12 15:21:52.765 INFO kablam! | ^^^^^^^^ Oct 12 15:21:52.765 INFO kablam! Oct 12 15:21:52.765 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 12 15:21:52.765 INFO kablam! --> src/dusty/connection/mod.rs:22:48 Oct 12 15:21:52.765 INFO kablam! | Oct 12 15:21:52.765 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 12 15:21:52.765 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 15:21:52.765 INFO kablam! Oct 12 15:21:52.765 INFO kablam! warning: type `response` should have a camel case name such as `Response` Oct 12 15:21:52.765 INFO kablam! --> src/dusty/connection/mod.rs:38:1 Oct 12 15:21:52.765 INFO kablam! | Oct 12 15:21:52.765 INFO kablam! 38 | / pub struct response Oct 12 15:21:52.765 INFO kablam! 39 | | { Oct 12 15:21:52.765 INFO kablam! 40 | | pub body : String, Oct 12 15:21:52.765 INFO kablam! 41 | | pub header : String Oct 12 15:21:52.765 INFO kablam! 42 | | } Oct 12 15:21:52.765 INFO kablam! | |_^ Oct 12 15:21:52.765 INFO kablam! Oct 12 15:21:52.765 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 12 15:21:52.765 INFO kablam! --> src/dusty/httpParserThread/mod.rs:99:9 Oct 12 15:21:52.765 INFO kablam! | Oct 12 15:21:52.765 INFO kablam! 99 | let mut parserChannels : Vec> = Vec::new(); Oct 12 15:21:52.765 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.765 INFO kablam! Oct 12 15:21:52.765 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 12 15:21:52.765 INFO kablam! --> src/dusty/httpParserThread/mod.rs:110:9 Oct 12 15:21:52.765 INFO kablam! | Oct 12 15:21:52.765 INFO kablam! 110 | let gathererManager : Sender = spawnGathererManagerThread(gathererChannels); Oct 12 15:21:52.765 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:21:52.765 INFO kablam! Oct 12 15:21:52.768 INFO kablam! warning: function `spawnGathererManagerThread` should have a snake case name such as `spawn_gatherer_manager_thread` Oct 12 15:21:52.768 INFO kablam! --> src/dusty/httpParserThread/mod.rs:126:1 Oct 12 15:21:52.768 INFO kablam! | Oct 12 15:21:52.768 INFO kablam! 126 | / pub fn spawnGathererManagerThread(channels : Vec>) -> Sender Oct 12 15:21:52.768 INFO kablam! 127 | | { Oct 12 15:21:52.768 INFO kablam! 128 | | let (send, recv) = channel::(); Oct 12 15:21:52.768 INFO kablam! 129 | | thread::spawn(move || Oct 12 15:21:52.768 INFO kablam! ... | Oct 12 15:21:52.768 INFO kablam! 150 | | return send Oct 12 15:21:52.768 INFO kablam! 151 | | } Oct 12 15:21:52.768 INFO kablam! | |_^ Oct 12 15:21:52.768 INFO kablam! Oct 12 15:21:52.768 INFO kablam! warning: variable `channelIndex` should have a snake case name such as `channel_index` Oct 12 15:21:52.768 INFO kablam! --> src/dusty/httpParserThread/mod.rs:131:13 Oct 12 15:21:52.768 INFO kablam! | Oct 12 15:21:52.768 INFO kablam! 131 | let mut channelIndex : usize = 0; Oct 12 15:21:52.768 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 12 15:21:52.768 INFO kablam! Oct 12 15:21:52.768 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 15:21:52.768 INFO kablam! --> src/dusty/httpParserThread/mod.rs:141:21 Oct 12 15:21:52.768 INFO kablam! | Oct 12 15:21:52.768 INFO kablam! 141 | channels[channelIndex].send(req); Oct 12 15:21:52.768 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.768 INFO kablam! | Oct 12 15:21:52.768 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 15:21:52.768 INFO kablam! Oct 12 15:21:52.768 INFO kablam! warning: variable `parserThreadCount` should have a snake case name such as `parser_thread_count` Oct 12 15:21:52.768 INFO kablam! --> src/main.rs:23:9 Oct 12 15:21:52.768 INFO kablam! | Oct 12 15:21:52.768 INFO kablam! 23 | let parserThreadCount : usize = 16; Oct 12 15:21:52.768 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.768 INFO kablam! Oct 12 15:21:52.768 INFO kablam! warning: variable `gathererThreadCount` should have a snake case name such as `gatherer_thread_count` Oct 12 15:21:52.768 INFO kablam! --> src/main.rs:24:9 Oct 12 15:21:52.768 INFO kablam! | Oct 12 15:21:52.768 INFO kablam! 24 | let gathererThreadCount : usize = 16; Oct 12 15:21:52.768 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.768 INFO kablam! Oct 12 15:21:52.768 INFO kablam! warning: variable `sharedCache` should have a snake case name such as `shared_cache` Oct 12 15:21:52.768 INFO kablam! --> src/main.rs:27:9 Oct 12 15:21:52.768 INFO kablam! | Oct 12 15:21:52.768 INFO kablam! 27 | let sharedCache : Arc> = Arc::new(Mutex::new(cacheManager::cache::new())); Oct 12 15:21:52.768 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.768 INFO kablam! Oct 12 15:21:52.768 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 12 15:21:52.768 INFO kablam! --> src/main.rs:30:10 Oct 12 15:21:52.768 INFO kablam! | Oct 12 15:21:52.768 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 12 15:21:52.769 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.769 INFO kablam! Oct 12 15:21:52.769 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 12 15:21:52.769 INFO kablam! --> src/main.rs:30:26 Oct 12 15:21:52.769 INFO kablam! | Oct 12 15:21:52.769 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 12 15:21:52.769 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:21:52.769 INFO kablam! Oct 12 15:21:52.769 INFO kablam! warning: variable `parserIndex` should have a snake case name such as `parser_index` Oct 12 15:21:52.769 INFO kablam! --> src/main.rs:31:9 Oct 12 15:21:52.769 INFO kablam! | Oct 12 15:21:52.769 INFO kablam! 31 | let mut parserIndex = 0; Oct 12 15:21:52.769 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:21:52.769 INFO kablam! Oct 12 15:21:52.769 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 15:21:52.769 INFO kablam! --> src/main.rs:41:25 Oct 12 15:21:52.769 INFO kablam! | Oct 12 15:21:52.769 INFO kablam! 41 | parserChannels[parserIndex].send(stream); Oct 12 15:21:52.769 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.769 INFO kablam! | Oct 12 15:21:52.769 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 15:21:52.769 INFO kablam! Oct 12 15:21:52.788 INFO kablam! warning: type `con` should have a camel case name such as `Con` Oct 12 15:21:52.788 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 12 15:21:52.788 INFO kablam! | Oct 12 15:21:52.788 INFO kablam! 53 | / pub struct con Oct 12 15:21:52.788 INFO kablam! 54 | | { Oct 12 15:21:52.788 INFO kablam! 55 | | pub buffer: String, Oct 12 15:21:52.788 INFO kablam! 56 | | pub stream: TcpStream Oct 12 15:21:52.788 INFO kablam! 57 | | } Oct 12 15:21:52.788 INFO kablam! | |_^ Oct 12 15:21:52.788 INFO kablam! Oct 12 15:21:52.788 INFO kablam! warning: module `httpParserThread` should have a snake case name such as `http_parser_thread` Oct 12 15:21:52.788 INFO kablam! --> src/main.rs:7:5 Oct 12 15:21:52.788 INFO kablam! | Oct 12 15:21:52.788 INFO kablam! 7 | pub mod httpParserThread; Oct 12 15:21:52.788 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.788 INFO kablam! Oct 12 15:21:52.788 INFO kablam! warning: function `spawnNewParserThread` should have a snake case name such as `spawn_new_parser_thread` Oct 12 15:21:52.788 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:1 Oct 12 15:21:52.788 INFO kablam! | Oct 12 15:21:52.788 INFO kablam! 12 | / pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 12 15:21:52.788 INFO kablam! 13 | | { Oct 12 15:21:52.788 INFO kablam! 14 | | thread::spawn(move || Oct 12 15:21:52.788 INFO kablam! 15 | | { Oct 12 15:21:52.788 INFO kablam! ... | Oct 12 15:21:52.788 INFO kablam! 66 | | Oct 12 15:21:52.788 INFO kablam! 67 | | } Oct 12 15:21:52.788 INFO kablam! | |_^ Oct 12 15:21:52.788 INFO kablam! Oct 12 15:21:52.788 INFO kablam! warning: variable `streamReceiver` should have a snake case name such as `stream_receiver` Oct 12 15:21:52.788 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:29 Oct 12 15:21:52.788 INFO kablam! | Oct 12 15:21:52.788 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 12 15:21:52.788 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.788 INFO kablam! Oct 12 15:21:52.788 INFO kablam! warning: variable `gathererManagerChannel` should have a snake case name such as `gatherer_manager_channel` Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:67 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 12 15:21:52.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: variable `localSend` should have a snake case name such as `local_send` Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:14 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 12 15:21:52.789 INFO kablam! | ^^^^^^^^^ Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: variable `localRecv` should have a snake case name such as `local_recv` Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:25 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 12 15:21:52.789 INFO kablam! | ^^^^^^^^^ Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: variable `headerTemplate` should have a snake case name such as `header_template` Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 12 15:21:52.789 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: variable `requestCount` should have a snake case name such as `request_count` Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:29:25 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 29 | let mut requestCount = schedule.len(); Oct 12 15:21:52.789 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:35:25 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 35 | gathererManagerChannel.send(req); Oct 12 15:21:52.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 12 15:21:52.789 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: function `spawnNewGathererThread` should have a snake case name such as `spawn_new_gatherer_thread` Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:1 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 70 | / pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 12 15:21:52.789 INFO kablam! 71 | | { Oct 12 15:21:52.789 INFO kablam! 72 | | thread::spawn(move || Oct 12 15:21:52.789 INFO kablam! 73 | | { Oct 12 15:21:52.789 INFO kablam! ... | Oct 12 15:21:52.789 INFO kablam! 88 | | }); Oct 12 15:21:52.789 INFO kablam! 89 | | } Oct 12 15:21:52.789 INFO kablam! | |_^ Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: variable `requestReceiver` should have a snake case name such as `request_receiver` Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:31 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 70 | pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 12 15:21:52.789 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: function `createIndependentThreadPools` should have a snake case name such as `create_independent_thread_pools` Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:1 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 93 | / pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 12 15:21:52.789 INFO kablam! 94 | | { Oct 12 15:21:52.789 INFO kablam! 95 | | //These are the meat and potatos of dusty Oct 12 15:21:52.789 INFO kablam! 96 | | //They are simply a vec pointing to channels Oct 12 15:21:52.789 INFO kablam! ... | Oct 12 15:21:52.789 INFO kablam! 122 | | Oct 12 15:21:52.789 INFO kablam! 123 | | } Oct 12 15:21:52.789 INFO kablam! | |_^ Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: variable `parserThreadPoolSize` should have a snake case name such as `parser_thread_pool_size` Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:37 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 12 15:21:52.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: variable `gathererThreadPoolSize` should have a snake case name such as `gatherer_thread_pool_size` Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:66 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 12 15:21:52.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: variable `gathererChannels` should have a snake case name such as `gatherer_channels` Oct 12 15:21:52.789 INFO kablam! --> src/dusty/httpParserThread/mod.rs:98:9 Oct 12 15:21:52.789 INFO kablam! | Oct 12 15:21:52.789 INFO kablam! 98 | let mut gathererChannels : Vec> = Vec::new(); Oct 12 15:21:52.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.789 INFO kablam! Oct 12 15:21:52.789 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 12 15:21:52.790 INFO kablam! --> src/dusty/httpParserThread/mod.rs:99:9 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 99 | let mut parserChannels : Vec> = Vec::new(); Oct 12 15:21:52.790 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.790 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 12 15:21:52.790 INFO kablam! --> src/dusty/httpParserThread/mod.rs:110:9 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 110 | let gathererManager : Sender = spawnGathererManagerThread(gathererChannels); Oct 12 15:21:52.790 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.790 INFO kablam! warning: function `spawnGathererManagerThread` should have a snake case name such as `spawn_gatherer_manager_thread` Oct 12 15:21:52.790 INFO kablam! --> src/dusty/httpParserThread/mod.rs:126:1 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 126 | / pub fn spawnGathererManagerThread(channels : Vec>) -> Sender Oct 12 15:21:52.790 INFO kablam! 127 | | { Oct 12 15:21:52.790 INFO kablam! 128 | | let (send, recv) = channel::(); Oct 12 15:21:52.790 INFO kablam! 129 | | thread::spawn(move || Oct 12 15:21:52.790 INFO kablam! ... | Oct 12 15:21:52.790 INFO kablam! 150 | | return send Oct 12 15:21:52.790 INFO kablam! 151 | | } Oct 12 15:21:52.790 INFO kablam! | |_^ Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.790 INFO kablam! warning: variable `channelIndex` should have a snake case name such as `channel_index` Oct 12 15:21:52.790 INFO kablam! --> src/dusty/httpParserThread/mod.rs:131:13 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 131 | let mut channelIndex : usize = 0; Oct 12 15:21:52.790 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.790 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 15:21:52.790 INFO kablam! --> src/dusty/httpParserThread/mod.rs:141:21 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 141 | channels[channelIndex].send(req); Oct 12 15:21:52.790 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.790 INFO kablam! warning: variable `parserThreadCount` should have a snake case name such as `parser_thread_count` Oct 12 15:21:52.790 INFO kablam! --> src/main.rs:23:9 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 23 | let parserThreadCount : usize = 16; Oct 12 15:21:52.790 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.790 INFO kablam! warning: variable `gathererThreadCount` should have a snake case name such as `gatherer_thread_count` Oct 12 15:21:52.790 INFO kablam! --> src/main.rs:24:9 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 24 | let gathererThreadCount : usize = 16; Oct 12 15:21:52.790 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.790 INFO kablam! warning: variable `sharedCache` should have a snake case name such as `shared_cache` Oct 12 15:21:52.790 INFO kablam! --> src/main.rs:27:9 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 27 | let sharedCache : Arc> = Arc::new(Mutex::new(cacheManager::cache::new())); Oct 12 15:21:52.790 INFO kablam! | ^^^^^^^^^^^ Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.790 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 12 15:21:52.790 INFO kablam! --> src/main.rs:30:10 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 12 15:21:52.790 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.790 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 12 15:21:52.790 INFO kablam! --> src/main.rs:30:26 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 12 15:21:52.790 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.790 INFO kablam! warning: variable `parserIndex` should have a snake case name such as `parser_index` Oct 12 15:21:52.790 INFO kablam! --> src/main.rs:31:9 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 31 | let mut parserIndex = 0; Oct 12 15:21:52.790 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.790 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 15:21:52.790 INFO kablam! --> src/main.rs:41:25 Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! 41 | parserChannels[parserIndex].send(stream); Oct 12 15:21:52.790 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 15:21:52.790 INFO kablam! | Oct 12 15:21:52.790 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 15:21:52.790 INFO kablam! Oct 12 15:21:52.840 INFO kablam! Finished dev [optimized + debuginfo] target(s) in 0.90s Oct 12 15:21:52.840 INFO kablam! su: No module specific data is present Oct 12 15:21:53.891 INFO running `"docker" "rm" "-f" "7896f86c575ade0508b02140e2203fe750fb21c677483ffc364e491047ac7010"` Oct 12 15:21:54.284 INFO blam! 7896f86c575ade0508b02140e2203fe750fb21c677483ffc364e491047ac7010