Oct 26 22:33:42.812 INFO checking racer161/dusty against master#155510e377ae2a8d8ee0dad1a5f809c9062a5526 for pr-55192-2 Oct 26 22:33:42.812 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192-2/worker-7/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/pr-55192-2/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/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 +155510e377ae2a8d8ee0dad1a5f809c9062a5526-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 26 22:33:43.294 INFO blam! 7c3b60fc409e8554bea352177b09753be99190c13cc6e4a25aa1cb6de87579e2 Oct 26 22:33:43.296 INFO running `"docker" "start" "-a" "7c3b60fc409e8554bea352177b09753be99190c13cc6e4a25aa1cb6de87579e2"` Oct 26 22:33:45.850 INFO kablam! usermod: no changes Oct 26 22:33:45.923 INFO kablam! Checking dusty v0.1.0 (/source) Oct 26 22:33:46.411 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:46.411 INFO kablam! --> src/dusty/httpParser/mod.rs:7:16 Oct 26 22:33:46.411 INFO kablam! | Oct 26 22:33:46.411 INFO kablam! 7 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:46.411 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.411 INFO kablam! | Oct 26 22:33:46.411 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 26 22:33:46.411 INFO kablam! Oct 26 22:33:46.411 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:46.411 INFO kablam! --> src/dusty/httpParser/mod.rs:9:5 Oct 26 22:33:46.411 INFO kablam! | Oct 26 22:33:46.411 INFO kablam! 9 | use std::thread; Oct 26 22:33:46.411 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.411 INFO kablam! Oct 26 22:33:46.411 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:46.411 INFO kablam! --> src/dusty/httpParser/mod.rs:12:5 Oct 26 22:33:46.411 INFO kablam! | Oct 26 22:33:46.411 INFO kablam! 12 | use std::mem; Oct 26 22:33:46.411 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.412 INFO kablam! Oct 26 22:33:46.412 INFO kablam! warning: unused import: `std::io` Oct 26 22:33:46.412 INFO kablam! --> src/dusty/pathBuilder/mod.rs:3:6 Oct 26 22:33:46.412 INFO kablam! | Oct 26 22:33:46.412 INFO kablam! 3 | use std::io; Oct 26 22:33:46.412 INFO kablam! | ^^^^^^^ Oct 26 22:33:46.412 INFO kablam! Oct 26 22:33:46.412 INFO kablam! warning: unused import: `std::fs::File` Oct 26 22:33:46.412 INFO kablam! --> src/dusty/pathBuilder/mod.rs:5:6 Oct 26 22:33:46.412 INFO kablam! | Oct 26 22:33:46.412 INFO kablam! 5 | use std::fs::File; Oct 26 22:33:46.412 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:46.412 INFO kablam! Oct 26 22:33:46.412 INFO kablam! warning: unused import: `Path` Oct 26 22:33:46.412 INFO kablam! --> src/dusty/pathBuilder/mod.rs:6:18 Oct 26 22:33:46.413 INFO kablam! | Oct 26 22:33:46.413 INFO kablam! 6 | use std::path::{Path,PathBuf}; Oct 26 22:33:46.413 INFO kablam! | ^^^^ Oct 26 22:33:46.413 INFO kablam! Oct 26 22:33:46.413 INFO kablam! warning: unused import: `std::io` Oct 26 22:33:46.413 INFO kablam! --> src/dusty/cacheManager/mod.rs:4:5 Oct 26 22:33:46.413 INFO kablam! | Oct 26 22:33:46.413 INFO kablam! 4 | use std::io; Oct 26 22:33:46.413 INFO kablam! | ^^^^^^^ Oct 26 22:33:46.413 INFO kablam! Oct 26 22:33:46.413 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:46.413 INFO kablam! --> src/dusty/connection/mod.rs:2:16 Oct 26 22:33:46.413 INFO kablam! | Oct 26 22:33:46.413 INFO kablam! 2 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:46.413 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.413 INFO kablam! Oct 26 22:33:46.413 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:46.413 INFO kablam! --> src/dusty/connection/mod.rs:6:5 Oct 26 22:33:46.413 INFO kablam! | Oct 26 22:33:46.413 INFO kablam! 6 | use std::thread; Oct 26 22:33:46.413 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.413 INFO kablam! Oct 26 22:33:46.413 INFO kablam! warning: unused import: `std::io::*` Oct 26 22:33:46.413 INFO kablam! --> src/dusty/connection/mod.rs:9:5 Oct 26 22:33:46.413 INFO kablam! | Oct 26 22:33:46.413 INFO kablam! 9 | use std::io::*; Oct 26 22:33:46.413 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:46.413 INFO kablam! Oct 26 22:33:46.413 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:46.413 INFO kablam! --> src/dusty/connection/mod.rs:10:5 Oct 26 22:33:46.413 INFO kablam! | Oct 26 22:33:46.413 INFO kablam! 10 | use std::mem; Oct 26 22:33:46.413 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.413 INFO kablam! Oct 26 22:33:46.413 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:46.413 INFO kablam! --> src/dusty/httpParserThread/mod.rs:1:16 Oct 26 22:33:46.413 INFO kablam! | Oct 26 22:33:46.413 INFO kablam! 1 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:46.413 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.413 INFO kablam! Oct 26 22:33:46.413 INFO kablam! warning: unused import: `TcpStream` Oct 26 22:33:46.413 INFO kablam! --> src/main.rs:10:29 Oct 26 22:33:46.413 INFO kablam! | Oct 26 22:33:46.413 INFO kablam! 10 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:46.413 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:46.413 INFO kablam! Oct 26 22:33:46.419 INFO kablam! warning: unused import: `std::sync::mpsc::*` Oct 26 22:33:46.419 INFO kablam! --> src/main.rs:13:5 Oct 26 22:33:46.419 INFO kablam! | Oct 26 22:33:46.419 INFO kablam! 13 | use std::sync::mpsc::*; Oct 26 22:33:46.419 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.419 INFO kablam! Oct 26 22:33:46.419 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:46.419 INFO kablam! --> src/main.rs:14:5 Oct 26 22:33:46.419 INFO kablam! | Oct 26 22:33:46.420 INFO kablam! 14 | use std::thread; Oct 26 22:33:46.420 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.420 INFO kablam! Oct 26 22:33:46.420 INFO kablam! warning: unused import: `std::io::*` Oct 26 22:33:46.420 INFO kablam! --> src/main.rs:16:5 Oct 26 22:33:46.420 INFO kablam! | Oct 26 22:33:46.420 INFO kablam! 16 | use std::io::*; Oct 26 22:33:46.420 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:46.420 INFO kablam! Oct 26 22:33:46.420 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:46.420 INFO kablam! --> src/main.rs:17:5 Oct 26 22:33:46.420 INFO kablam! | Oct 26 22:33:46.421 INFO kablam! 17 | use std::mem; Oct 26 22:33:46.421 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.421 INFO kablam! Oct 26 22:33:46.497 INFO kablam! warning: unreachable expression Oct 26 22:33:46.497 INFO kablam! --> src/dusty/httpParser/mod.rs:186:13 Oct 26 22:33:46.497 INFO kablam! | Oct 26 22:33:46.497 INFO kablam! 186 | return None Oct 26 22:33:46.498 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.498 INFO kablam! | Oct 26 22:33:46.498 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 26 22:33:46.498 INFO kablam! Oct 26 22:33:46.500 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:46.500 INFO kablam! --> src/dusty/httpParser/mod.rs:7:16 Oct 26 22:33:46.500 INFO kablam! | Oct 26 22:33:46.500 INFO kablam! 7 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:46.501 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.501 INFO kablam! | Oct 26 22:33:46.501 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 26 22:33:46.501 INFO kablam! Oct 26 22:33:46.501 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:46.501 INFO kablam! --> src/dusty/httpParser/mod.rs:9:5 Oct 26 22:33:46.501 INFO kablam! | Oct 26 22:33:46.501 INFO kablam! 9 | use std::thread; Oct 26 22:33:46.501 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.501 INFO kablam! Oct 26 22:33:46.501 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:46.501 INFO kablam! --> src/dusty/httpParser/mod.rs:12:5 Oct 26 22:33:46.502 INFO kablam! | Oct 26 22:33:46.502 INFO kablam! 12 | use std::mem; Oct 26 22:33:46.502 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.502 INFO kablam! Oct 26 22:33:46.502 INFO kablam! warning: unused import: `std::io` Oct 26 22:33:46.503 INFO kablam! --> src/dusty/pathBuilder/mod.rs:3:6 Oct 26 22:33:46.503 INFO kablam! | Oct 26 22:33:46.503 INFO kablam! 3 | use std::io; Oct 26 22:33:46.503 INFO kablam! | ^^^^^^^ Oct 26 22:33:46.503 INFO kablam! Oct 26 22:33:46.504 INFO kablam! warning: unused import: `std::fs::File` Oct 26 22:33:46.504 INFO kablam! --> src/dusty/pathBuilder/mod.rs:5:6 Oct 26 22:33:46.504 INFO kablam! | Oct 26 22:33:46.504 INFO kablam! 5 | use std::fs::File; Oct 26 22:33:46.504 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:46.504 INFO kablam! Oct 26 22:33:46.505 INFO kablam! warning: unused import: `Path` Oct 26 22:33:46.505 INFO kablam! --> src/dusty/pathBuilder/mod.rs:6:18 Oct 26 22:33:46.505 INFO kablam! | Oct 26 22:33:46.505 INFO kablam! 6 | use std::path::{Path,PathBuf}; Oct 26 22:33:46.505 INFO kablam! | ^^^^ Oct 26 22:33:46.506 INFO kablam! Oct 26 22:33:46.506 INFO kablam! warning: unused import: `std::io` Oct 26 22:33:46.506 INFO kablam! --> src/dusty/cacheManager/mod.rs:4:5 Oct 26 22:33:46.506 INFO kablam! | Oct 26 22:33:46.506 INFO kablam! 4 | use std::io; Oct 26 22:33:46.506 INFO kablam! | ^^^^^^^ Oct 26 22:33:46.506 INFO kablam! Oct 26 22:33:46.506 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:46.507 INFO kablam! --> src/dusty/connection/mod.rs:2:16 Oct 26 22:33:46.507 INFO kablam! | Oct 26 22:33:46.507 INFO kablam! 2 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:46.507 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.507 INFO kablam! Oct 26 22:33:46.507 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:46.507 INFO kablam! --> src/dusty/connection/mod.rs:6:5 Oct 26 22:33:46.508 INFO kablam! | Oct 26 22:33:46.508 INFO kablam! 6 | use std::thread; Oct 26 22:33:46.508 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.508 INFO kablam! Oct 26 22:33:46.508 INFO kablam! warning: unused import: `std::io::*` Oct 26 22:33:46.508 INFO kablam! --> src/dusty/connection/mod.rs:9:5 Oct 26 22:33:46.508 INFO kablam! | Oct 26 22:33:46.508 INFO kablam! 9 | use std::io::*; Oct 26 22:33:46.509 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:46.509 INFO kablam! Oct 26 22:33:46.509 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:46.509 INFO kablam! --> src/dusty/connection/mod.rs:10:5 Oct 26 22:33:46.509 INFO kablam! | Oct 26 22:33:46.509 INFO kablam! 10 | use std::mem; Oct 26 22:33:46.509 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.509 INFO kablam! Oct 26 22:33:46.510 INFO kablam! warning: unused import: `TcpListener` Oct 26 22:33:46.510 INFO kablam! --> src/dusty/httpParserThread/mod.rs:1:16 Oct 26 22:33:46.510 INFO kablam! | Oct 26 22:33:46.510 INFO kablam! 1 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:46.510 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.510 INFO kablam! Oct 26 22:33:46.510 INFO kablam! warning: unused import: `TcpStream` Oct 26 22:33:46.511 INFO kablam! --> src/main.rs:10:29 Oct 26 22:33:46.511 INFO kablam! | Oct 26 22:33:46.511 INFO kablam! 10 | use std::net::{TcpListener, TcpStream}; Oct 26 22:33:46.511 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:46.511 INFO kablam! Oct 26 22:33:46.511 INFO kablam! warning: unused import: `std::sync::mpsc::*` Oct 26 22:33:46.511 INFO kablam! --> src/main.rs:13:5 Oct 26 22:33:46.511 INFO kablam! | Oct 26 22:33:46.511 INFO kablam! 13 | use std::sync::mpsc::*; Oct 26 22:33:46.512 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.512 INFO kablam! Oct 26 22:33:46.512 INFO kablam! warning: unused import: `std::thread` Oct 26 22:33:46.512 INFO kablam! --> src/main.rs:14:5 Oct 26 22:33:46.512 INFO kablam! | Oct 26 22:33:46.512 INFO kablam! 14 | use std::thread; Oct 26 22:33:46.512 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.512 INFO kablam! Oct 26 22:33:46.513 INFO kablam! warning: unused import: `std::io::*` Oct 26 22:33:46.513 INFO kablam! --> src/main.rs:16:5 Oct 26 22:33:46.513 INFO kablam! | Oct 26 22:33:46.513 INFO kablam! 16 | use std::io::*; Oct 26 22:33:46.513 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:46.513 INFO kablam! Oct 26 22:33:46.513 INFO kablam! warning: unused import: `std::mem` Oct 26 22:33:46.513 INFO kablam! --> src/main.rs:17:5 Oct 26 22:33:46.514 INFO kablam! | Oct 26 22:33:46.514 INFO kablam! 17 | use std::mem; Oct 26 22:33:46.514 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.514 INFO kablam! Oct 26 22:33:46.550 INFO kablam! warning: unused import: `std::io::prelude` Oct 26 22:33:46.550 INFO kablam! --> src/dusty/pathBuilder/mod.rs:4:6 Oct 26 22:33:46.550 INFO kablam! | Oct 26 22:33:46.551 INFO kablam! 4 | use std::io::prelude::*; Oct 26 22:33:46.551 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:46.551 INFO kablam! Oct 26 22:33:46.559 INFO kablam! warning: unused variable: `e` Oct 26 22:33:46.559 INFO kablam! --> src/dusty/httpParser/mod.rs:63:17 Oct 26 22:33:46.559 INFO kablam! | Oct 26 22:33:46.560 INFO kablam! 63 | Err(e) => println!("Error Reading to buffer in request!") Oct 26 22:33:46.560 INFO kablam! | ^ help: consider using `_e` instead Oct 26 22:33:46.560 INFO kablam! | Oct 26 22:33:46.560 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 26 22:33:46.560 INFO kablam! Oct 26 22:33:46.560 INFO kablam! warning: unused variable: `index` Oct 26 22:33:46.561 INFO kablam! --> src/dusty/httpParser/mod.rs:132:22 Oct 26 22:33:46.561 INFO kablam! | Oct 26 22:33:46.561 INFO kablam! 132 | Some(index) => Oct 26 22:33:46.561 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 26 22:33:46.561 INFO kablam! Oct 26 22:33:46.561 INFO kablam! warning: unused variable: `e` Oct 26 22:33:46.561 INFO kablam! --> src/dusty/cacheManager/mod.rs:67:21 Oct 26 22:33:46.561 INFO kablam! | Oct 26 22:33:46.561 INFO kablam! 67 | Err(e) => Oct 26 22:33:46.562 INFO kablam! | ^ help: consider using `_e` instead Oct 26 22:33:46.562 INFO kablam! Oct 26 22:33:46.562 INFO kablam! warning: unused variable: `filename` Oct 26 22:33:46.562 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:38 Oct 26 22:33:46.563 INFO kablam! | Oct 26 22:33:46.563 INFO kablam! 77 | fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 26 22:33:46.563 INFO kablam! | ^^^^^^^^ help: consider using `_filename` instead Oct 26 22:33:46.563 INFO kablam! Oct 26 22:33:46.564 INFO kablam! warning: unused variable: `headerTemplate` Oct 26 22:33:46.564 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 26 22:33:46.564 INFO kablam! | Oct 26 22:33:46.565 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 26 22:33:46.565 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_headerTemplate` instead Oct 26 22:33:46.565 INFO kablam! Oct 26 22:33:46.565 INFO kablam! warning: unused variable: `i` Oct 26 22:33:46.565 INFO kablam! --> src/dusty/httpParserThread/mod.rs:102:9 Oct 26 22:33:46.565 INFO kablam! | Oct 26 22:33:46.565 INFO kablam! 102 | for i in 0..gathererThreadPoolSize //Spawn gatherer threads Oct 26 22:33:46.565 INFO kablam! | ^ help: consider using `_i` instead Oct 26 22:33:46.565 INFO kablam! Oct 26 22:33:46.565 INFO kablam! warning: unused variable: `i` Oct 26 22:33:46.565 INFO kablam! --> src/dusty/httpParserThread/mod.rs:113:9 Oct 26 22:33:46.565 INFO kablam! | Oct 26 22:33:46.565 INFO kablam! 113 | for i in 0..parserThreadPoolSize Oct 26 22:33:46.565 INFO kablam! | ^ help: consider using `_i` instead Oct 26 22:33:46.565 INFO kablam! Oct 26 22:33:46.566 INFO kablam! warning: unused variable: `gathererManager` Oct 26 22:33:46.566 INFO kablam! --> src/main.rs:30:26 Oct 26 22:33:46.566 INFO kablam! | Oct 26 22:33:46.566 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:46.566 INFO kablam! | ^^^^^^^^^^^^^^^ help: consider using `_gathererManager` instead Oct 26 22:33:46.567 INFO kablam! Oct 26 22:33:46.599 INFO kablam! warning: variable does not need to be mutable Oct 26 22:33:46.599 INFO kablam! --> src/dusty/cacheManager/mod.rs:59:13 Oct 26 22:33:46.599 INFO kablam! | Oct 26 22:33:46.599 INFO kablam! 59 | let mut f = File::open(filename); Oct 26 22:33:46.599 INFO kablam! | ----^ Oct 26 22:33:46.600 INFO kablam! | | Oct 26 22:33:46.600 INFO kablam! | help: remove this `mut` Oct 26 22:33:46.600 INFO kablam! | Oct 26 22:33:46.600 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 26 22:33:46.601 INFO kablam! Oct 26 22:33:46.611 INFO kablam! warning: function is never used: `processHeader` Oct 26 22:33:46.612 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 26 22:33:46.612 INFO kablam! | Oct 26 22:33:46.612 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:46.612 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.613 INFO kablam! | Oct 26 22:33:46.613 INFO kablam! = note: #[warn(dead_code)] on by default Oct 26 22:33:46.613 INFO kablam! Oct 26 22:33:46.613 INFO kablam! warning: function is never used: `convertVecStrToU8` Oct 26 22:33:46.614 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 26 22:33:46.614 INFO kablam! | Oct 26 22:33:46.614 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:46.614 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.614 INFO kablam! Oct 26 22:33:46.615 INFO kablam! warning: struct is never constructed: `con` Oct 26 22:33:46.615 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 26 22:33:46.615 INFO kablam! | Oct 26 22:33:46.616 INFO kablam! 53 | pub struct con Oct 26 22:33:46.616 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.616 INFO kablam! Oct 26 22:33:46.616 INFO kablam! warning: method is never used: `new` Oct 26 22:33:46.617 INFO kablam! --> src/dusty/connection/mod.rs:61:5 Oct 26 22:33:46.617 INFO kablam! | Oct 26 22:33:46.617 INFO kablam! 61 | pub fn new(buffer : String, stream : TcpStream) -> con Oct 26 22:33:46.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.618 INFO kablam! Oct 26 22:33:46.618 INFO kablam! warning: module `httpParser` should have a snake case name such as `http_parser` Oct 26 22:33:46.619 INFO kablam! --> src/main.rs:3:5 Oct 26 22:33:46.619 INFO kablam! | Oct 26 22:33:46.619 INFO kablam! 3 | pub mod httpParser; Oct 26 22:33:46.619 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.620 INFO kablam! | Oct 26 22:33:46.620 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 26 22:33:46.620 INFO kablam! Oct 26 22:33:46.621 INFO kablam! warning: function `createRequestSchedule` should have a snake case name such as `create_request_schedule` Oct 26 22:33:46.621 INFO kablam! --> src/dusty/httpParser/mod.rs:18:1 Oct 26 22:33:46.621 INFO kablam! | Oct 26 22:33:46.621 INFO kablam! 18 | / pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 26 22:33:46.622 INFO kablam! 19 | | { Oct 26 22:33:46.622 INFO kablam! 20 | | let mut schedule : Vec = Vec::new(); Oct 26 22:33:46.622 INFO kablam! 21 | | Oct 26 22:33:46.622 INFO kablam! ... | Oct 26 22:33:46.623 INFO kablam! 66 | | return (schedule,String::from(" ")); Oct 26 22:33:46.623 INFO kablam! 67 | | } Oct 26 22:33:46.623 INFO kablam! | |_^ Oct 26 22:33:46.623 INFO kablam! Oct 26 22:33:46.624 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:46.624 INFO kablam! --> src/dusty/httpParser/mod.rs:18:51 Oct 26 22:33:46.624 INFO kablam! | Oct 26 22:33:46.625 INFO kablam! 18 | pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 26 22:33:46.625 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:46.625 INFO kablam! Oct 26 22:33:46.625 INFO kablam! warning: variable `lineBuffer` should have a snake case name such as `line_buffer` Oct 26 22:33:46.626 INFO kablam! --> src/dusty/httpParser/mod.rs:25:9 Oct 26 22:33:46.626 INFO kablam! | Oct 26 22:33:46.626 INFO kablam! 25 | let mut lineBuffer = String::with_capacity(512); Oct 26 22:33:46.626 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.627 INFO kablam! Oct 26 22:33:46.627 INFO kablam! warning: variable `newRequest` should have a snake case name such as `new_request` Oct 26 22:33:46.627 INFO kablam! --> src/dusty/httpParser/mod.rs:44:34 Oct 26 22:33:46.627 INFO kablam! | Oct 26 22:33:46.628 INFO kablam! 44 | Some(newRequest) => Oct 26 22:33:46.628 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:46.628 INFO kablam! Oct 26 22:33:46.628 INFO kablam! warning: function `processHeader` should have a snake case name such as `process_header` Oct 26 22:33:46.629 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 26 22:33:46.629 INFO kablam! | Oct 26 22:33:46.629 INFO kablam! 70 | / fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:46.629 INFO kablam! 71 | | { Oct 26 22:33:46.629 INFO kablam! 72 | | println!("Header : {}", &header[0..contentStart]); Oct 26 22:33:46.629 INFO kablam! 73 | | println!("Content : {}",&header[contentStart+1..header.len()]); Oct 26 22:33:46.630 INFO kablam! 74 | | println!(); Oct 26 22:33:46.630 INFO kablam! 75 | | } Oct 26 22:33:46.630 INFO kablam! | |_^ Oct 26 22:33:46.630 INFO kablam! Oct 26 22:33:46.630 INFO kablam! warning: variable `contentStart` should have a snake case name such as `content_start` Oct 26 22:33:46.630 INFO kablam! --> src/dusty/httpParser/mod.rs:70:32 Oct 26 22:33:46.630 INFO kablam! | Oct 26 22:33:46.630 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:46.630 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:46.630 INFO kablam! Oct 26 22:33:46.630 INFO kablam! warning: function `processFileRequest` should have a snake case name such as `process_file_request` Oct 26 22:33:46.630 INFO kablam! --> src/dusty/httpParser/mod.rs:79:1 Oct 26 22:33:46.631 INFO kablam! | Oct 26 22:33:46.631 INFO kablam! 79 | / pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 26 22:33:46.631 INFO kablam! 80 | | { Oct 26 22:33:46.631 INFO kablam! 81 | | match cache.lock() Oct 26 22:33:46.631 INFO kablam! 82 | | { Oct 26 22:33:46.631 INFO kablam! ... | Oct 26 22:33:46.631 INFO kablam! 117 | | } Oct 26 22:33:46.631 INFO kablam! 118 | | } Oct 26 22:33:46.631 INFO kablam! | |_^ Oct 26 22:33:46.631 INFO kablam! Oct 26 22:33:46.631 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.631 INFO kablam! --> src/dusty/httpParser/mod.rs:79:31 Oct 26 22:33:46.631 INFO kablam! | Oct 26 22:33:46.631 INFO kablam! 79 | pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 26 22:33:46.631 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.631 INFO kablam! Oct 26 22:33:46.631 INFO kablam! warning: variable `fileString` should have a snake case name such as `file_string` Oct 26 22:33:46.632 INFO kablam! --> src/dusty/httpParser/mod.rs:89:26 Oct 26 22:33:46.632 INFO kablam! | Oct 26 22:33:46.632 INFO kablam! 89 | let (fileString, size) = cacheManager::readNewUncachedFile(&filePath); Oct 26 22:33:46.632 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:46.632 INFO kablam! Oct 26 22:33:46.632 INFO kablam! warning: function `processRequestLine` should have a snake case name such as `process_request_line` Oct 26 22:33:46.632 INFO kablam! --> src/dusty/httpParser/mod.rs:120:1 Oct 26 22:33:46.632 INFO kablam! | Oct 26 22:33:46.632 INFO kablam! 120 | / fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 26 22:33:46.632 INFO kablam! 121 | | { Oct 26 22:33:46.632 INFO kablam! 122 | | if line == "\r\n" Oct 26 22:33:46.632 INFO kablam! 123 | | { Oct 26 22:33:46.632 INFO kablam! ... | Oct 26 22:33:46.632 INFO kablam! 188 | | } Oct 26 22:33:46.632 INFO kablam! 189 | | } Oct 26 22:33:46.632 INFO kablam! | |_^ Oct 26 22:33:46.632 INFO kablam! Oct 26 22:33:46.633 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:46.633 INFO kablam! --> src/dusty/httpParser/mod.rs:120:36 Oct 26 22:33:46.633 INFO kablam! | Oct 26 22:33:46.633 INFO kablam! 120 | fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 26 22:33:46.633 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:46.633 INFO kablam! Oct 26 22:33:46.633 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 26 22:33:46.633 INFO kablam! --> src/dusty/httpParser/mod.rs:142:29 Oct 26 22:33:46.633 INFO kablam! | Oct 26 22:33:46.633 INFO kablam! 142 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 26 22:33:46.633 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.633 INFO kablam! Oct 26 22:33:46.633 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.633 INFO kablam! --> src/dusty/httpParser/mod.rs:145:33 Oct 26 22:33:46.634 INFO kablam! | Oct 26 22:33:46.634 INFO kablam! 145 | let filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 26 22:33:46.634 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.634 INFO kablam! Oct 26 22:33:46.634 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 26 22:33:46.634 INFO kablam! --> src/dusty/httpParser/mod.rs:157:33 Oct 26 22:33:46.634 INFO kablam! | Oct 26 22:33:46.634 INFO kablam! 157 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 26 22:33:46.634 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.634 INFO kablam! Oct 26 22:33:46.634 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.634 INFO kablam! --> src/dusty/httpParser/mod.rs:159:37 Oct 26 22:33:46.634 INFO kablam! | Oct 26 22:33:46.634 INFO kablam! 159 | let mut filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 26 22:33:46.634 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:46.634 INFO kablam! Oct 26 22:33:46.639 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.639 INFO kablam! --> src/dusty/httpParser/mod.rs:169:33 Oct 26 22:33:46.639 INFO kablam! | Oct 26 22:33:46.639 INFO kablam! 169 | let mut filePath = pathBuilder::returnFullPath(&line); Oct 26 22:33:46.639 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:46.639 INFO kablam! Oct 26 22:33:46.639 INFO kablam! warning: function `convertVecStrToU8` should have a snake case name such as `convert_vec_str_to_u8` Oct 26 22:33:46.639 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 26 22:33:46.639 INFO kablam! | Oct 26 22:33:46.639 INFO kablam! 196 | / fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:46.639 INFO kablam! 197 | | { Oct 26 22:33:46.639 INFO kablam! 198 | | let mut str_as_u8 : Vec = Vec::new(); Oct 26 22:33:46.639 INFO kablam! 199 | | for res in responseBuffer Oct 26 22:33:46.639 INFO kablam! ... | Oct 26 22:33:46.639 INFO kablam! 203 | | str_as_u8 Oct 26 22:33:46.639 INFO kablam! 204 | | } Oct 26 22:33:46.639 INFO kablam! | |_^ Oct 26 22:33:46.639 INFO kablam! Oct 26 22:33:46.639 INFO kablam! warning: variable `responseBuffer` should have a snake case name such as `response_buffer` Oct 26 22:33:46.639 INFO kablam! --> src/dusty/httpParser/mod.rs:196:22 Oct 26 22:33:46.640 INFO kablam! | Oct 26 22:33:46.640 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:46.640 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.640 INFO kablam! Oct 26 22:33:46.640 INFO kablam! warning: module `pathBuilder` should have a snake case name such as `path_builder` Oct 26 22:33:46.640 INFO kablam! --> src/main.rs:4:5 Oct 26 22:33:46.640 INFO kablam! | Oct 26 22:33:46.640 INFO kablam! 4 | pub mod pathBuilder; Oct 26 22:33:46.640 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.640 INFO kablam! Oct 26 22:33:46.640 INFO kablam! warning: function `returnFullPath` should have a snake case name such as `return_full_path` Oct 26 22:33:46.640 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:1 Oct 26 22:33:46.640 INFO kablam! | Oct 26 22:33:46.640 INFO kablam! 9 | / pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 26 22:33:46.640 INFO kablam! 10 | | { Oct 26 22:33:46.640 INFO kablam! 11 | | match current_dir().unwrap().to_str() Oct 26 22:33:46.640 INFO kablam! 12 | | { Oct 26 22:33:46.640 INFO kablam! ... | Oct 26 22:33:46.640 INFO kablam! 38 | | Oct 26 22:33:46.640 INFO kablam! 39 | | } Oct 26 22:33:46.640 INFO kablam! | |_^ Oct 26 22:33:46.641 INFO kablam! Oct 26 22:33:46.641 INFO kablam! warning: variable `localPath` should have a snake case name such as `local_path` Oct 26 22:33:46.641 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:27 Oct 26 22:33:46.641 INFO kablam! | Oct 26 22:33:46.641 INFO kablam! 9 | pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 26 22:33:46.641 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:46.641 INFO kablam! Oct 26 22:33:46.641 INFO kablam! warning: variable `tempPath` should have a snake case name such as `temp_path` Oct 26 22:33:46.641 INFO kablam! --> src/dusty/pathBuilder/mod.rs:16:17 Oct 26 22:33:46.641 INFO kablam! | Oct 26 22:33:46.641 INFO kablam! 16 | let mut tempPath = PathBuf::new(); Oct 26 22:33:46.641 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:46.641 INFO kablam! Oct 26 22:33:46.641 INFO kablam! warning: variable `newPath` should have a snake case name such as `new_path` Oct 26 22:33:46.641 INFO kablam! --> src/dusty/pathBuilder/mod.rs:19:17 Oct 26 22:33:46.641 INFO kablam! | Oct 26 22:33:46.641 INFO kablam! 19 | let newPath : Vec<&str> = localPath.split("/").collect(); Oct 26 22:33:46.641 INFO kablam! | ^^^^^^^ Oct 26 22:33:46.641 INFO kablam! Oct 26 22:33:46.641 INFO kablam! warning: variable `finalPath` should have a snake case name such as `final_path` Oct 26 22:33:46.641 INFO kablam! --> src/dusty/pathBuilder/mod.rs:27:22 Oct 26 22:33:46.642 INFO kablam! | Oct 26 22:33:46.642 INFO kablam! 27 | Some(finalPath) => return finalPath.to_string(), Oct 26 22:33:46.642 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:46.642 INFO kablam! Oct 26 22:33:46.642 INFO kablam! warning: module `cacheManager` should have a snake case name such as `cache_manager` Oct 26 22:33:46.642 INFO kablam! --> src/main.rs:5:5 Oct 26 22:33:46.642 INFO kablam! | Oct 26 22:33:46.642 INFO kablam! 5 | pub mod cacheManager; Oct 26 22:33:46.642 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.642 INFO kablam! Oct 26 22:33:46.642 INFO kablam! warning: type `cache` should have a camel case name such as `Cache` Oct 26 22:33:46.642 INFO kablam! --> src/dusty/cacheManager/mod.rs:8:1 Oct 26 22:33:46.642 INFO kablam! | Oct 26 22:33:46.642 INFO kablam! 8 | / pub struct cache Oct 26 22:33:46.642 INFO kablam! 9 | | { Oct 26 22:33:46.642 INFO kablam! 10 | | c : HashMap, Oct 26 22:33:46.642 INFO kablam! 11 | | fileSize : HashMap Oct 26 22:33:46.642 INFO kablam! 12 | | } Oct 26 22:33:46.642 INFO kablam! | |_^ Oct 26 22:33:46.642 INFO kablam! | Oct 26 22:33:46.643 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 26 22:33:46.643 INFO kablam! Oct 26 22:33:46.643 INFO kablam! warning: structure field `fileSize` should have a snake case name such as `file_size` Oct 26 22:33:46.643 INFO kablam! --> src/dusty/cacheManager/mod.rs:11:5 Oct 26 22:33:46.643 INFO kablam! | Oct 26 22:33:46.643 INFO kablam! 11 | fileSize : HashMap Oct 26 22:33:46.643 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.643 INFO kablam! Oct 26 22:33:46.643 INFO kablam! warning: method `checkSize` should have a snake case name such as `check_size` Oct 26 22:33:46.643 INFO kablam! --> src/dusty/cacheManager/mod.rs:37:5 Oct 26 22:33:46.643 INFO kablam! | Oct 26 22:33:46.643 INFO kablam! 37 | / pub fn checkSize(&mut self, path : &str) -> usize Oct 26 22:33:46.643 INFO kablam! 38 | | { Oct 26 22:33:46.643 INFO kablam! 39 | | match self.fileSize.contains_key(path) Oct 26 22:33:46.643 INFO kablam! 40 | | { Oct 26 22:33:46.643 INFO kablam! ... | Oct 26 22:33:46.643 INFO kablam! 43 | | } Oct 26 22:33:46.643 INFO kablam! 44 | | } Oct 26 22:33:46.643 INFO kablam! | |_____^ Oct 26 22:33:46.643 INFO kablam! Oct 26 22:33:46.644 INFO kablam! warning: method `insertNewCacheItem` should have a snake case name such as `insert_new_cache_item` Oct 26 22:33:46.644 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:5 Oct 26 22:33:46.644 INFO kablam! | Oct 26 22:33:46.644 INFO kablam! 47 | / pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 26 22:33:46.647 INFO kablam! 48 | | { Oct 26 22:33:46.647 INFO kablam! 49 | | self.c.insert(path.to_string(),FileStr.clone()); Oct 26 22:33:46.647 INFO kablam! 50 | | self.fileSize.insert(path.to_string(),FileStr.len()); Oct 26 22:33:46.647 INFO kablam! 51 | | FileStr.len() Oct 26 22:33:46.647 INFO kablam! 52 | | } Oct 26 22:33:46.647 INFO kablam! | |_____^ Oct 26 22:33:46.647 INFO kablam! Oct 26 22:33:46.647 INFO kablam! warning: variable `FileStr` should have a snake case name such as `file_str` Oct 26 22:33:46.647 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:56 Oct 26 22:33:46.647 INFO kablam! | Oct 26 22:33:46.647 INFO kablam! 47 | pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 26 22:33:46.647 INFO kablam! | ^^^^^^^ Oct 26 22:33:46.647 INFO kablam! Oct 26 22:33:46.647 INFO kablam! warning: function `readNewUncachedFile` should have a snake case name such as `read_new_uncached_file` Oct 26 22:33:46.647 INFO kablam! --> src/dusty/cacheManager/mod.rs:57:5 Oct 26 22:33:46.647 INFO kablam! | Oct 26 22:33:46.647 INFO kablam! 57 | / pub fn readNewUncachedFile(filename: &str) -> (String, usize) Oct 26 22:33:46.647 INFO kablam! 58 | | { Oct 26 22:33:46.648 INFO kablam! 59 | | let mut f = File::open(filename); Oct 26 22:33:46.648 INFO kablam! 60 | | match f Oct 26 22:33:46.648 INFO kablam! ... | Oct 26 22:33:46.648 INFO kablam! 73 | | } Oct 26 22:33:46.648 INFO kablam! 74 | | } Oct 26 22:33:46.648 INFO kablam! | |_____^ Oct 26 22:33:46.648 INFO kablam! Oct 26 22:33:46.648 INFO kablam! warning: function `readText` should have a snake case name such as `read_text` Oct 26 22:33:46.648 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:5 Oct 26 22:33:46.648 INFO kablam! | Oct 26 22:33:46.648 INFO kablam! 77 | / fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 26 22:33:46.648 INFO kablam! 78 | | { Oct 26 22:33:46.648 INFO kablam! 79 | | let mut s = String::new(); Oct 26 22:33:46.648 INFO kablam! 80 | | let lenRead = readable.read_to_string(&mut s); Oct 26 22:33:46.648 INFO kablam! ... | Oct 26 22:33:46.648 INFO kablam! 94 | | } Oct 26 22:33:46.648 INFO kablam! 95 | | } Oct 26 22:33:46.648 INFO kablam! | |_____^ Oct 26 22:33:46.648 INFO kablam! Oct 26 22:33:46.648 INFO kablam! warning: variable `lenRead` should have a snake case name such as `len_read` Oct 26 22:33:46.648 INFO kablam! --> src/dusty/cacheManager/mod.rs:80:13 Oct 26 22:33:46.649 INFO kablam! | Oct 26 22:33:46.649 INFO kablam! 80 | let lenRead = readable.read_to_string(&mut s); Oct 26 22:33:46.649 INFO kablam! | ^^^^^^^ Oct 26 22:33:46.649 INFO kablam! Oct 26 22:33:46.649 INFO kablam! warning: variable `lR` should have a snake case name such as `l_r` Oct 26 22:33:46.649 INFO kablam! --> src/dusty/cacheManager/mod.rs:83:24 Oct 26 22:33:46.649 INFO kablam! | Oct 26 22:33:46.649 INFO kablam! 83 | Ok(lR) => Oct 26 22:33:46.649 INFO kablam! | ^^ Oct 26 22:33:46.649 INFO kablam! Oct 26 22:33:46.649 INFO kablam! warning: type `request` should have a camel case name such as `Request` Oct 26 22:33:46.649 INFO kablam! --> src/dusty/connection/mod.rs:13:1 Oct 26 22:33:46.649 INFO kablam! | Oct 26 22:33:46.649 INFO kablam! 13 | / pub struct request Oct 26 22:33:46.649 INFO kablam! 14 | | { Oct 26 22:33:46.649 INFO kablam! 15 | | pub filePath : String, Oct 26 22:33:46.649 INFO kablam! 16 | | pub size : usize, Oct 26 22:33:46.649 INFO kablam! 17 | | pub streamChannel : Sender Oct 26 22:33:46.649 INFO kablam! 18 | | } Oct 26 22:33:46.649 INFO kablam! | |_^ Oct 26 22:33:46.649 INFO kablam! Oct 26 22:33:46.649 INFO kablam! warning: structure field `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.650 INFO kablam! --> src/dusty/connection/mod.rs:15:5 Oct 26 22:33:46.650 INFO kablam! | Oct 26 22:33:46.650 INFO kablam! 15 | pub filePath : String, Oct 26 22:33:46.650 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.650 INFO kablam! Oct 26 22:33:46.650 INFO kablam! warning: structure field `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:46.650 INFO kablam! --> src/dusty/connection/mod.rs:17:5 Oct 26 22:33:46.650 INFO kablam! | Oct 26 22:33:46.650 INFO kablam! 17 | pub streamChannel : Sender Oct 26 22:33:46.650 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.650 INFO kablam! Oct 26 22:33:46.650 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.650 INFO kablam! --> src/dusty/connection/mod.rs:22:16 Oct 26 22:33:46.650 INFO kablam! | Oct 26 22:33:46.650 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 26 22:33:46.650 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.650 INFO kablam! Oct 26 22:33:46.650 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:46.650 INFO kablam! --> src/dusty/connection/mod.rs:22:48 Oct 26 22:33:46.650 INFO kablam! | Oct 26 22:33:46.650 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 26 22:33:46.651 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:46.651 INFO kablam! Oct 26 22:33:46.651 INFO kablam! warning: type `response` should have a camel case name such as `Response` Oct 26 22:33:46.651 INFO kablam! --> src/dusty/connection/mod.rs:38:1 Oct 26 22:33:46.651 INFO kablam! | Oct 26 22:33:46.651 INFO kablam! 38 | / pub struct response Oct 26 22:33:46.651 INFO kablam! 39 | | { Oct 26 22:33:46.651 INFO kablam! 40 | | pub body : String, Oct 26 22:33:46.651 INFO kablam! 41 | | pub header : String Oct 26 22:33:46.651 INFO kablam! 42 | | } Oct 26 22:33:46.651 INFO kablam! | |_^ Oct 26 22:33:46.651 INFO kablam! Oct 26 22:33:46.651 INFO kablam! warning: type `con` should have a camel case name such as `Con` Oct 26 22:33:46.651 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 26 22:33:46.651 INFO kablam! | Oct 26 22:33:46.651 INFO kablam! 53 | / pub struct con Oct 26 22:33:46.651 INFO kablam! 54 | | { Oct 26 22:33:46.651 INFO kablam! 55 | | pub buffer: String, Oct 26 22:33:46.651 INFO kablam! 56 | | pub stream: TcpStream Oct 26 22:33:46.651 INFO kablam! 57 | | } Oct 26 22:33:46.651 INFO kablam! | |_^ Oct 26 22:33:46.651 INFO kablam! Oct 26 22:33:46.652 INFO kablam! warning: module `httpParserThread` should have a snake case name such as `http_parser_thread` Oct 26 22:33:46.652 INFO kablam! --> src/main.rs:7:5 Oct 26 22:33:46.652 INFO kablam! | Oct 26 22:33:46.652 INFO kablam! 7 | pub mod httpParserThread; Oct 26 22:33:46.652 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.652 INFO kablam! Oct 26 22:33:46.652 INFO kablam! warning: function `spawnNewParserThread` should have a snake case name such as `spawn_new_parser_thread` Oct 26 22:33:46.652 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:1 Oct 26 22:33:46.652 INFO kablam! | Oct 26 22:33:46.652 INFO kablam! 12 | / pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:46.652 INFO kablam! 13 | | { Oct 26 22:33:46.652 INFO kablam! 14 | | thread::spawn(move || Oct 26 22:33:46.652 INFO kablam! 15 | | { Oct 26 22:33:46.652 INFO kablam! ... | Oct 26 22:33:46.652 INFO kablam! 66 | | Oct 26 22:33:46.652 INFO kablam! 67 | | } Oct 26 22:33:46.652 INFO kablam! | |_^ Oct 26 22:33:46.652 INFO kablam! Oct 26 22:33:46.652 INFO kablam! warning: variable `streamReceiver` should have a snake case name such as `stream_receiver` Oct 26 22:33:46.652 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:29 Oct 26 22:33:46.652 INFO kablam! | Oct 26 22:33:46.652 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:46.652 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.653 INFO kablam! Oct 26 22:33:46.653 INFO kablam! warning: variable `gathererManagerChannel` should have a snake case name such as `gatherer_manager_channel` Oct 26 22:33:46.653 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:67 Oct 26 22:33:46.653 INFO kablam! | Oct 26 22:33:46.653 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:46.653 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.653 INFO kablam! Oct 26 22:33:46.653 INFO kablam! warning: variable `localSend` should have a snake case name such as `local_send` Oct 26 22:33:46.653 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:14 Oct 26 22:33:46.653 INFO kablam! | Oct 26 22:33:46.653 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 26 22:33:46.653 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:46.653 INFO kablam! Oct 26 22:33:46.653 INFO kablam! warning: unreachable expression Oct 26 22:33:46.653 INFO kablam! --> src/dusty/httpParser/mod.rs:186:13 Oct 26 22:33:46.653 INFO kablam! | Oct 26 22:33:46.653 INFO kablam! 186 | return None Oct 26 22:33:46.653 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.653 INFO kablam! | Oct 26 22:33:46.653 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 26 22:33:46.653 INFO kablam! Oct 26 22:33:46.653 INFO kablam! warning: variable `localRecv` should have a snake case name such as `local_recv` Oct 26 22:33:46.654 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:25 Oct 26 22:33:46.654 INFO kablam! | Oct 26 22:33:46.654 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 26 22:33:46.654 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:46.654 INFO kablam! Oct 26 22:33:46.654 INFO kablam! warning: variable `headerTemplate` should have a snake case name such as `header_template` Oct 26 22:33:46.654 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 26 22:33:46.654 INFO kablam! | Oct 26 22:33:46.654 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 26 22:33:46.654 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.654 INFO kablam! Oct 26 22:33:46.654 INFO kablam! warning: variable `requestCount` should have a snake case name such as `request_count` Oct 26 22:33:46.654 INFO kablam! --> src/dusty/httpParserThread/mod.rs:29:25 Oct 26 22:33:46.654 INFO kablam! | Oct 26 22:33:46.654 INFO kablam! 29 | let mut requestCount = schedule.len(); Oct 26 22:33:46.654 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:46.654 INFO kablam! Oct 26 22:33:46.654 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:46.654 INFO kablam! --> src/dusty/httpParserThread/mod.rs:35:25 Oct 26 22:33:46.654 INFO kablam! | Oct 26 22:33:46.654 INFO kablam! 35 | gathererManagerChannel.send(req); Oct 26 22:33:46.654 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.655 INFO kablam! | Oct 26 22:33:46.655 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 26 22:33:46.655 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:46.655 INFO kablam! Oct 26 22:33:46.655 INFO kablam! warning: function `spawnNewGathererThread` should have a snake case name such as `spawn_new_gatherer_thread` Oct 26 22:33:46.655 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:1 Oct 26 22:33:46.655 INFO kablam! | Oct 26 22:33:46.655 INFO kablam! 70 | / pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 26 22:33:46.655 INFO kablam! 71 | | { Oct 26 22:33:46.655 INFO kablam! 72 | | thread::spawn(move || Oct 26 22:33:46.655 INFO kablam! 73 | | { Oct 26 22:33:46.655 INFO kablam! ... | Oct 26 22:33:46.655 INFO kablam! 88 | | }); Oct 26 22:33:46.655 INFO kablam! 89 | | } Oct 26 22:33:46.655 INFO kablam! | |_^ Oct 26 22:33:46.655 INFO kablam! Oct 26 22:33:46.655 INFO kablam! warning: variable `requestReceiver` should have a snake case name such as `request_receiver` Oct 26 22:33:46.655 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:31 Oct 26 22:33:46.655 INFO kablam! | Oct 26 22:33:46.655 INFO kablam! 70 | pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 26 22:33:46.655 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:46.655 INFO kablam! Oct 26 22:33:46.655 INFO kablam! warning: function `createIndependentThreadPools` should have a snake case name such as `create_independent_thread_pools` Oct 26 22:33:46.656 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:1 Oct 26 22:33:46.656 INFO kablam! | Oct 26 22:33:46.656 INFO kablam! 93 | / pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:46.656 INFO kablam! 94 | | { Oct 26 22:33:46.656 INFO kablam! 95 | | //These are the meat and potatos of dusty Oct 26 22:33:46.656 INFO kablam! 96 | | //They are simply a vec pointing to channels Oct 26 22:33:46.656 INFO kablam! ... | Oct 26 22:33:46.656 INFO kablam! 122 | | Oct 26 22:33:46.656 INFO kablam! 123 | | } Oct 26 22:33:46.656 INFO kablam! | |_^ Oct 26 22:33:46.656 INFO kablam! Oct 26 22:33:46.656 INFO kablam! warning: variable `parserThreadPoolSize` should have a snake case name such as `parser_thread_pool_size` Oct 26 22:33:46.656 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:37 Oct 26 22:33:46.656 INFO kablam! | Oct 26 22:33:46.656 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:46.656 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.656 INFO kablam! Oct 26 22:33:46.656 INFO kablam! warning: variable `gathererThreadPoolSize` should have a snake case name such as `gatherer_thread_pool_size` Oct 26 22:33:46.656 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:66 Oct 26 22:33:46.656 INFO kablam! | Oct 26 22:33:46.656 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:46.656 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.657 INFO kablam! Oct 26 22:33:46.657 INFO kablam! warning: variable `gathererChannels` should have a snake case name such as `gatherer_channels` Oct 26 22:33:46.657 INFO kablam! --> src/dusty/httpParserThread/mod.rs:98:9 Oct 26 22:33:46.657 INFO kablam! | Oct 26 22:33:46.657 INFO kablam! 98 | let mut gathererChannels : Vec> = Vec::new(); Oct 26 22:33:46.657 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.657 INFO kablam! Oct 26 22:33:46.657 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 26 22:33:46.657 INFO kablam! --> src/dusty/httpParserThread/mod.rs:99:9 Oct 26 22:33:46.657 INFO kablam! | Oct 26 22:33:46.657 INFO kablam! 99 | let mut parserChannels : Vec> = Vec::new(); Oct 26 22:33:46.657 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.657 INFO kablam! Oct 26 22:33:46.657 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 26 22:33:46.657 INFO kablam! --> src/dusty/httpParserThread/mod.rs:110:9 Oct 26 22:33:46.657 INFO kablam! | Oct 26 22:33:46.657 INFO kablam! 110 | let gathererManager : Sender = spawnGathererManagerThread(gathererChannels); Oct 26 22:33:46.657 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:46.657 INFO kablam! Oct 26 22:33:46.657 INFO kablam! warning: function `spawnGathererManagerThread` should have a snake case name such as `spawn_gatherer_manager_thread` Oct 26 22:33:46.657 INFO kablam! --> src/dusty/httpParserThread/mod.rs:126:1 Oct 26 22:33:46.657 INFO kablam! | Oct 26 22:33:46.658 INFO kablam! 126 | / pub fn spawnGathererManagerThread(channels : Vec>) -> Sender Oct 26 22:33:46.658 INFO kablam! 127 | | { Oct 26 22:33:46.658 INFO kablam! 128 | | let (send, recv) = channel::(); Oct 26 22:33:46.658 INFO kablam! 129 | | thread::spawn(move || Oct 26 22:33:46.658 INFO kablam! ... | Oct 26 22:33:46.658 INFO kablam! 150 | | return send Oct 26 22:33:46.658 INFO kablam! 151 | | } Oct 26 22:33:46.658 INFO kablam! | |_^ Oct 26 22:33:46.658 INFO kablam! Oct 26 22:33:46.658 INFO kablam! warning: variable `channelIndex` should have a snake case name such as `channel_index` Oct 26 22:33:46.658 INFO kablam! --> src/dusty/httpParserThread/mod.rs:131:13 Oct 26 22:33:46.658 INFO kablam! | Oct 26 22:33:46.658 INFO kablam! 131 | let mut channelIndex : usize = 0; Oct 26 22:33:46.658 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:46.658 INFO kablam! Oct 26 22:33:46.658 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:46.658 INFO kablam! --> src/dusty/httpParserThread/mod.rs:141:21 Oct 26 22:33:46.658 INFO kablam! | Oct 26 22:33:46.658 INFO kablam! 141 | channels[channelIndex].send(req); Oct 26 22:33:46.658 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.658 INFO kablam! | Oct 26 22:33:46.663 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:46.663 INFO kablam! Oct 26 22:33:46.663 INFO kablam! warning: variable `parserThreadCount` should have a snake case name such as `parser_thread_count` Oct 26 22:33:46.663 INFO kablam! --> src/main.rs:23:9 Oct 26 22:33:46.663 INFO kablam! | Oct 26 22:33:46.663 INFO kablam! 23 | let parserThreadCount : usize = 16; Oct 26 22:33:46.663 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.663 INFO kablam! Oct 26 22:33:46.663 INFO kablam! warning: variable `gathererThreadCount` should have a snake case name such as `gatherer_thread_count` Oct 26 22:33:46.663 INFO kablam! --> src/main.rs:24:9 Oct 26 22:33:46.663 INFO kablam! | Oct 26 22:33:46.663 INFO kablam! 24 | let gathererThreadCount : usize = 16; Oct 26 22:33:46.663 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.663 INFO kablam! Oct 26 22:33:46.663 INFO kablam! warning: variable `sharedCache` should have a snake case name such as `shared_cache` Oct 26 22:33:46.663 INFO kablam! --> src/main.rs:27:9 Oct 26 22:33:46.663 INFO kablam! | Oct 26 22:33:46.663 INFO kablam! 27 | let sharedCache : Arc> = Arc::new(Mutex::new(cacheManager::cache::new())); Oct 26 22:33:46.663 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.663 INFO kablam! Oct 26 22:33:46.663 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 26 22:33:46.664 INFO kablam! --> src/main.rs:30:10 Oct 26 22:33:46.664 INFO kablam! | Oct 26 22:33:46.664 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:46.664 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.664 INFO kablam! Oct 26 22:33:46.664 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 26 22:33:46.664 INFO kablam! --> src/main.rs:30:26 Oct 26 22:33:46.664 INFO kablam! | Oct 26 22:33:46.664 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:46.664 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:46.664 INFO kablam! Oct 26 22:33:46.664 INFO kablam! warning: variable `parserIndex` should have a snake case name such as `parser_index` Oct 26 22:33:46.664 INFO kablam! --> src/main.rs:31:9 Oct 26 22:33:46.664 INFO kablam! | Oct 26 22:33:46.664 INFO kablam! 31 | let mut parserIndex = 0; Oct 26 22:33:46.664 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:46.664 INFO kablam! Oct 26 22:33:46.664 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:46.664 INFO kablam! --> src/main.rs:41:25 Oct 26 22:33:46.664 INFO kablam! | Oct 26 22:33:46.664 INFO kablam! 41 | parserChannels[parserIndex].send(stream); Oct 26 22:33:46.664 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.665 INFO kablam! | Oct 26 22:33:46.665 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:46.665 INFO kablam! Oct 26 22:33:46.768 INFO kablam! warning: unused import: `std::io::prelude` Oct 26 22:33:46.768 INFO kablam! --> src/dusty/pathBuilder/mod.rs:4:6 Oct 26 22:33:46.768 INFO kablam! | Oct 26 22:33:46.768 INFO kablam! 4 | use std::io::prelude::*; Oct 26 22:33:46.768 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:46.768 INFO kablam! Oct 26 22:33:46.774 INFO kablam! warning: unused variable: `e` Oct 26 22:33:46.775 INFO kablam! --> src/dusty/httpParser/mod.rs:63:17 Oct 26 22:33:46.775 INFO kablam! | Oct 26 22:33:46.775 INFO kablam! 63 | Err(e) => println!("Error Reading to buffer in request!") Oct 26 22:33:46.775 INFO kablam! | ^ help: consider using `_e` instead Oct 26 22:33:46.775 INFO kablam! | Oct 26 22:33:46.775 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 26 22:33:46.775 INFO kablam! Oct 26 22:33:46.775 INFO kablam! warning: unused variable: `index` Oct 26 22:33:46.775 INFO kablam! --> src/dusty/httpParser/mod.rs:132:22 Oct 26 22:33:46.775 INFO kablam! | Oct 26 22:33:46.775 INFO kablam! 132 | Some(index) => Oct 26 22:33:46.775 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 26 22:33:46.776 INFO kablam! Oct 26 22:33:46.776 INFO kablam! warning: unused variable: `e` Oct 26 22:33:46.776 INFO kablam! --> src/dusty/cacheManager/mod.rs:67:21 Oct 26 22:33:46.776 INFO kablam! | Oct 26 22:33:46.776 INFO kablam! 67 | Err(e) => Oct 26 22:33:46.776 INFO kablam! | ^ help: consider using `_e` instead Oct 26 22:33:46.776 INFO kablam! Oct 26 22:33:46.776 INFO kablam! warning: unused variable: `filename` Oct 26 22:33:46.776 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:38 Oct 26 22:33:46.777 INFO kablam! | Oct 26 22:33:46.777 INFO kablam! 77 | fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 26 22:33:46.777 INFO kablam! | ^^^^^^^^ help: consider using `_filename` instead Oct 26 22:33:46.777 INFO kablam! Oct 26 22:33:46.777 INFO kablam! warning: unused variable: `headerTemplate` Oct 26 22:33:46.777 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 26 22:33:46.777 INFO kablam! | Oct 26 22:33:46.777 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 26 22:33:46.777 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_headerTemplate` instead Oct 26 22:33:46.777 INFO kablam! Oct 26 22:33:46.777 INFO kablam! warning: unused variable: `i` Oct 26 22:33:46.777 INFO kablam! --> src/dusty/httpParserThread/mod.rs:102:9 Oct 26 22:33:46.777 INFO kablam! | Oct 26 22:33:46.777 INFO kablam! 102 | for i in 0..gathererThreadPoolSize //Spawn gatherer threads Oct 26 22:33:46.777 INFO kablam! | ^ help: consider using `_i` instead Oct 26 22:33:46.777 INFO kablam! Oct 26 22:33:46.777 INFO kablam! warning: unused variable: `i` Oct 26 22:33:46.778 INFO kablam! --> src/dusty/httpParserThread/mod.rs:113:9 Oct 26 22:33:46.778 INFO kablam! | Oct 26 22:33:46.778 INFO kablam! 113 | for i in 0..parserThreadPoolSize Oct 26 22:33:46.778 INFO kablam! | ^ help: consider using `_i` instead Oct 26 22:33:46.778 INFO kablam! Oct 26 22:33:46.778 INFO kablam! warning: unused variable: `gathererManager` Oct 26 22:33:46.778 INFO kablam! --> src/main.rs:30:26 Oct 26 22:33:46.778 INFO kablam! | Oct 26 22:33:46.778 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:46.778 INFO kablam! | ^^^^^^^^^^^^^^^ help: consider using `_gathererManager` instead Oct 26 22:33:46.778 INFO kablam! Oct 26 22:33:46.805 INFO kablam! warning: variable does not need to be mutable Oct 26 22:33:46.806 INFO kablam! --> src/dusty/cacheManager/mod.rs:59:13 Oct 26 22:33:46.806 INFO kablam! | Oct 26 22:33:46.806 INFO kablam! 59 | let mut f = File::open(filename); Oct 26 22:33:46.806 INFO kablam! | ----^ Oct 26 22:33:46.806 INFO kablam! | | Oct 26 22:33:46.806 INFO kablam! | help: remove this `mut` Oct 26 22:33:46.806 INFO kablam! | Oct 26 22:33:46.806 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 26 22:33:46.806 INFO kablam! Oct 26 22:33:46.816 INFO kablam! warning: function is never used: `processHeader` Oct 26 22:33:46.816 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 26 22:33:46.816 INFO kablam! | Oct 26 22:33:46.816 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:46.817 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.817 INFO kablam! | Oct 26 22:33:46.817 INFO kablam! = note: #[warn(dead_code)] on by default Oct 26 22:33:46.817 INFO kablam! Oct 26 22:33:46.817 INFO kablam! warning: function is never used: `convertVecStrToU8` Oct 26 22:33:46.817 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 26 22:33:46.817 INFO kablam! | Oct 26 22:33:46.818 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:46.818 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.818 INFO kablam! Oct 26 22:33:46.818 INFO kablam! warning: struct is never constructed: `con` Oct 26 22:33:46.818 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 26 22:33:46.818 INFO kablam! | Oct 26 22:33:46.818 INFO kablam! 53 | pub struct con Oct 26 22:33:46.818 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.818 INFO kablam! Oct 26 22:33:46.818 INFO kablam! warning: method is never used: `new` Oct 26 22:33:46.818 INFO kablam! --> src/dusty/connection/mod.rs:61:5 Oct 26 22:33:46.818 INFO kablam! | Oct 26 22:33:46.818 INFO kablam! 61 | pub fn new(buffer : String, stream : TcpStream) -> con Oct 26 22:33:46.818 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.819 INFO kablam! Oct 26 22:33:46.819 INFO kablam! warning: module `httpParser` should have a snake case name such as `http_parser` Oct 26 22:33:46.819 INFO kablam! --> src/main.rs:3:5 Oct 26 22:33:46.819 INFO kablam! | Oct 26 22:33:46.819 INFO kablam! 3 | pub mod httpParser; Oct 26 22:33:46.819 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.819 INFO kablam! | Oct 26 22:33:46.819 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 26 22:33:46.819 INFO kablam! Oct 26 22:33:46.819 INFO kablam! warning: function `createRequestSchedule` should have a snake case name such as `create_request_schedule` Oct 26 22:33:46.819 INFO kablam! --> src/dusty/httpParser/mod.rs:18:1 Oct 26 22:33:46.819 INFO kablam! | Oct 26 22:33:46.819 INFO kablam! 18 | / pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 26 22:33:46.819 INFO kablam! 19 | | { Oct 26 22:33:46.819 INFO kablam! 20 | | let mut schedule : Vec = Vec::new(); Oct 26 22:33:46.819 INFO kablam! 21 | | Oct 26 22:33:46.819 INFO kablam! ... | Oct 26 22:33:46.819 INFO kablam! 66 | | return (schedule,String::from(" ")); Oct 26 22:33:46.819 INFO kablam! 67 | | } Oct 26 22:33:46.819 INFO kablam! | |_^ Oct 26 22:33:46.820 INFO kablam! Oct 26 22:33:46.820 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:46.820 INFO kablam! --> src/dusty/httpParser/mod.rs:18:51 Oct 26 22:33:46.820 INFO kablam! | Oct 26 22:33:46.820 INFO kablam! 18 | pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 26 22:33:46.820 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:46.820 INFO kablam! Oct 26 22:33:46.820 INFO kablam! warning: variable `lineBuffer` should have a snake case name such as `line_buffer` Oct 26 22:33:46.820 INFO kablam! --> src/dusty/httpParser/mod.rs:25:9 Oct 26 22:33:46.820 INFO kablam! | Oct 26 22:33:46.820 INFO kablam! 25 | let mut lineBuffer = String::with_capacity(512); Oct 26 22:33:46.820 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.820 INFO kablam! Oct 26 22:33:46.820 INFO kablam! warning: variable `newRequest` should have a snake case name such as `new_request` Oct 26 22:33:46.820 INFO kablam! --> src/dusty/httpParser/mod.rs:44:34 Oct 26 22:33:46.820 INFO kablam! | Oct 26 22:33:46.820 INFO kablam! 44 | Some(newRequest) => Oct 26 22:33:46.820 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:46.820 INFO kablam! Oct 26 22:33:46.820 INFO kablam! warning: function `processHeader` should have a snake case name such as `process_header` Oct 26 22:33:46.821 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 26 22:33:46.821 INFO kablam! | Oct 26 22:33:46.821 INFO kablam! 70 | / fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:46.821 INFO kablam! 71 | | { Oct 26 22:33:46.821 INFO kablam! 72 | | println!("Header : {}", &header[0..contentStart]); Oct 26 22:33:46.821 INFO kablam! 73 | | println!("Content : {}",&header[contentStart+1..header.len()]); Oct 26 22:33:46.821 INFO kablam! 74 | | println!(); Oct 26 22:33:46.821 INFO kablam! 75 | | } Oct 26 22:33:46.821 INFO kablam! | |_^ Oct 26 22:33:46.821 INFO kablam! Oct 26 22:33:46.821 INFO kablam! warning: variable `contentStart` should have a snake case name such as `content_start` Oct 26 22:33:46.821 INFO kablam! --> src/dusty/httpParser/mod.rs:70:32 Oct 26 22:33:46.821 INFO kablam! | Oct 26 22:33:46.821 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 26 22:33:46.821 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:46.821 INFO kablam! Oct 26 22:33:46.821 INFO kablam! warning: function `processFileRequest` should have a snake case name such as `process_file_request` Oct 26 22:33:46.821 INFO kablam! --> src/dusty/httpParser/mod.rs:79:1 Oct 26 22:33:46.821 INFO kablam! | Oct 26 22:33:46.821 INFO kablam! 79 | / pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 26 22:33:46.822 INFO kablam! 80 | | { Oct 26 22:33:46.822 INFO kablam! 81 | | match cache.lock() Oct 26 22:33:46.822 INFO kablam! 82 | | { Oct 26 22:33:46.822 INFO kablam! ... | Oct 26 22:33:46.822 INFO kablam! 117 | | } Oct 26 22:33:46.822 INFO kablam! 118 | | } Oct 26 22:33:46.822 INFO kablam! | |_^ Oct 26 22:33:46.822 INFO kablam! Oct 26 22:33:46.822 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.822 INFO kablam! --> src/dusty/httpParser/mod.rs:79:31 Oct 26 22:33:46.822 INFO kablam! | Oct 26 22:33:46.822 INFO kablam! 79 | pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 26 22:33:46.822 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.822 INFO kablam! Oct 26 22:33:46.822 INFO kablam! warning: variable `fileString` should have a snake case name such as `file_string` Oct 26 22:33:46.822 INFO kablam! --> src/dusty/httpParser/mod.rs:89:26 Oct 26 22:33:46.822 INFO kablam! | Oct 26 22:33:46.822 INFO kablam! 89 | let (fileString, size) = cacheManager::readNewUncachedFile(&filePath); Oct 26 22:33:46.822 INFO kablam! | ^^^^^^^^^^ Oct 26 22:33:46.823 INFO kablam! Oct 26 22:33:46.823 INFO kablam! warning: function `processRequestLine` should have a snake case name such as `process_request_line` Oct 26 22:33:46.823 INFO kablam! --> src/dusty/httpParser/mod.rs:120:1 Oct 26 22:33:46.823 INFO kablam! | Oct 26 22:33:46.823 INFO kablam! 120 | / fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 26 22:33:46.823 INFO kablam! 121 | | { Oct 26 22:33:46.823 INFO kablam! 122 | | if line == "\r\n" Oct 26 22:33:46.823 INFO kablam! 123 | | { Oct 26 22:33:46.823 INFO kablam! ... | Oct 26 22:33:46.823 INFO kablam! 188 | | } Oct 26 22:33:46.823 INFO kablam! 189 | | } Oct 26 22:33:46.823 INFO kablam! | |_^ Oct 26 22:33:46.823 INFO kablam! Oct 26 22:33:46.823 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:46.823 INFO kablam! --> src/dusty/httpParser/mod.rs:120:36 Oct 26 22:33:46.823 INFO kablam! | Oct 26 22:33:46.823 INFO kablam! 120 | fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 26 22:33:46.823 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:46.823 INFO kablam! Oct 26 22:33:46.823 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 26 22:33:46.823 INFO kablam! --> src/dusty/httpParser/mod.rs:142:29 Oct 26 22:33:46.823 INFO kablam! | Oct 26 22:33:46.824 INFO kablam! 142 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 26 22:33:46.824 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.824 INFO kablam! Oct 26 22:33:46.824 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.824 INFO kablam! --> src/dusty/httpParser/mod.rs:145:33 Oct 26 22:33:46.824 INFO kablam! | Oct 26 22:33:46.824 INFO kablam! 145 | let filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 26 22:33:46.824 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.824 INFO kablam! Oct 26 22:33:46.824 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 26 22:33:46.824 INFO kablam! --> src/dusty/httpParser/mod.rs:157:33 Oct 26 22:33:46.824 INFO kablam! | Oct 26 22:33:46.824 INFO kablam! 157 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 26 22:33:46.824 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.824 INFO kablam! Oct 26 22:33:46.824 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.824 INFO kablam! --> src/dusty/httpParser/mod.rs:159:37 Oct 26 22:33:46.824 INFO kablam! | Oct 26 22:33:46.824 INFO kablam! 159 | let mut filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 26 22:33:46.824 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:46.824 INFO kablam! Oct 26 22:33:46.825 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.825 INFO kablam! --> src/dusty/httpParser/mod.rs:169:33 Oct 26 22:33:46.825 INFO kablam! | Oct 26 22:33:46.825 INFO kablam! 169 | let mut filePath = pathBuilder::returnFullPath(&line); Oct 26 22:33:46.825 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:46.825 INFO kablam! Oct 26 22:33:46.825 INFO kablam! warning: function `convertVecStrToU8` should have a snake case name such as `convert_vec_str_to_u8` Oct 26 22:33:46.825 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 26 22:33:46.825 INFO kablam! | Oct 26 22:33:46.825 INFO kablam! 196 | / fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:46.825 INFO kablam! 197 | | { Oct 26 22:33:46.825 INFO kablam! 198 | | let mut str_as_u8 : Vec = Vec::new(); Oct 26 22:33:46.825 INFO kablam! 199 | | for res in responseBuffer Oct 26 22:33:46.825 INFO kablam! ... | Oct 26 22:33:46.825 INFO kablam! 203 | | str_as_u8 Oct 26 22:33:46.825 INFO kablam! 204 | | } Oct 26 22:33:46.825 INFO kablam! | |_^ Oct 26 22:33:46.825 INFO kablam! Oct 26 22:33:46.825 INFO kablam! warning: variable `responseBuffer` should have a snake case name such as `response_buffer` Oct 26 22:33:46.825 INFO kablam! --> src/dusty/httpParser/mod.rs:196:22 Oct 26 22:33:46.825 INFO kablam! | Oct 26 22:33:46.825 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 26 22:33:46.826 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.826 INFO kablam! Oct 26 22:33:46.826 INFO kablam! warning: module `pathBuilder` should have a snake case name such as `path_builder` Oct 26 22:33:46.826 INFO kablam! --> src/main.rs:4:5 Oct 26 22:33:46.826 INFO kablam! | Oct 26 22:33:46.826 INFO kablam! 4 | pub mod pathBuilder; Oct 26 22:33:46.826 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.826 INFO kablam! Oct 26 22:33:46.826 INFO kablam! warning: function `returnFullPath` should have a snake case name such as `return_full_path` Oct 26 22:33:46.826 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:1 Oct 26 22:33:46.826 INFO kablam! | Oct 26 22:33:46.826 INFO kablam! 9 | / pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 26 22:33:46.826 INFO kablam! 10 | | { Oct 26 22:33:46.826 INFO kablam! 11 | | match current_dir().unwrap().to_str() Oct 26 22:33:46.826 INFO kablam! 12 | | { Oct 26 22:33:46.826 INFO kablam! ... | Oct 26 22:33:46.826 INFO kablam! 38 | | Oct 26 22:33:46.826 INFO kablam! 39 | | } Oct 26 22:33:46.826 INFO kablam! | |_^ Oct 26 22:33:46.826 INFO kablam! Oct 26 22:33:46.826 INFO kablam! warning: variable `localPath` should have a snake case name such as `local_path` Oct 26 22:33:46.827 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:27 Oct 26 22:33:46.827 INFO kablam! | Oct 26 22:33:46.827 INFO kablam! 9 | pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 26 22:33:46.827 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:46.827 INFO kablam! Oct 26 22:33:46.827 INFO kablam! warning: variable `tempPath` should have a snake case name such as `temp_path` Oct 26 22:33:46.827 INFO kablam! --> src/dusty/pathBuilder/mod.rs:16:17 Oct 26 22:33:46.827 INFO kablam! | Oct 26 22:33:46.827 INFO kablam! 16 | let mut tempPath = PathBuf::new(); Oct 26 22:33:46.827 INFO kablam! | ^^^^^^^^^^^^ Oct 26 22:33:46.827 INFO kablam! Oct 26 22:33:46.827 INFO kablam! warning: variable `newPath` should have a snake case name such as `new_path` Oct 26 22:33:46.827 INFO kablam! --> src/dusty/pathBuilder/mod.rs:19:17 Oct 26 22:33:46.827 INFO kablam! | Oct 26 22:33:46.827 INFO kablam! 19 | let newPath : Vec<&str> = localPath.split("/").collect(); Oct 26 22:33:46.827 INFO kablam! | ^^^^^^^ Oct 26 22:33:46.827 INFO kablam! Oct 26 22:33:46.827 INFO kablam! warning: variable `finalPath` should have a snake case name such as `final_path` Oct 26 22:33:46.827 INFO kablam! --> src/dusty/pathBuilder/mod.rs:27:22 Oct 26 22:33:46.827 INFO kablam! | Oct 26 22:33:46.827 INFO kablam! 27 | Some(finalPath) => return finalPath.to_string(), Oct 26 22:33:46.827 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:46.828 INFO kablam! Oct 26 22:33:46.828 INFO kablam! warning: module `cacheManager` should have a snake case name such as `cache_manager` Oct 26 22:33:46.828 INFO kablam! --> src/main.rs:5:5 Oct 26 22:33:46.828 INFO kablam! | Oct 26 22:33:46.828 INFO kablam! 5 | pub mod cacheManager; Oct 26 22:33:46.828 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.828 INFO kablam! Oct 26 22:33:46.828 INFO kablam! warning: type `cache` should have a camel case name such as `Cache` Oct 26 22:33:46.828 INFO kablam! --> src/dusty/cacheManager/mod.rs:8:1 Oct 26 22:33:46.828 INFO kablam! | Oct 26 22:33:46.828 INFO kablam! 8 | / pub struct cache Oct 26 22:33:46.828 INFO kablam! 9 | | { Oct 26 22:33:46.828 INFO kablam! 10 | | c : HashMap, Oct 26 22:33:46.828 INFO kablam! 11 | | fileSize : HashMap Oct 26 22:33:46.828 INFO kablam! 12 | | } Oct 26 22:33:46.828 INFO kablam! | |_^ Oct 26 22:33:46.828 INFO kablam! | Oct 26 22:33:46.828 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 26 22:33:46.828 INFO kablam! Oct 26 22:33:46.828 INFO kablam! warning: structure field `fileSize` should have a snake case name such as `file_size` Oct 26 22:33:46.828 INFO kablam! --> src/dusty/cacheManager/mod.rs:11:5 Oct 26 22:33:46.828 INFO kablam! | Oct 26 22:33:46.829 INFO kablam! 11 | fileSize : HashMap Oct 26 22:33:46.829 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.831 INFO kablam! Oct 26 22:33:46.831 INFO kablam! warning: method `checkSize` should have a snake case name such as `check_size` Oct 26 22:33:46.831 INFO kablam! --> src/dusty/cacheManager/mod.rs:37:5 Oct 26 22:33:46.831 INFO kablam! | Oct 26 22:33:46.831 INFO kablam! 37 | / pub fn checkSize(&mut self, path : &str) -> usize Oct 26 22:33:46.831 INFO kablam! 38 | | { Oct 26 22:33:46.831 INFO kablam! 39 | | match self.fileSize.contains_key(path) Oct 26 22:33:46.831 INFO kablam! 40 | | { Oct 26 22:33:46.831 INFO kablam! ... | Oct 26 22:33:46.831 INFO kablam! 43 | | } Oct 26 22:33:46.831 INFO kablam! 44 | | } Oct 26 22:33:46.831 INFO kablam! | |_____^ Oct 26 22:33:46.831 INFO kablam! Oct 26 22:33:46.831 INFO kablam! warning: method `insertNewCacheItem` should have a snake case name such as `insert_new_cache_item` Oct 26 22:33:46.831 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:5 Oct 26 22:33:46.831 INFO kablam! | Oct 26 22:33:46.831 INFO kablam! 47 | / pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 26 22:33:46.831 INFO kablam! 48 | | { Oct 26 22:33:46.831 INFO kablam! 49 | | self.c.insert(path.to_string(),FileStr.clone()); Oct 26 22:33:46.831 INFO kablam! 50 | | self.fileSize.insert(path.to_string(),FileStr.len()); Oct 26 22:33:46.831 INFO kablam! 51 | | FileStr.len() Oct 26 22:33:46.832 INFO kablam! 52 | | } Oct 26 22:33:46.832 INFO kablam! | |_____^ Oct 26 22:33:46.832 INFO kablam! Oct 26 22:33:46.832 INFO kablam! warning: variable `FileStr` should have a snake case name such as `file_str` Oct 26 22:33:46.832 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:56 Oct 26 22:33:46.832 INFO kablam! | Oct 26 22:33:46.832 INFO kablam! 47 | pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 26 22:33:46.832 INFO kablam! | ^^^^^^^ Oct 26 22:33:46.832 INFO kablam! Oct 26 22:33:46.832 INFO kablam! warning: function `readNewUncachedFile` should have a snake case name such as `read_new_uncached_file` Oct 26 22:33:46.832 INFO kablam! --> src/dusty/cacheManager/mod.rs:57:5 Oct 26 22:33:46.832 INFO kablam! | Oct 26 22:33:46.832 INFO kablam! 57 | / pub fn readNewUncachedFile(filename: &str) -> (String, usize) Oct 26 22:33:46.832 INFO kablam! 58 | | { Oct 26 22:33:46.832 INFO kablam! 59 | | let mut f = File::open(filename); Oct 26 22:33:46.835 INFO kablam! 60 | | match f Oct 26 22:33:46.835 INFO kablam! ... | Oct 26 22:33:46.835 INFO kablam! 73 | | } Oct 26 22:33:46.835 INFO kablam! 74 | | } Oct 26 22:33:46.835 INFO kablam! | |_____^ Oct 26 22:33:46.836 INFO kablam! Oct 26 22:33:46.836 INFO kablam! warning: function `readText` should have a snake case name such as `read_text` Oct 26 22:33:46.836 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:5 Oct 26 22:33:46.836 INFO kablam! | Oct 26 22:33:46.836 INFO kablam! 77 | / fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 26 22:33:46.836 INFO kablam! 78 | | { Oct 26 22:33:46.836 INFO kablam! 79 | | let mut s = String::new(); Oct 26 22:33:46.836 INFO kablam! 80 | | let lenRead = readable.read_to_string(&mut s); Oct 26 22:33:46.836 INFO kablam! ... | Oct 26 22:33:46.836 INFO kablam! 94 | | } Oct 26 22:33:46.836 INFO kablam! 95 | | } Oct 26 22:33:46.836 INFO kablam! | |_____^ Oct 26 22:33:46.836 INFO kablam! Oct 26 22:33:46.836 INFO kablam! warning: variable `lenRead` should have a snake case name such as `len_read` Oct 26 22:33:46.836 INFO kablam! --> src/dusty/cacheManager/mod.rs:80:13 Oct 26 22:33:46.836 INFO kablam! | Oct 26 22:33:46.836 INFO kablam! 80 | let lenRead = readable.read_to_string(&mut s); Oct 26 22:33:46.836 INFO kablam! | ^^^^^^^ Oct 26 22:33:46.836 INFO kablam! Oct 26 22:33:46.836 INFO kablam! warning: variable `lR` should have a snake case name such as `l_r` Oct 26 22:33:46.836 INFO kablam! --> src/dusty/cacheManager/mod.rs:83:24 Oct 26 22:33:46.836 INFO kablam! | Oct 26 22:33:46.837 INFO kablam! 83 | Ok(lR) => Oct 26 22:33:46.837 INFO kablam! | ^^ Oct 26 22:33:46.837 INFO kablam! Oct 26 22:33:46.837 INFO kablam! warning: type `request` should have a camel case name such as `Request` Oct 26 22:33:46.837 INFO kablam! --> src/dusty/connection/mod.rs:13:1 Oct 26 22:33:46.837 INFO kablam! | Oct 26 22:33:46.837 INFO kablam! 13 | / pub struct request Oct 26 22:33:46.837 INFO kablam! 14 | | { Oct 26 22:33:46.837 INFO kablam! 15 | | pub filePath : String, Oct 26 22:33:46.837 INFO kablam! 16 | | pub size : usize, Oct 26 22:33:46.837 INFO kablam! 17 | | pub streamChannel : Sender Oct 26 22:33:46.837 INFO kablam! 18 | | } Oct 26 22:33:46.837 INFO kablam! | |_^ Oct 26 22:33:46.837 INFO kablam! Oct 26 22:33:46.837 INFO kablam! warning: structure field `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.837 INFO kablam! --> src/dusty/connection/mod.rs:15:5 Oct 26 22:33:46.837 INFO kablam! | Oct 26 22:33:46.837 INFO kablam! 15 | pub filePath : String, Oct 26 22:33:46.837 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.837 INFO kablam! Oct 26 22:33:46.837 INFO kablam! warning: structure field `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:46.837 INFO kablam! --> src/dusty/connection/mod.rs:17:5 Oct 26 22:33:46.838 INFO kablam! | Oct 26 22:33:46.838 INFO kablam! 17 | pub streamChannel : Sender Oct 26 22:33:46.838 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.838 INFO kablam! Oct 26 22:33:46.838 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 26 22:33:46.838 INFO kablam! --> src/dusty/connection/mod.rs:22:16 Oct 26 22:33:46.838 INFO kablam! | Oct 26 22:33:46.838 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 26 22:33:46.838 INFO kablam! | ^^^^^^^^ Oct 26 22:33:46.838 INFO kablam! Oct 26 22:33:46.838 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 26 22:33:46.838 INFO kablam! --> src/dusty/connection/mod.rs:22:48 Oct 26 22:33:46.838 INFO kablam! | Oct 26 22:33:46.838 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 26 22:33:46.838 INFO kablam! | ^^^^^^^^^^^^^ Oct 26 22:33:46.838 INFO kablam! Oct 26 22:33:46.838 INFO kablam! warning: type `response` should have a camel case name such as `Response` Oct 26 22:33:46.838 INFO kablam! --> src/dusty/connection/mod.rs:38:1 Oct 26 22:33:46.838 INFO kablam! | Oct 26 22:33:46.838 INFO kablam! 38 | / pub struct response Oct 26 22:33:46.838 INFO kablam! 39 | | { Oct 26 22:33:46.838 INFO kablam! 40 | | pub body : String, Oct 26 22:33:46.839 INFO kablam! 41 | | pub header : String Oct 26 22:33:46.839 INFO kablam! 42 | | } Oct 26 22:33:46.839 INFO kablam! | |_^ Oct 26 22:33:46.839 INFO kablam! Oct 26 22:33:46.839 INFO kablam! warning: type `con` should have a camel case name such as `Con` Oct 26 22:33:46.839 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 26 22:33:46.839 INFO kablam! | Oct 26 22:33:46.839 INFO kablam! 53 | / pub struct con Oct 26 22:33:46.839 INFO kablam! 54 | | { Oct 26 22:33:46.839 INFO kablam! 55 | | pub buffer: String, Oct 26 22:33:46.839 INFO kablam! 56 | | pub stream: TcpStream Oct 26 22:33:46.839 INFO kablam! 57 | | } Oct 26 22:33:46.839 INFO kablam! | |_^ Oct 26 22:33:46.839 INFO kablam! Oct 26 22:33:46.839 INFO kablam! warning: module `httpParserThread` should have a snake case name such as `http_parser_thread` Oct 26 22:33:46.839 INFO kablam! --> src/main.rs:7:5 Oct 26 22:33:46.839 INFO kablam! | Oct 26 22:33:46.839 INFO kablam! 7 | pub mod httpParserThread; Oct 26 22:33:46.839 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.839 INFO kablam! Oct 26 22:33:46.839 INFO kablam! warning: function `spawnNewParserThread` should have a snake case name such as `spawn_new_parser_thread` Oct 26 22:33:46.839 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:1 Oct 26 22:33:46.840 INFO kablam! | Oct 26 22:33:46.840 INFO kablam! 12 | / pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:46.840 INFO kablam! 13 | | { Oct 26 22:33:46.840 INFO kablam! 14 | | thread::spawn(move || Oct 26 22:33:46.840 INFO kablam! 15 | | { Oct 26 22:33:46.840 INFO kablam! ... | Oct 26 22:33:46.840 INFO kablam! 66 | | Oct 26 22:33:46.840 INFO kablam! 67 | | } Oct 26 22:33:46.840 INFO kablam! | |_^ Oct 26 22:33:46.840 INFO kablam! Oct 26 22:33:46.840 INFO kablam! warning: variable `streamReceiver` should have a snake case name such as `stream_receiver` Oct 26 22:33:46.840 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:29 Oct 26 22:33:46.840 INFO kablam! | Oct 26 22:33:46.840 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:46.840 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.840 INFO kablam! Oct 26 22:33:46.840 INFO kablam! warning: variable `gathererManagerChannel` should have a snake case name such as `gatherer_manager_channel` Oct 26 22:33:46.840 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:67 Oct 26 22:33:46.840 INFO kablam! | Oct 26 22:33:46.840 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 26 22:33:46.840 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.840 INFO kablam! Oct 26 22:33:46.841 INFO kablam! warning: variable `localSend` should have a snake case name such as `local_send` Oct 26 22:33:46.841 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:14 Oct 26 22:33:46.841 INFO kablam! | Oct 26 22:33:46.841 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 26 22:33:46.841 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:46.841 INFO kablam! Oct 26 22:33:46.841 INFO kablam! warning: variable `localRecv` should have a snake case name such as `local_recv` Oct 26 22:33:46.841 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:25 Oct 26 22:33:46.841 INFO kablam! | Oct 26 22:33:46.841 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 26 22:33:46.841 INFO kablam! | ^^^^^^^^^ Oct 26 22:33:46.841 INFO kablam! Oct 26 22:33:46.841 INFO kablam! warning: variable `headerTemplate` should have a snake case name such as `header_template` Oct 26 22:33:46.841 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 26 22:33:46.841 INFO kablam! | Oct 26 22:33:46.841 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 26 22:33:46.841 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.841 INFO kablam! Oct 26 22:33:46.841 INFO kablam! warning: variable `requestCount` should have a snake case name such as `request_count` Oct 26 22:33:46.841 INFO kablam! --> src/dusty/httpParserThread/mod.rs:29:25 Oct 26 22:33:46.841 INFO kablam! | Oct 26 22:33:46.841 INFO kablam! 29 | let mut requestCount = schedule.len(); Oct 26 22:33:46.842 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:46.842 INFO kablam! Oct 26 22:33:46.842 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:46.842 INFO kablam! --> src/dusty/httpParserThread/mod.rs:35:25 Oct 26 22:33:46.842 INFO kablam! | Oct 26 22:33:46.842 INFO kablam! 35 | gathererManagerChannel.send(req); Oct 26 22:33:46.842 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.842 INFO kablam! | Oct 26 22:33:46.842 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 26 22:33:46.842 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:46.842 INFO kablam! Oct 26 22:33:46.842 INFO kablam! warning: function `spawnNewGathererThread` should have a snake case name such as `spawn_new_gatherer_thread` Oct 26 22:33:46.842 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:1 Oct 26 22:33:46.842 INFO kablam! | Oct 26 22:33:46.842 INFO kablam! 70 | / pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 26 22:33:46.842 INFO kablam! 71 | | { Oct 26 22:33:46.842 INFO kablam! 72 | | thread::spawn(move || Oct 26 22:33:46.842 INFO kablam! 73 | | { Oct 26 22:33:46.842 INFO kablam! ... | Oct 26 22:33:46.846 INFO kablam! 88 | | }); Oct 26 22:33:46.847 INFO kablam! 89 | | } Oct 26 22:33:46.847 INFO kablam! | |_^ Oct 26 22:33:46.847 INFO kablam! Oct 26 22:33:46.847 INFO kablam! warning: variable `requestReceiver` should have a snake case name such as `request_receiver` Oct 26 22:33:46.847 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:31 Oct 26 22:33:46.847 INFO kablam! | Oct 26 22:33:46.847 INFO kablam! 70 | pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 26 22:33:46.847 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:46.847 INFO kablam! Oct 26 22:33:46.847 INFO kablam! warning: function `createIndependentThreadPools` should have a snake case name such as `create_independent_thread_pools` Oct 26 22:33:46.847 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:1 Oct 26 22:33:46.847 INFO kablam! | Oct 26 22:33:46.847 INFO kablam! 93 | / pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:46.847 INFO kablam! 94 | | { Oct 26 22:33:46.847 INFO kablam! 95 | | //These are the meat and potatos of dusty Oct 26 22:33:46.847 INFO kablam! 96 | | //They are simply a vec pointing to channels Oct 26 22:33:46.847 INFO kablam! ... | Oct 26 22:33:46.847 INFO kablam! 122 | | Oct 26 22:33:46.847 INFO kablam! 123 | | } Oct 26 22:33:46.847 INFO kablam! | |_^ Oct 26 22:33:46.848 INFO kablam! Oct 26 22:33:46.848 INFO kablam! warning: variable `parserThreadPoolSize` should have a snake case name such as `parser_thread_pool_size` Oct 26 22:33:46.848 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:37 Oct 26 22:33:46.848 INFO kablam! | Oct 26 22:33:46.848 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:46.848 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.848 INFO kablam! Oct 26 22:33:46.848 INFO kablam! warning: variable `gathererThreadPoolSize` should have a snake case name such as `gatherer_thread_pool_size` Oct 26 22:33:46.848 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:66 Oct 26 22:33:46.848 INFO kablam! | Oct 26 22:33:46.848 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 26 22:33:46.848 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.848 INFO kablam! Oct 26 22:33:46.848 INFO kablam! warning: variable `gathererChannels` should have a snake case name such as `gatherer_channels` Oct 26 22:33:46.848 INFO kablam! --> src/dusty/httpParserThread/mod.rs:98:9 Oct 26 22:33:46.848 INFO kablam! | Oct 26 22:33:46.848 INFO kablam! 98 | let mut gathererChannels : Vec> = Vec::new(); Oct 26 22:33:46.848 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.848 INFO kablam! Oct 26 22:33:46.848 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 26 22:33:46.848 INFO kablam! --> src/dusty/httpParserThread/mod.rs:99:9 Oct 26 22:33:46.849 INFO kablam! | Oct 26 22:33:46.849 INFO kablam! 99 | let mut parserChannels : Vec> = Vec::new(); Oct 26 22:33:46.849 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.849 INFO kablam! Oct 26 22:33:46.849 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 26 22:33:46.849 INFO kablam! --> src/dusty/httpParserThread/mod.rs:110:9 Oct 26 22:33:46.849 INFO kablam! | Oct 26 22:33:46.849 INFO kablam! 110 | let gathererManager : Sender = spawnGathererManagerThread(gathererChannels); Oct 26 22:33:46.849 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:46.849 INFO kablam! Oct 26 22:33:46.849 INFO kablam! warning: function `spawnGathererManagerThread` should have a snake case name such as `spawn_gatherer_manager_thread` Oct 26 22:33:46.849 INFO kablam! --> src/dusty/httpParserThread/mod.rs:126:1 Oct 26 22:33:46.849 INFO kablam! | Oct 26 22:33:46.849 INFO kablam! 126 | / pub fn spawnGathererManagerThread(channels : Vec>) -> Sender Oct 26 22:33:46.849 INFO kablam! 127 | | { Oct 26 22:33:46.849 INFO kablam! 128 | | let (send, recv) = channel::(); Oct 26 22:33:46.849 INFO kablam! 129 | | thread::spawn(move || Oct 26 22:33:46.849 INFO kablam! ... | Oct 26 22:33:46.849 INFO kablam! 150 | | return send Oct 26 22:33:46.849 INFO kablam! 151 | | } Oct 26 22:33:46.849 INFO kablam! | |_^ Oct 26 22:33:46.849 INFO kablam! Oct 26 22:33:46.850 INFO kablam! warning: variable `channelIndex` should have a snake case name such as `channel_index` Oct 26 22:33:46.850 INFO kablam! --> src/dusty/httpParserThread/mod.rs:131:13 Oct 26 22:33:46.850 INFO kablam! | Oct 26 22:33:46.850 INFO kablam! 131 | let mut channelIndex : usize = 0; Oct 26 22:33:46.850 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 26 22:33:46.850 INFO kablam! Oct 26 22:33:46.850 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:46.850 INFO kablam! --> src/dusty/httpParserThread/mod.rs:141:21 Oct 26 22:33:46.850 INFO kablam! | Oct 26 22:33:46.850 INFO kablam! 141 | channels[channelIndex].send(req); Oct 26 22:33:46.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.850 INFO kablam! | Oct 26 22:33:46.850 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:46.850 INFO kablam! Oct 26 22:33:46.850 INFO kablam! warning: variable `parserThreadCount` should have a snake case name such as `parser_thread_count` Oct 26 22:33:46.850 INFO kablam! --> src/main.rs:23:9 Oct 26 22:33:46.850 INFO kablam! | Oct 26 22:33:46.850 INFO kablam! 23 | let parserThreadCount : usize = 16; Oct 26 22:33:46.850 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.851 INFO kablam! Oct 26 22:33:46.851 INFO kablam! warning: variable `gathererThreadCount` should have a snake case name such as `gatherer_thread_count` Oct 26 22:33:46.851 INFO kablam! --> src/main.rs:24:9 Oct 26 22:33:46.851 INFO kablam! | Oct 26 22:33:46.851 INFO kablam! 24 | let gathererThreadCount : usize = 16; Oct 26 22:33:46.851 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.851 INFO kablam! Oct 26 22:33:46.851 INFO kablam! warning: variable `sharedCache` should have a snake case name such as `shared_cache` Oct 26 22:33:46.851 INFO kablam! --> src/main.rs:27:9 Oct 26 22:33:46.851 INFO kablam! | Oct 26 22:33:46.851 INFO kablam! 27 | let sharedCache : Arc> = Arc::new(Mutex::new(cacheManager::cache::new())); Oct 26 22:33:46.851 INFO kablam! | ^^^^^^^^^^^ Oct 26 22:33:46.851 INFO kablam! Oct 26 22:33:46.851 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 26 22:33:46.851 INFO kablam! --> src/main.rs:30:10 Oct 26 22:33:46.851 INFO kablam! | Oct 26 22:33:46.851 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:46.851 INFO kablam! | ^^^^^^^^^^^^^^ Oct 26 22:33:46.851 INFO kablam! Oct 26 22:33:46.851 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 26 22:33:46.851 INFO kablam! --> src/main.rs:30:26 Oct 26 22:33:46.852 INFO kablam! | Oct 26 22:33:46.852 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 26 22:33:46.852 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:46.852 INFO kablam! Oct 26 22:33:46.852 INFO kablam! warning: variable `parserIndex` should have a snake case name such as `parser_index` Oct 26 22:33:46.852 INFO kablam! --> src/main.rs:31:9 Oct 26 22:33:46.852 INFO kablam! | Oct 26 22:33:46.852 INFO kablam! 31 | let mut parserIndex = 0; Oct 26 22:33:46.852 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 26 22:33:46.852 INFO kablam! Oct 26 22:33:46.852 INFO kablam! warning: unused `std::result::Result` that must be used Oct 26 22:33:46.852 INFO kablam! --> src/main.rs:41:25 Oct 26 22:33:46.852 INFO kablam! | Oct 26 22:33:46.852 INFO kablam! 41 | parserChannels[parserIndex].send(stream); Oct 26 22:33:46.852 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 26 22:33:46.852 INFO kablam! | Oct 26 22:33:46.852 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 26 22:33:46.852 INFO kablam! Oct 26 22:33:46.887 INFO kablam! Finished dev [optimized + debuginfo] target(s) in 1.01s Oct 26 22:33:46.887 INFO kablam! su: No module specific data is present Oct 26 22:33:48.411 INFO running `"docker" "rm" "-f" "7c3b60fc409e8554bea352177b09753be99190c13cc6e4a25aa1cb6de87579e2"` Oct 26 22:33:48.811 INFO blam! 7c3b60fc409e8554bea352177b09753be99190c13cc6e4a25aa1cb6de87579e2