Oct 31 22:50:25.753 INFO checking racer161/dusty against try#d7816399d50d407bbce1efe9dbadf8faaaf568fc for pr-55538 Oct 31 22:50:25.753 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-55538/worker-4/try#d7816399d50d407bbce1efe9dbadf8faaaf568fc:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-4/pr-55538/try#d7816399d50d407bbce1efe9dbadf8faaaf568fc:/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 +d7816399d50d407bbce1efe9dbadf8faaaf568fc-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 31 22:50:26.275 INFO blam! 97bb466acbbc173d4d3adb1e9cf50d147e6b78c43d474db5fd62a9c12ac38693 Oct 31 22:50:26.276 INFO running `"docker" "start" "-a" "97bb466acbbc173d4d3adb1e9cf50d147e6b78c43d474db5fd62a9c12ac38693"` Oct 31 22:50:28.321 INFO kablam! usermod: no changes Oct 31 22:50:28.404 INFO kablam! Checking dusty v0.1.0 (/source) Oct 31 22:50:28.753 INFO kablam! warning: unused import: `TcpListener` Oct 31 22:50:28.753 INFO kablam! --> src/dusty/httpParser/mod.rs:7:16 Oct 31 22:50:28.753 INFO kablam! | Oct 31 22:50:28.753 INFO kablam! 7 | use std::net::{TcpListener, TcpStream}; Oct 31 22:50:28.753 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.753 INFO kablam! | Oct 31 22:50:28.753 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 31 22:50:28.753 INFO kablam! Oct 31 22:50:28.753 INFO kablam! warning: unused import: `std::thread` Oct 31 22:50:28.753 INFO kablam! --> src/dusty/httpParser/mod.rs:9:5 Oct 31 22:50:28.753 INFO kablam! | Oct 31 22:50:28.753 INFO kablam! 9 | use std::thread; Oct 31 22:50:28.753 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.753 INFO kablam! Oct 31 22:50:28.753 INFO kablam! warning: unused import: `std::mem` Oct 31 22:50:28.753 INFO kablam! --> src/dusty/httpParser/mod.rs:12:5 Oct 31 22:50:28.753 INFO kablam! | Oct 31 22:50:28.753 INFO kablam! 12 | use std::mem; Oct 31 22:50:28.753 INFO kablam! | ^^^^^^^^ Oct 31 22:50:28.753 INFO kablam! Oct 31 22:50:28.753 INFO kablam! warning: unused import: `std::io` Oct 31 22:50:28.753 INFO kablam! --> src/dusty/pathBuilder/mod.rs:3:6 Oct 31 22:50:28.753 INFO kablam! | Oct 31 22:50:28.753 INFO kablam! 3 | use std::io; Oct 31 22:50:28.753 INFO kablam! | ^^^^^^^ Oct 31 22:50:28.753 INFO kablam! Oct 31 22:50:28.753 INFO kablam! warning: unused import: `std::fs::File` Oct 31 22:50:28.753 INFO kablam! --> src/dusty/pathBuilder/mod.rs:5:6 Oct 31 22:50:28.753 INFO kablam! | Oct 31 22:50:28.753 INFO kablam! 5 | use std::fs::File; Oct 31 22:50:28.753 INFO kablam! | ^^^^^^^^^^^^^ Oct 31 22:50:28.753 INFO kablam! Oct 31 22:50:28.753 INFO kablam! warning: unused import: `Path` Oct 31 22:50:28.753 INFO kablam! --> src/dusty/pathBuilder/mod.rs:6:18 Oct 31 22:50:28.753 INFO kablam! | Oct 31 22:50:28.753 INFO kablam! 6 | use std::path::{Path,PathBuf}; Oct 31 22:50:28.753 INFO kablam! | ^^^^ Oct 31 22:50:28.753 INFO kablam! Oct 31 22:50:28.753 INFO kablam! warning: unused import: `std::io` Oct 31 22:50:28.753 INFO kablam! --> src/dusty/cacheManager/mod.rs:4:5 Oct 31 22:50:28.753 INFO kablam! | Oct 31 22:50:28.753 INFO kablam! 4 | use std::io; Oct 31 22:50:28.753 INFO kablam! | ^^^^^^^ Oct 31 22:50:28.753 INFO kablam! Oct 31 22:50:28.753 INFO kablam! warning: unused import: `TcpListener` Oct 31 22:50:28.753 INFO kablam! --> src/dusty/connection/mod.rs:2:16 Oct 31 22:50:28.753 INFO kablam! | Oct 31 22:50:28.753 INFO kablam! 2 | use std::net::{TcpListener, TcpStream}; Oct 31 22:50:28.753 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.753 INFO kablam! Oct 31 22:50:28.753 INFO kablam! warning: unused import: `std::thread` Oct 31 22:50:28.753 INFO kablam! --> src/dusty/connection/mod.rs:6:5 Oct 31 22:50:28.753 INFO kablam! | Oct 31 22:50:28.753 INFO kablam! 6 | use std::thread; Oct 31 22:50:28.753 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.753 INFO kablam! Oct 31 22:50:28.753 INFO kablam! warning: unused import: `std::io::*` Oct 31 22:50:28.753 INFO kablam! --> src/dusty/connection/mod.rs:9:5 Oct 31 22:50:28.753 INFO kablam! | Oct 31 22:50:28.753 INFO kablam! 9 | use std::io::*; Oct 31 22:50:28.754 INFO kablam! | ^^^^^^^^^^ Oct 31 22:50:28.754 INFO kablam! Oct 31 22:50:28.754 INFO kablam! warning: unused import: `std::mem` Oct 31 22:50:28.754 INFO kablam! --> src/dusty/connection/mod.rs:10:5 Oct 31 22:50:28.754 INFO kablam! | Oct 31 22:50:28.754 INFO kablam! 10 | use std::mem; Oct 31 22:50:28.754 INFO kablam! | ^^^^^^^^ Oct 31 22:50:28.754 INFO kablam! Oct 31 22:50:28.754 INFO kablam! warning: unused import: `TcpListener` Oct 31 22:50:28.754 INFO kablam! --> src/dusty/httpParserThread/mod.rs:1:16 Oct 31 22:50:28.754 INFO kablam! | Oct 31 22:50:28.754 INFO kablam! 1 | use std::net::{TcpListener, TcpStream}; Oct 31 22:50:28.754 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.754 INFO kablam! Oct 31 22:50:28.754 INFO kablam! warning: unused import: `TcpStream` Oct 31 22:50:28.754 INFO kablam! --> src/main.rs:10:29 Oct 31 22:50:28.754 INFO kablam! | Oct 31 22:50:28.754 INFO kablam! 10 | use std::net::{TcpListener, TcpStream}; Oct 31 22:50:28.754 INFO kablam! | ^^^^^^^^^ Oct 31 22:50:28.754 INFO kablam! Oct 31 22:50:28.754 INFO kablam! warning: unused import: `std::sync::mpsc::*` Oct 31 22:50:28.754 INFO kablam! --> src/main.rs:13:5 Oct 31 22:50:28.754 INFO kablam! | Oct 31 22:50:28.754 INFO kablam! 13 | use std::sync::mpsc::*; Oct 31 22:50:28.754 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 31 22:50:28.754 INFO kablam! Oct 31 22:50:28.754 INFO kablam! warning: unused import: `std::thread` Oct 31 22:50:28.754 INFO kablam! --> src/main.rs:14:5 Oct 31 22:50:28.754 INFO kablam! | Oct 31 22:50:28.754 INFO kablam! 14 | use std::thread; Oct 31 22:50:28.754 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.754 INFO kablam! Oct 31 22:50:28.754 INFO kablam! warning: unused import: `std::io::*` Oct 31 22:50:28.754 INFO kablam! --> src/main.rs:16:5 Oct 31 22:50:28.754 INFO kablam! | Oct 31 22:50:28.754 INFO kablam! 16 | use std::io::*; Oct 31 22:50:28.754 INFO kablam! | ^^^^^^^^^^ Oct 31 22:50:28.754 INFO kablam! Oct 31 22:50:28.754 INFO kablam! warning: unused import: `std::mem` Oct 31 22:50:28.754 INFO kablam! --> src/main.rs:17:5 Oct 31 22:50:28.754 INFO kablam! | Oct 31 22:50:28.754 INFO kablam! 17 | use std::mem; Oct 31 22:50:28.754 INFO kablam! | ^^^^^^^^ Oct 31 22:50:28.754 INFO kablam! Oct 31 22:50:28.872 INFO kablam! warning: unreachable expression Oct 31 22:50:28.872 INFO kablam! --> src/dusty/httpParser/mod.rs:186:13 Oct 31 22:50:28.872 INFO kablam! | Oct 31 22:50:28.872 INFO kablam! 186 | return None Oct 31 22:50:28.872 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.872 INFO kablam! | Oct 31 22:50:28.872 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 31 22:50:28.872 INFO kablam! Oct 31 22:50:28.916 INFO kablam! warning: unused import: `TcpListener` Oct 31 22:50:28.916 INFO kablam! --> src/dusty/httpParser/mod.rs:7:16 Oct 31 22:50:28.916 INFO kablam! | Oct 31 22:50:28.916 INFO kablam! 7 | use std::net::{TcpListener, TcpStream}; Oct 31 22:50:28.916 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.917 INFO kablam! | Oct 31 22:50:28.917 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 31 22:50:28.917 INFO kablam! Oct 31 22:50:28.917 INFO kablam! warning: unused import: `std::thread` Oct 31 22:50:28.917 INFO kablam! --> src/dusty/httpParser/mod.rs:9:5 Oct 31 22:50:28.917 INFO kablam! | Oct 31 22:50:28.917 INFO kablam! 9 | use std::thread; Oct 31 22:50:28.917 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.917 INFO kablam! Oct 31 22:50:28.917 INFO kablam! warning: unused import: `std::mem` Oct 31 22:50:28.917 INFO kablam! --> src/dusty/httpParser/mod.rs:12:5 Oct 31 22:50:28.917 INFO kablam! | Oct 31 22:50:28.917 INFO kablam! 12 | use std::mem; Oct 31 22:50:28.917 INFO kablam! | ^^^^^^^^ Oct 31 22:50:28.917 INFO kablam! Oct 31 22:50:28.919 INFO kablam! warning: unused import: `std::io` Oct 31 22:50:28.919 INFO kablam! --> src/dusty/pathBuilder/mod.rs:3:6 Oct 31 22:50:28.919 INFO kablam! | Oct 31 22:50:28.919 INFO kablam! 3 | use std::io; Oct 31 22:50:28.919 INFO kablam! | ^^^^^^^ Oct 31 22:50:28.919 INFO kablam! Oct 31 22:50:28.919 INFO kablam! warning: unused import: `std::fs::File` Oct 31 22:50:28.919 INFO kablam! --> src/dusty/pathBuilder/mod.rs:5:6 Oct 31 22:50:28.919 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 5 | use std::fs::File; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `Path` Oct 31 22:50:28.920 INFO kablam! --> src/dusty/pathBuilder/mod.rs:6:18 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 6 | use std::path::{Path,PathBuf}; Oct 31 22:50:28.920 INFO kablam! | ^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `std::io` Oct 31 22:50:28.920 INFO kablam! --> src/dusty/cacheManager/mod.rs:4:5 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 4 | use std::io; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `TcpListener` Oct 31 22:50:28.920 INFO kablam! --> src/dusty/connection/mod.rs:2:16 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 2 | use std::net::{TcpListener, TcpStream}; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `std::thread` Oct 31 22:50:28.920 INFO kablam! --> src/dusty/connection/mod.rs:6:5 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 6 | use std::thread; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `std::io::*` Oct 31 22:50:28.920 INFO kablam! --> src/dusty/connection/mod.rs:9:5 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 9 | use std::io::*; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `std::mem` Oct 31 22:50:28.920 INFO kablam! --> src/dusty/connection/mod.rs:10:5 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 10 | use std::mem; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `TcpListener` Oct 31 22:50:28.920 INFO kablam! --> src/dusty/httpParserThread/mod.rs:1:16 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 1 | use std::net::{TcpListener, TcpStream}; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `TcpStream` Oct 31 22:50:28.920 INFO kablam! --> src/main.rs:10:29 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 10 | use std::net::{TcpListener, TcpStream}; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `std::sync::mpsc::*` Oct 31 22:50:28.920 INFO kablam! --> src/main.rs:13:5 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 13 | use std::sync::mpsc::*; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `std::thread` Oct 31 22:50:28.920 INFO kablam! --> src/main.rs:14:5 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 14 | use std::thread; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `std::io::*` Oct 31 22:50:28.920 INFO kablam! --> src/main.rs:16:5 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 16 | use std::io::*; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.920 INFO kablam! warning: unused import: `std::mem` Oct 31 22:50:28.920 INFO kablam! --> src/main.rs:17:5 Oct 31 22:50:28.920 INFO kablam! | Oct 31 22:50:28.920 INFO kablam! 17 | use std::mem; Oct 31 22:50:28.920 INFO kablam! | ^^^^^^^^ Oct 31 22:50:28.920 INFO kablam! Oct 31 22:50:28.988 INFO kablam! warning: unused import: `std::io::prelude` Oct 31 22:50:28.988 INFO kablam! --> src/dusty/pathBuilder/mod.rs:4:6 Oct 31 22:50:28.988 INFO kablam! | Oct 31 22:50:28.988 INFO kablam! 4 | use std::io::prelude::*; Oct 31 22:50:28.988 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 31 22:50:28.988 INFO kablam! Oct 31 22:50:28.988 INFO kablam! warning: unused variable: `e` Oct 31 22:50:28.988 INFO kablam! --> src/dusty/httpParser/mod.rs:63:17 Oct 31 22:50:28.988 INFO kablam! | Oct 31 22:50:28.988 INFO kablam! 63 | Err(e) => println!("Error Reading to buffer in request!") Oct 31 22:50:28.989 INFO kablam! | ^ help: consider using `_e` instead Oct 31 22:50:28.996 INFO kablam! | Oct 31 22:50:28.996 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 31 22:50:28.996 INFO kablam! Oct 31 22:50:28.996 INFO kablam! warning: unused variable: `index` Oct 31 22:50:28.996 INFO kablam! --> src/dusty/httpParser/mod.rs:132:22 Oct 31 22:50:28.996 INFO kablam! | Oct 31 22:50:28.996 INFO kablam! 132 | Some(index) => Oct 31 22:50:28.996 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 31 22:50:28.996 INFO kablam! Oct 31 22:50:28.996 INFO kablam! warning: unused variable: `e` Oct 31 22:50:28.996 INFO kablam! --> src/dusty/cacheManager/mod.rs:67:21 Oct 31 22:50:28.996 INFO kablam! | Oct 31 22:50:28.996 INFO kablam! 67 | Err(e) => Oct 31 22:50:28.996 INFO kablam! | ^ help: consider using `_e` instead Oct 31 22:50:28.996 INFO kablam! Oct 31 22:50:28.996 INFO kablam! warning: unused variable: `filename` Oct 31 22:50:28.997 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:38 Oct 31 22:50:28.997 INFO kablam! | Oct 31 22:50:28.997 INFO kablam! 77 | fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 31 22:50:28.997 INFO kablam! | ^^^^^^^^ help: consider using `_filename` instead Oct 31 22:50:28.997 INFO kablam! Oct 31 22:50:28.997 INFO kablam! warning: unused variable: `headerTemplate` Oct 31 22:50:28.997 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 31 22:50:28.997 INFO kablam! | Oct 31 22:50:28.997 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 31 22:50:28.997 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_headerTemplate` instead Oct 31 22:50:28.997 INFO kablam! Oct 31 22:50:28.997 INFO kablam! warning: unused variable: `i` Oct 31 22:50:28.997 INFO kablam! --> src/dusty/httpParserThread/mod.rs:102:9 Oct 31 22:50:28.997 INFO kablam! | Oct 31 22:50:28.997 INFO kablam! 102 | for i in 0..gathererThreadPoolSize //Spawn gatherer threads Oct 31 22:50:28.997 INFO kablam! | ^ help: consider using `_i` instead Oct 31 22:50:28.997 INFO kablam! Oct 31 22:50:28.997 INFO kablam! warning: unused variable: `i` Oct 31 22:50:28.997 INFO kablam! --> src/dusty/httpParserThread/mod.rs:113:9 Oct 31 22:50:28.997 INFO kablam! | Oct 31 22:50:28.997 INFO kablam! 113 | for i in 0..parserThreadPoolSize Oct 31 22:50:28.997 INFO kablam! | ^ help: consider using `_i` instead Oct 31 22:50:28.997 INFO kablam! Oct 31 22:50:28.997 INFO kablam! warning: unused variable: `gathererManager` Oct 31 22:50:28.997 INFO kablam! --> src/main.rs:30:26 Oct 31 22:50:28.997 INFO kablam! | Oct 31 22:50:28.997 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 31 22:50:28.997 INFO kablam! | ^^^^^^^^^^^^^^^ help: consider using `_gathererManager` instead Oct 31 22:50:28.997 INFO kablam! Oct 31 22:50:29.044 INFO kablam! warning: variable does not need to be mutable Oct 31 22:50:29.044 INFO kablam! --> src/dusty/cacheManager/mod.rs:59:13 Oct 31 22:50:29.044 INFO kablam! | Oct 31 22:50:29.044 INFO kablam! 59 | let mut f = File::open(filename); Oct 31 22:50:29.044 INFO kablam! | ----^ Oct 31 22:50:29.044 INFO kablam! | | Oct 31 22:50:29.044 INFO kablam! | help: remove this `mut` Oct 31 22:50:29.044 INFO kablam! | Oct 31 22:50:29.044 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 31 22:50:29.044 INFO kablam! Oct 31 22:50:29.053 INFO kablam! warning: function is never used: `processHeader` Oct 31 22:50:29.053 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 31 22:50:29.053 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! = note: #[warn(dead_code)] on by default Oct 31 22:50:29.053 INFO kablam! Oct 31 22:50:29.053 INFO kablam! warning: function is never used: `convertVecStrToU8` Oct 31 22:50:29.053 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 31 22:50:29.053 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.053 INFO kablam! Oct 31 22:50:29.053 INFO kablam! warning: struct is never constructed: `con` Oct 31 22:50:29.053 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! 53 | pub struct con Oct 31 22:50:29.053 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.053 INFO kablam! Oct 31 22:50:29.053 INFO kablam! warning: method is never used: `new` Oct 31 22:50:29.053 INFO kablam! --> src/dusty/connection/mod.rs:61:5 Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! 61 | pub fn new(buffer : String, stream : TcpStream) -> con Oct 31 22:50:29.053 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.053 INFO kablam! Oct 31 22:50:29.053 INFO kablam! warning: module `httpParser` should have a snake case name such as `http_parser` Oct 31 22:50:29.053 INFO kablam! --> src/main.rs:3:5 Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! 3 | pub mod httpParser; Oct 31 22:50:29.053 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 31 22:50:29.053 INFO kablam! Oct 31 22:50:29.053 INFO kablam! warning: function `createRequestSchedule` should have a snake case name such as `create_request_schedule` Oct 31 22:50:29.053 INFO kablam! --> src/dusty/httpParser/mod.rs:18:1 Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! 18 | / pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 31 22:50:29.053 INFO kablam! 19 | | { Oct 31 22:50:29.053 INFO kablam! 20 | | let mut schedule : Vec = Vec::new(); Oct 31 22:50:29.053 INFO kablam! 21 | | Oct 31 22:50:29.053 INFO kablam! ... | Oct 31 22:50:29.053 INFO kablam! 66 | | return (schedule,String::from(" ")); Oct 31 22:50:29.053 INFO kablam! 67 | | } Oct 31 22:50:29.053 INFO kablam! | |_^ Oct 31 22:50:29.053 INFO kablam! Oct 31 22:50:29.053 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 31 22:50:29.053 INFO kablam! --> src/dusty/httpParser/mod.rs:18:51 Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! 18 | pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 31 22:50:29.053 INFO kablam! | ^^^^^^^^^^^^^ Oct 31 22:50:29.053 INFO kablam! Oct 31 22:50:29.053 INFO kablam! warning: variable `lineBuffer` should have a snake case name such as `line_buffer` Oct 31 22:50:29.053 INFO kablam! --> src/dusty/httpParser/mod.rs:25:9 Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! 25 | let mut lineBuffer = String::with_capacity(512); Oct 31 22:50:29.053 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.053 INFO kablam! Oct 31 22:50:29.053 INFO kablam! warning: variable `newRequest` should have a snake case name such as `new_request` Oct 31 22:50:29.053 INFO kablam! --> src/dusty/httpParser/mod.rs:44:34 Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! 44 | Some(newRequest) => Oct 31 22:50:29.053 INFO kablam! | ^^^^^^^^^^ Oct 31 22:50:29.053 INFO kablam! Oct 31 22:50:29.053 INFO kablam! warning: function `processHeader` should have a snake case name such as `process_header` Oct 31 22:50:29.053 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! 70 | / fn processHeader(header: &str, contentStart: usize) Oct 31 22:50:29.053 INFO kablam! 71 | | { Oct 31 22:50:29.053 INFO kablam! 72 | | println!("Header : {}", &header[0..contentStart]); Oct 31 22:50:29.053 INFO kablam! 73 | | println!("Content : {}",&header[contentStart+1..header.len()]); Oct 31 22:50:29.053 INFO kablam! 74 | | println!(); Oct 31 22:50:29.053 INFO kablam! 75 | | } Oct 31 22:50:29.053 INFO kablam! | |_^ Oct 31 22:50:29.053 INFO kablam! Oct 31 22:50:29.053 INFO kablam! warning: variable `contentStart` should have a snake case name such as `content_start` Oct 31 22:50:29.053 INFO kablam! --> src/dusty/httpParser/mod.rs:70:32 Oct 31 22:50:29.053 INFO kablam! | Oct 31 22:50:29.053 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 31 22:50:29.053 INFO kablam! | ^^^^^^^^^^^^ Oct 31 22:50:29.053 INFO kablam! Oct 31 22:50:29.054 INFO kablam! warning: function `processFileRequest` should have a snake case name such as `process_file_request` Oct 31 22:50:29.054 INFO kablam! --> src/dusty/httpParser/mod.rs:79:1 Oct 31 22:50:29.054 INFO kablam! | Oct 31 22:50:29.054 INFO kablam! 79 | / pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 31 22:50:29.054 INFO kablam! 80 | | { Oct 31 22:50:29.054 INFO kablam! 81 | | match cache.lock() Oct 31 22:50:29.054 INFO kablam! 82 | | { Oct 31 22:50:29.054 INFO kablam! ... | Oct 31 22:50:29.054 INFO kablam! 117 | | } Oct 31 22:50:29.054 INFO kablam! 118 | | } Oct 31 22:50:29.054 INFO kablam! | |_^ Oct 31 22:50:29.054 INFO kablam! Oct 31 22:50:29.054 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.054 INFO kablam! --> src/dusty/httpParser/mod.rs:79:31 Oct 31 22:50:29.054 INFO kablam! | Oct 31 22:50:29.054 INFO kablam! 79 | pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 31 22:50:29.054 INFO kablam! | ^^^^^^^^ Oct 31 22:50:29.054 INFO kablam! Oct 31 22:50:29.054 INFO kablam! warning: variable `fileString` should have a snake case name such as `file_string` Oct 31 22:50:29.054 INFO kablam! --> src/dusty/httpParser/mod.rs:89:26 Oct 31 22:50:29.054 INFO kablam! | Oct 31 22:50:29.054 INFO kablam! 89 | let (fileString, size) = cacheManager::readNewUncachedFile(&filePath); Oct 31 22:50:29.054 INFO kablam! | ^^^^^^^^^^ Oct 31 22:50:29.054 INFO kablam! Oct 31 22:50:29.054 INFO kablam! warning: function `processRequestLine` should have a snake case name such as `process_request_line` Oct 31 22:50:29.054 INFO kablam! --> src/dusty/httpParser/mod.rs:120:1 Oct 31 22:50:29.054 INFO kablam! | Oct 31 22:50:29.054 INFO kablam! 120 | / fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 31 22:50:29.054 INFO kablam! 121 | | { Oct 31 22:50:29.054 INFO kablam! 122 | | if line == "\r\n" Oct 31 22:50:29.054 INFO kablam! 123 | | { Oct 31 22:50:29.054 INFO kablam! ... | Oct 31 22:50:29.054 INFO kablam! 188 | | } Oct 31 22:50:29.054 INFO kablam! 189 | | } Oct 31 22:50:29.054 INFO kablam! | |_^ Oct 31 22:50:29.054 INFO kablam! Oct 31 22:50:29.054 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 31 22:50:29.054 INFO kablam! --> src/dusty/httpParser/mod.rs:120:36 Oct 31 22:50:29.054 INFO kablam! | Oct 31 22:50:29.054 INFO kablam! 120 | fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 31 22:50:29.054 INFO kablam! | ^^^^^^^^^^^^^ Oct 31 22:50:29.054 INFO kablam! Oct 31 22:50:29.054 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 31 22:50:29.054 INFO kablam! --> src/dusty/httpParser/mod.rs:142:29 Oct 31 22:50:29.054 INFO kablam! | Oct 31 22:50:29.054 INFO kablam! 142 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 31 22:50:29.054 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.054 INFO kablam! Oct 31 22:50:29.054 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.054 INFO kablam! --> src/dusty/httpParser/mod.rs:145:33 Oct 31 22:50:29.054 INFO kablam! | Oct 31 22:50:29.054 INFO kablam! 145 | let filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 31 22:50:29.054 INFO kablam! | ^^^^^^^^ Oct 31 22:50:29.055 INFO kablam! Oct 31 22:50:29.055 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 31 22:50:29.055 INFO kablam! --> src/dusty/httpParser/mod.rs:157:33 Oct 31 22:50:29.055 INFO kablam! | Oct 31 22:50:29.055 INFO kablam! 157 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 31 22:50:29.055 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.055 INFO kablam! Oct 31 22:50:29.055 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.055 INFO kablam! --> src/dusty/httpParser/mod.rs:159:37 Oct 31 22:50:29.055 INFO kablam! | Oct 31 22:50:29.055 INFO kablam! 159 | let mut filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 31 22:50:29.055 INFO kablam! | ^^^^^^^^^^^^ Oct 31 22:50:29.055 INFO kablam! Oct 31 22:50:29.055 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.055 INFO kablam! --> src/dusty/httpParser/mod.rs:169:33 Oct 31 22:50:29.055 INFO kablam! | Oct 31 22:50:29.055 INFO kablam! 169 | let mut filePath = pathBuilder::returnFullPath(&line); Oct 31 22:50:29.055 INFO kablam! | ^^^^^^^^^^^^ Oct 31 22:50:29.055 INFO kablam! Oct 31 22:50:29.055 INFO kablam! warning: function `convertVecStrToU8` should have a snake case name such as `convert_vec_str_to_u8` Oct 31 22:50:29.055 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 31 22:50:29.055 INFO kablam! | Oct 31 22:50:29.055 INFO kablam! 196 | / fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 31 22:50:29.055 INFO kablam! 197 | | { Oct 31 22:50:29.055 INFO kablam! 198 | | let mut str_as_u8 : Vec = Vec::new(); Oct 31 22:50:29.055 INFO kablam! 199 | | for res in responseBuffer Oct 31 22:50:29.055 INFO kablam! ... | Oct 31 22:50:29.055 INFO kablam! 203 | | str_as_u8 Oct 31 22:50:29.055 INFO kablam! 204 | | } Oct 31 22:50:29.055 INFO kablam! | |_^ Oct 31 22:50:29.055 INFO kablam! Oct 31 22:50:29.055 INFO kablam! warning: variable `responseBuffer` should have a snake case name such as `response_buffer` Oct 31 22:50:29.055 INFO kablam! --> src/dusty/httpParser/mod.rs:196:22 Oct 31 22:50:29.055 INFO kablam! | Oct 31 22:50:29.055 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 31 22:50:29.055 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.055 INFO kablam! Oct 31 22:50:29.055 INFO kablam! warning: module `pathBuilder` should have a snake case name such as `path_builder` Oct 31 22:50:29.055 INFO kablam! --> src/main.rs:4:5 Oct 31 22:50:29.055 INFO kablam! | Oct 31 22:50:29.055 INFO kablam! 4 | pub mod pathBuilder; Oct 31 22:50:29.055 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.055 INFO kablam! Oct 31 22:50:29.059 INFO kablam! warning: function `returnFullPath` should have a snake case name such as `return_full_path` Oct 31 22:50:29.059 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:1 Oct 31 22:50:29.059 INFO kablam! | Oct 31 22:50:29.059 INFO kablam! 9 | / pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 31 22:50:29.059 INFO kablam! 10 | | { Oct 31 22:50:29.059 INFO kablam! 11 | | match current_dir().unwrap().to_str() Oct 31 22:50:29.059 INFO kablam! 12 | | { Oct 31 22:50:29.059 INFO kablam! ... | Oct 31 22:50:29.059 INFO kablam! 38 | | Oct 31 22:50:29.059 INFO kablam! 39 | | } Oct 31 22:50:29.059 INFO kablam! | |_^ Oct 31 22:50:29.059 INFO kablam! Oct 31 22:50:29.059 INFO kablam! warning: variable `localPath` should have a snake case name such as `local_path` Oct 31 22:50:29.059 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:27 Oct 31 22:50:29.059 INFO kablam! | Oct 31 22:50:29.059 INFO kablam! 9 | pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 31 22:50:29.059 INFO kablam! | ^^^^^^^^^ Oct 31 22:50:29.059 INFO kablam! Oct 31 22:50:29.059 INFO kablam! warning: variable `tempPath` should have a snake case name such as `temp_path` Oct 31 22:50:29.059 INFO kablam! --> src/dusty/pathBuilder/mod.rs:16:17 Oct 31 22:50:29.059 INFO kablam! | Oct 31 22:50:29.059 INFO kablam! 16 | let mut tempPath = PathBuf::new(); Oct 31 22:50:29.059 INFO kablam! | ^^^^^^^^^^^^ Oct 31 22:50:29.059 INFO kablam! Oct 31 22:50:29.059 INFO kablam! warning: variable `newPath` should have a snake case name such as `new_path` Oct 31 22:50:29.059 INFO kablam! --> src/dusty/pathBuilder/mod.rs:19:17 Oct 31 22:50:29.059 INFO kablam! | Oct 31 22:50:29.059 INFO kablam! 19 | let newPath : Vec<&str> = localPath.split("/").collect(); Oct 31 22:50:29.059 INFO kablam! | ^^^^^^^ Oct 31 22:50:29.059 INFO kablam! Oct 31 22:50:29.059 INFO kablam! warning: variable `finalPath` should have a snake case name such as `final_path` Oct 31 22:50:29.059 INFO kablam! --> src/dusty/pathBuilder/mod.rs:27:22 Oct 31 22:50:29.059 INFO kablam! | Oct 31 22:50:29.059 INFO kablam! 27 | Some(finalPath) => return finalPath.to_string(), Oct 31 22:50:29.059 INFO kablam! | ^^^^^^^^^ Oct 31 22:50:29.059 INFO kablam! Oct 31 22:50:29.059 INFO kablam! warning: module `cacheManager` should have a snake case name such as `cache_manager` Oct 31 22:50:29.059 INFO kablam! --> src/main.rs:5:5 Oct 31 22:50:29.059 INFO kablam! | Oct 31 22:50:29.059 INFO kablam! 5 | pub mod cacheManager; Oct 31 22:50:29.059 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.059 INFO kablam! Oct 31 22:50:29.059 INFO kablam! warning: type `cache` should have a camel case name such as `Cache` Oct 31 22:50:29.059 INFO kablam! --> src/dusty/cacheManager/mod.rs:8:1 Oct 31 22:50:29.059 INFO kablam! | Oct 31 22:50:29.059 INFO kablam! 8 | / pub struct cache Oct 31 22:50:29.059 INFO kablam! 9 | | { Oct 31 22:50:29.059 INFO kablam! 10 | | c : HashMap, Oct 31 22:50:29.059 INFO kablam! 11 | | fileSize : HashMap Oct 31 22:50:29.059 INFO kablam! 12 | | } Oct 31 22:50:29.059 INFO kablam! | |_^ Oct 31 22:50:29.059 INFO kablam! | Oct 31 22:50:29.059 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 31 22:50:29.059 INFO kablam! Oct 31 22:50:29.059 INFO kablam! warning: structure field `fileSize` should have a snake case name such as `file_size` Oct 31 22:50:29.059 INFO kablam! --> src/dusty/cacheManager/mod.rs:11:5 Oct 31 22:50:29.059 INFO kablam! | Oct 31 22:50:29.059 INFO kablam! 11 | fileSize : HashMap Oct 31 22:50:29.059 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.059 INFO kablam! Oct 31 22:50:29.059 INFO kablam! warning: method `checkSize` should have a snake case name such as `check_size` Oct 31 22:50:29.059 INFO kablam! --> src/dusty/cacheManager/mod.rs:37:5 Oct 31 22:50:29.060 INFO kablam! | Oct 31 22:50:29.060 INFO kablam! 37 | / pub fn checkSize(&mut self, path : &str) -> usize Oct 31 22:50:29.060 INFO kablam! 38 | | { Oct 31 22:50:29.060 INFO kablam! 39 | | match self.fileSize.contains_key(path) Oct 31 22:50:29.060 INFO kablam! 40 | | { Oct 31 22:50:29.060 INFO kablam! ... | Oct 31 22:50:29.060 INFO kablam! 43 | | } Oct 31 22:50:29.060 INFO kablam! 44 | | } Oct 31 22:50:29.060 INFO kablam! | |_____^ Oct 31 22:50:29.060 INFO kablam! Oct 31 22:50:29.060 INFO kablam! warning: method `insertNewCacheItem` should have a snake case name such as `insert_new_cache_item` Oct 31 22:50:29.060 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:5 Oct 31 22:50:29.060 INFO kablam! | Oct 31 22:50:29.060 INFO kablam! 47 | / pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 31 22:50:29.060 INFO kablam! 48 | | { Oct 31 22:50:29.060 INFO kablam! 49 | | self.c.insert(path.to_string(),FileStr.clone()); Oct 31 22:50:29.060 INFO kablam! 50 | | self.fileSize.insert(path.to_string(),FileStr.len()); Oct 31 22:50:29.060 INFO kablam! 51 | | FileStr.len() Oct 31 22:50:29.060 INFO kablam! 52 | | } Oct 31 22:50:29.060 INFO kablam! | |_____^ Oct 31 22:50:29.060 INFO kablam! Oct 31 22:50:29.060 INFO kablam! warning: variable `FileStr` should have a snake case name such as `file_str` Oct 31 22:50:29.060 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:56 Oct 31 22:50:29.060 INFO kablam! | Oct 31 22:50:29.060 INFO kablam! 47 | pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 31 22:50:29.060 INFO kablam! | ^^^^^^^ Oct 31 22:50:29.060 INFO kablam! Oct 31 22:50:29.060 INFO kablam! warning: function `readNewUncachedFile` should have a snake case name such as `read_new_uncached_file` Oct 31 22:50:29.060 INFO kablam! --> src/dusty/cacheManager/mod.rs:57:5 Oct 31 22:50:29.060 INFO kablam! | Oct 31 22:50:29.060 INFO kablam! 57 | / pub fn readNewUncachedFile(filename: &str) -> (String, usize) Oct 31 22:50:29.060 INFO kablam! 58 | | { Oct 31 22:50:29.060 INFO kablam! 59 | | let mut f = File::open(filename); Oct 31 22:50:29.060 INFO kablam! 60 | | match f Oct 31 22:50:29.060 INFO kablam! ... | Oct 31 22:50:29.060 INFO kablam! 73 | | } Oct 31 22:50:29.060 INFO kablam! 74 | | } Oct 31 22:50:29.060 INFO kablam! | |_____^ Oct 31 22:50:29.060 INFO kablam! Oct 31 22:50:29.060 INFO kablam! warning: function `readText` should have a snake case name such as `read_text` Oct 31 22:50:29.060 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:5 Oct 31 22:50:29.060 INFO kablam! | Oct 31 22:50:29.060 INFO kablam! 77 | / fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 31 22:50:29.060 INFO kablam! 78 | | { Oct 31 22:50:29.060 INFO kablam! 79 | | let mut s = String::new(); Oct 31 22:50:29.060 INFO kablam! 80 | | let lenRead = readable.read_to_string(&mut s); Oct 31 22:50:29.060 INFO kablam! ... | Oct 31 22:50:29.060 INFO kablam! 94 | | } Oct 31 22:50:29.060 INFO kablam! 95 | | } Oct 31 22:50:29.060 INFO kablam! | |_____^ Oct 31 22:50:29.060 INFO kablam! Oct 31 22:50:29.060 INFO kablam! warning: variable `lenRead` should have a snake case name such as `len_read` Oct 31 22:50:29.060 INFO kablam! --> src/dusty/cacheManager/mod.rs:80:13 Oct 31 22:50:29.060 INFO kablam! | Oct 31 22:50:29.060 INFO kablam! 80 | let lenRead = readable.read_to_string(&mut s); Oct 31 22:50:29.060 INFO kablam! | ^^^^^^^ Oct 31 22:50:29.060 INFO kablam! Oct 31 22:50:29.060 INFO kablam! warning: variable `lR` should have a snake case name such as `l_r` Oct 31 22:50:29.060 INFO kablam! --> src/dusty/cacheManager/mod.rs:83:24 Oct 31 22:50:29.060 INFO kablam! | Oct 31 22:50:29.060 INFO kablam! 83 | Ok(lR) => Oct 31 22:50:29.060 INFO kablam! | ^^ Oct 31 22:50:29.060 INFO kablam! Oct 31 22:50:29.060 INFO kablam! warning: type `request` should have a camel case name such as `Request` Oct 31 22:50:29.060 INFO kablam! --> src/dusty/connection/mod.rs:13:1 Oct 31 22:50:29.060 INFO kablam! | Oct 31 22:50:29.060 INFO kablam! 13 | / pub struct request Oct 31 22:50:29.060 INFO kablam! 14 | | { Oct 31 22:50:29.060 INFO kablam! 15 | | pub filePath : String, Oct 31 22:50:29.060 INFO kablam! 16 | | pub size : usize, Oct 31 22:50:29.060 INFO kablam! 17 | | pub streamChannel : Sender Oct 31 22:50:29.060 INFO kablam! 18 | | } Oct 31 22:50:29.060 INFO kablam! | |_^ Oct 31 22:50:29.060 INFO kablam! Oct 31 22:50:29.060 INFO kablam! warning: structure field `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.060 INFO kablam! --> src/dusty/connection/mod.rs:15:5 Oct 31 22:50:29.060 INFO kablam! | Oct 31 22:50:29.060 INFO kablam! 15 | pub filePath : String, Oct 31 22:50:29.060 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.060 INFO kablam! Oct 31 22:50:29.060 INFO kablam! warning: structure field `streamChannel` should have a snake case name such as `stream_channel` Oct 31 22:50:29.060 INFO kablam! --> src/dusty/connection/mod.rs:17:5 Oct 31 22:50:29.060 INFO kablam! | Oct 31 22:50:29.060 INFO kablam! 17 | pub streamChannel : Sender Oct 31 22:50:29.060 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.061 INFO kablam! Oct 31 22:50:29.061 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.061 INFO kablam! --> src/dusty/connection/mod.rs:22:16 Oct 31 22:50:29.061 INFO kablam! | Oct 31 22:50:29.061 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 31 22:50:29.061 INFO kablam! | ^^^^^^^^ Oct 31 22:50:29.061 INFO kablam! Oct 31 22:50:29.061 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 31 22:50:29.061 INFO kablam! --> src/dusty/connection/mod.rs:22:48 Oct 31 22:50:29.061 INFO kablam! | Oct 31 22:50:29.061 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 31 22:50:29.061 INFO kablam! | ^^^^^^^^^^^^^ Oct 31 22:50:29.061 INFO kablam! Oct 31 22:50:29.061 INFO kablam! warning: type `response` should have a camel case name such as `Response` Oct 31 22:50:29.061 INFO kablam! --> src/dusty/connection/mod.rs:38:1 Oct 31 22:50:29.061 INFO kablam! | Oct 31 22:50:29.061 INFO kablam! 38 | / pub struct response Oct 31 22:50:29.061 INFO kablam! 39 | | { Oct 31 22:50:29.061 INFO kablam! 40 | | pub body : String, Oct 31 22:50:29.061 INFO kablam! 41 | | pub header : String Oct 31 22:50:29.061 INFO kablam! 42 | | } Oct 31 22:50:29.061 INFO kablam! | |_^ Oct 31 22:50:29.061 INFO kablam! Oct 31 22:50:29.061 INFO kablam! warning: type `con` should have a camel case name such as `Con` Oct 31 22:50:29.061 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 31 22:50:29.061 INFO kablam! | Oct 31 22:50:29.061 INFO kablam! 53 | / pub struct con Oct 31 22:50:29.061 INFO kablam! 54 | | { Oct 31 22:50:29.061 INFO kablam! 55 | | pub buffer: String, Oct 31 22:50:29.061 INFO kablam! 56 | | pub stream: TcpStream Oct 31 22:50:29.061 INFO kablam! 57 | | } Oct 31 22:50:29.061 INFO kablam! | |_^ Oct 31 22:50:29.061 INFO kablam! Oct 31 22:50:29.061 INFO kablam! warning: module `httpParserThread` should have a snake case name such as `http_parser_thread` Oct 31 22:50:29.061 INFO kablam! --> src/main.rs:7:5 Oct 31 22:50:29.061 INFO kablam! | Oct 31 22:50:29.061 INFO kablam! 7 | pub mod httpParserThread; Oct 31 22:50:29.061 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.061 INFO kablam! Oct 31 22:50:29.061 INFO kablam! warning: function `spawnNewParserThread` should have a snake case name such as `spawn_new_parser_thread` Oct 31 22:50:29.061 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:1 Oct 31 22:50:29.061 INFO kablam! | Oct 31 22:50:29.061 INFO kablam! 12 | / pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 31 22:50:29.061 INFO kablam! 13 | | { Oct 31 22:50:29.061 INFO kablam! 14 | | thread::spawn(move || Oct 31 22:50:29.061 INFO kablam! 15 | | { Oct 31 22:50:29.061 INFO kablam! ... | Oct 31 22:50:29.061 INFO kablam! 66 | | Oct 31 22:50:29.061 INFO kablam! 67 | | } Oct 31 22:50:29.061 INFO kablam! | |_^ Oct 31 22:50:29.061 INFO kablam! Oct 31 22:50:29.061 INFO kablam! warning: variable `streamReceiver` should have a snake case name such as `stream_receiver` Oct 31 22:50:29.061 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:29 Oct 31 22:50:29.061 INFO kablam! | Oct 31 22:50:29.061 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 31 22:50:29.061 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.061 INFO kablam! Oct 31 22:50:29.061 INFO kablam! warning: variable `gathererManagerChannel` should have a snake case name such as `gatherer_manager_channel` Oct 31 22:50:29.061 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:67 Oct 31 22:50:29.061 INFO kablam! | Oct 31 22:50:29.061 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 31 22:50:29.061 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.061 INFO kablam! Oct 31 22:50:29.061 INFO kablam! warning: variable `localSend` should have a snake case name such as `local_send` Oct 31 22:50:29.061 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:14 Oct 31 22:50:29.061 INFO kablam! | Oct 31 22:50:29.061 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 31 22:50:29.061 INFO kablam! | ^^^^^^^^^ Oct 31 22:50:29.061 INFO kablam! Oct 31 22:50:29.061 INFO kablam! warning: variable `localRecv` should have a snake case name such as `local_recv` Oct 31 22:50:29.062 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:25 Oct 31 22:50:29.062 INFO kablam! | Oct 31 22:50:29.062 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 31 22:50:29.062 INFO kablam! | ^^^^^^^^^ Oct 31 22:50:29.062 INFO kablam! Oct 31 22:50:29.062 INFO kablam! warning: variable `headerTemplate` should have a snake case name such as `header_template` Oct 31 22:50:29.062 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 31 22:50:29.062 INFO kablam! | Oct 31 22:50:29.062 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 31 22:50:29.062 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.062 INFO kablam! Oct 31 22:50:29.062 INFO kablam! warning: variable `requestCount` should have a snake case name such as `request_count` Oct 31 22:50:29.062 INFO kablam! --> src/dusty/httpParserThread/mod.rs:29:25 Oct 31 22:50:29.062 INFO kablam! | Oct 31 22:50:29.062 INFO kablam! 29 | let mut requestCount = schedule.len(); Oct 31 22:50:29.062 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 31 22:50:29.062 INFO kablam! Oct 31 22:50:29.062 INFO kablam! warning: unused `std::result::Result` that must be used Oct 31 22:50:29.062 INFO kablam! --> src/dusty/httpParserThread/mod.rs:35:25 Oct 31 22:50:29.062 INFO kablam! | Oct 31 22:50:29.062 INFO kablam! 35 | gathererManagerChannel.send(req); Oct 31 22:50:29.062 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.062 INFO kablam! | Oct 31 22:50:29.062 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 31 22:50:29.062 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 31 22:50:29.062 INFO kablam! Oct 31 22:50:29.062 INFO kablam! warning: function `spawnNewGathererThread` should have a snake case name such as `spawn_new_gatherer_thread` Oct 31 22:50:29.062 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:1 Oct 31 22:50:29.062 INFO kablam! | Oct 31 22:50:29.062 INFO kablam! 70 | / pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 31 22:50:29.062 INFO kablam! 71 | | { Oct 31 22:50:29.062 INFO kablam! 72 | | thread::spawn(move || Oct 31 22:50:29.062 INFO kablam! 73 | | { Oct 31 22:50:29.062 INFO kablam! ... | Oct 31 22:50:29.062 INFO kablam! 88 | | }); Oct 31 22:50:29.062 INFO kablam! 89 | | } Oct 31 22:50:29.062 INFO kablam! | |_^ Oct 31 22:50:29.062 INFO kablam! Oct 31 22:50:29.062 INFO kablam! warning: variable `requestReceiver` should have a snake case name such as `request_receiver` Oct 31 22:50:29.062 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:31 Oct 31 22:50:29.062 INFO kablam! | Oct 31 22:50:29.062 INFO kablam! 70 | pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 31 22:50:29.062 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 31 22:50:29.062 INFO kablam! Oct 31 22:50:29.062 INFO kablam! warning: function `createIndependentThreadPools` should have a snake case name such as `create_independent_thread_pools` Oct 31 22:50:29.062 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:1 Oct 31 22:50:29.062 INFO kablam! | Oct 31 22:50:29.062 INFO kablam! 93 | / pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 31 22:50:29.062 INFO kablam! 94 | | { Oct 31 22:50:29.062 INFO kablam! 95 | | //These are the meat and potatos of dusty Oct 31 22:50:29.062 INFO kablam! 96 | | //They are simply a vec pointing to channels Oct 31 22:50:29.062 INFO kablam! ... | Oct 31 22:50:29.062 INFO kablam! 122 | | Oct 31 22:50:29.062 INFO kablam! 123 | | } Oct 31 22:50:29.062 INFO kablam! | |_^ Oct 31 22:50:29.062 INFO kablam! Oct 31 22:50:29.062 INFO kablam! warning: variable `parserThreadPoolSize` should have a snake case name such as `parser_thread_pool_size` Oct 31 22:50:29.062 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:37 Oct 31 22:50:29.062 INFO kablam! | Oct 31 22:50:29.062 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 31 22:50:29.062 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.062 INFO kablam! Oct 31 22:50:29.062 INFO kablam! warning: variable `gathererThreadPoolSize` should have a snake case name such as `gatherer_thread_pool_size` Oct 31 22:50:29.062 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:66 Oct 31 22:50:29.062 INFO kablam! | Oct 31 22:50:29.062 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 31 22:50:29.062 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.062 INFO kablam! Oct 31 22:50:29.064 INFO kablam! warning: variable `gathererChannels` should have a snake case name such as `gatherer_channels` Oct 31 22:50:29.064 INFO kablam! --> src/dusty/httpParserThread/mod.rs:98:9 Oct 31 22:50:29.064 INFO kablam! | Oct 31 22:50:29.064 INFO kablam! 98 | let mut gathererChannels : Vec> = Vec::new(); Oct 31 22:50:29.064 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.064 INFO kablam! Oct 31 22:50:29.064 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 31 22:50:29.064 INFO kablam! --> src/dusty/httpParserThread/mod.rs:99:9 Oct 31 22:50:29.064 INFO kablam! | Oct 31 22:50:29.064 INFO kablam! 99 | let mut parserChannels : Vec> = Vec::new(); Oct 31 22:50:29.064 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.065 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 31 22:50:29.065 INFO kablam! --> src/dusty/httpParserThread/mod.rs:110:9 Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! 110 | let gathererManager : Sender = spawnGathererManagerThread(gathererChannels); Oct 31 22:50:29.065 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.065 INFO kablam! warning: function `spawnGathererManagerThread` should have a snake case name such as `spawn_gatherer_manager_thread` Oct 31 22:50:29.065 INFO kablam! --> src/dusty/httpParserThread/mod.rs:126:1 Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! 126 | / pub fn spawnGathererManagerThread(channels : Vec>) -> Sender Oct 31 22:50:29.065 INFO kablam! 127 | | { Oct 31 22:50:29.065 INFO kablam! 128 | | let (send, recv) = channel::(); Oct 31 22:50:29.065 INFO kablam! 129 | | thread::spawn(move || Oct 31 22:50:29.065 INFO kablam! ... | Oct 31 22:50:29.065 INFO kablam! 150 | | return send Oct 31 22:50:29.065 INFO kablam! 151 | | } Oct 31 22:50:29.065 INFO kablam! | |_^ Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.065 INFO kablam! warning: variable `channelIndex` should have a snake case name such as `channel_index` Oct 31 22:50:29.065 INFO kablam! --> src/dusty/httpParserThread/mod.rs:131:13 Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! 131 | let mut channelIndex : usize = 0; Oct 31 22:50:29.065 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.065 INFO kablam! warning: unused `std::result::Result` that must be used Oct 31 22:50:29.065 INFO kablam! --> src/dusty/httpParserThread/mod.rs:141:21 Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! 141 | channels[channelIndex].send(req); Oct 31 22:50:29.065 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.065 INFO kablam! warning: variable `parserThreadCount` should have a snake case name such as `parser_thread_count` Oct 31 22:50:29.065 INFO kablam! --> src/main.rs:23:9 Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! 23 | let parserThreadCount : usize = 16; Oct 31 22:50:29.065 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.065 INFO kablam! warning: variable `gathererThreadCount` should have a snake case name such as `gatherer_thread_count` Oct 31 22:50:29.065 INFO kablam! --> src/main.rs:24:9 Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! 24 | let gathererThreadCount : usize = 16; Oct 31 22:50:29.065 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.065 INFO kablam! warning: variable `sharedCache` should have a snake case name such as `shared_cache` Oct 31 22:50:29.065 INFO kablam! --> src/main.rs:27:9 Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! 27 | let sharedCache : Arc> = Arc::new(Mutex::new(cacheManager::cache::new())); Oct 31 22:50:29.065 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.065 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 31 22:50:29.065 INFO kablam! --> src/main.rs:30:10 Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 31 22:50:29.065 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.065 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 31 22:50:29.065 INFO kablam! --> src/main.rs:30:26 Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 31 22:50:29.065 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.065 INFO kablam! warning: variable `parserIndex` should have a snake case name such as `parser_index` Oct 31 22:50:29.065 INFO kablam! --> src/main.rs:31:9 Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! 31 | let mut parserIndex = 0; Oct 31 22:50:29.065 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.065 INFO kablam! warning: unused `std::result::Result` that must be used Oct 31 22:50:29.065 INFO kablam! --> src/main.rs:41:25 Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! 41 | parserChannels[parserIndex].send(stream); Oct 31 22:50:29.065 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.065 INFO kablam! | Oct 31 22:50:29.065 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 31 22:50:29.065 INFO kablam! Oct 31 22:50:29.084 INFO kablam! warning: unreachable expression Oct 31 22:50:29.084 INFO kablam! --> src/dusty/httpParser/mod.rs:186:13 Oct 31 22:50:29.084 INFO kablam! | Oct 31 22:50:29.084 INFO kablam! 186 | return None Oct 31 22:50:29.084 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:29.084 INFO kablam! | Oct 31 22:50:29.084 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 31 22:50:29.084 INFO kablam! Oct 31 22:50:29.167 INFO kablam! warning: unused import: `std::io::prelude` Oct 31 22:50:29.167 INFO kablam! --> src/dusty/pathBuilder/mod.rs:4:6 Oct 31 22:50:29.167 INFO kablam! | Oct 31 22:50:29.167 INFO kablam! 4 | use std::io::prelude::*; Oct 31 22:50:29.167 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 31 22:50:29.167 INFO kablam! Oct 31 22:50:29.184 INFO kablam! warning: unused variable: `e` Oct 31 22:50:29.184 INFO kablam! --> src/dusty/httpParser/mod.rs:63:17 Oct 31 22:50:29.184 INFO kablam! | Oct 31 22:50:29.184 INFO kablam! 63 | Err(e) => println!("Error Reading to buffer in request!") Oct 31 22:50:29.184 INFO kablam! | ^ help: consider using `_e` instead Oct 31 22:50:29.184 INFO kablam! | Oct 31 22:50:29.184 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 31 22:50:29.184 INFO kablam! Oct 31 22:50:29.185 INFO kablam! warning: unused variable: `index` Oct 31 22:50:29.185 INFO kablam! --> src/dusty/httpParser/mod.rs:132:22 Oct 31 22:50:29.185 INFO kablam! | Oct 31 22:50:29.185 INFO kablam! 132 | Some(index) => Oct 31 22:50:29.185 INFO kablam! | ^^^^^ help: consider using `_index` instead Oct 31 22:50:29.185 INFO kablam! Oct 31 22:50:29.186 INFO kablam! warning: unused variable: `e` Oct 31 22:50:29.186 INFO kablam! --> src/dusty/cacheManager/mod.rs:67:21 Oct 31 22:50:29.186 INFO kablam! | Oct 31 22:50:29.186 INFO kablam! 67 | Err(e) => Oct 31 22:50:29.186 INFO kablam! | ^ help: consider using `_e` instead Oct 31 22:50:29.186 INFO kablam! Oct 31 22:50:29.186 INFO kablam! warning: unused variable: `filename` Oct 31 22:50:29.186 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:38 Oct 31 22:50:29.186 INFO kablam! | Oct 31 22:50:29.186 INFO kablam! 77 | fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 31 22:50:29.186 INFO kablam! | ^^^^^^^^ help: consider using `_filename` instead Oct 31 22:50:29.186 INFO kablam! Oct 31 22:50:29.187 INFO kablam! warning: unused variable: `headerTemplate` Oct 31 22:50:29.187 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 31 22:50:29.187 INFO kablam! | Oct 31 22:50:29.188 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 31 22:50:29.188 INFO kablam! | ^^^^^^^^^^^^^^ help: consider using `_headerTemplate` instead Oct 31 22:50:29.188 INFO kablam! Oct 31 22:50:29.189 INFO kablam! warning: unused variable: `i` Oct 31 22:50:29.189 INFO kablam! --> src/dusty/httpParserThread/mod.rs:102:9 Oct 31 22:50:29.189 INFO kablam! | Oct 31 22:50:29.189 INFO kablam! 102 | for i in 0..gathererThreadPoolSize //Spawn gatherer threads Oct 31 22:50:29.189 INFO kablam! | ^ help: consider using `_i` instead Oct 31 22:50:29.189 INFO kablam! Oct 31 22:50:29.189 INFO kablam! warning: unused variable: `i` Oct 31 22:50:29.189 INFO kablam! --> src/dusty/httpParserThread/mod.rs:113:9 Oct 31 22:50:29.189 INFO kablam! | Oct 31 22:50:29.189 INFO kablam! 113 | for i in 0..parserThreadPoolSize Oct 31 22:50:29.192 INFO kablam! | ^ help: consider using `_i` instead Oct 31 22:50:29.192 INFO kablam! Oct 31 22:50:29.192 INFO kablam! warning: unused variable: `gathererManager` Oct 31 22:50:29.192 INFO kablam! --> src/main.rs:30:26 Oct 31 22:50:29.192 INFO kablam! | Oct 31 22:50:29.192 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 31 22:50:29.192 INFO kablam! | ^^^^^^^^^^^^^^^ help: consider using `_gathererManager` instead Oct 31 22:50:29.192 INFO kablam! Oct 31 22:50:29.232 INFO kablam! warning: variable does not need to be mutable Oct 31 22:50:29.233 INFO kablam! --> src/dusty/cacheManager/mod.rs:59:13 Oct 31 22:50:29.233 INFO kablam! | Oct 31 22:50:29.233 INFO kablam! 59 | let mut f = File::open(filename); Oct 31 22:50:29.233 INFO kablam! | ----^ Oct 31 22:50:29.233 INFO kablam! | | Oct 31 22:50:29.233 INFO kablam! | help: remove this `mut` Oct 31 22:50:29.233 INFO kablam! | Oct 31 22:50:29.233 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 31 22:50:29.233 INFO kablam! Oct 31 22:50:29.235 INFO kablam! warning: function is never used: `processHeader` Oct 31 22:50:29.235 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 31 22:50:29.235 INFO kablam! | Oct 31 22:50:29.235 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 31 22:50:29.235 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.235 INFO kablam! | Oct 31 22:50:29.235 INFO kablam! = note: #[warn(dead_code)] on by default Oct 31 22:50:29.235 INFO kablam! Oct 31 22:50:29.235 INFO kablam! warning: function is never used: `convertVecStrToU8` Oct 31 22:50:29.235 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 31 22:50:29.235 INFO kablam! | Oct 31 22:50:29.235 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 31 22:50:29.235 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.235 INFO kablam! Oct 31 22:50:29.235 INFO kablam! warning: struct is never constructed: `con` Oct 31 22:50:29.235 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 31 22:50:29.235 INFO kablam! | Oct 31 22:50:29.235 INFO kablam! 53 | pub struct con Oct 31 22:50:29.235 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.235 INFO kablam! Oct 31 22:50:29.235 INFO kablam! warning: method is never used: `new` Oct 31 22:50:29.235 INFO kablam! --> src/dusty/connection/mod.rs:61:5 Oct 31 22:50:29.235 INFO kablam! | Oct 31 22:50:29.235 INFO kablam! 61 | pub fn new(buffer : String, stream : TcpStream) -> con Oct 31 22:50:29.235 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.235 INFO kablam! Oct 31 22:50:29.235 INFO kablam! warning: module `httpParser` should have a snake case name such as `http_parser` Oct 31 22:50:29.235 INFO kablam! --> src/main.rs:3:5 Oct 31 22:50:29.235 INFO kablam! | Oct 31 22:50:29.235 INFO kablam! 3 | pub mod httpParser; Oct 31 22:50:29.235 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.235 INFO kablam! | Oct 31 22:50:29.235 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 31 22:50:29.235 INFO kablam! Oct 31 22:50:29.235 INFO kablam! warning: function `createRequestSchedule` should have a snake case name such as `create_request_schedule` Oct 31 22:50:29.235 INFO kablam! --> src/dusty/httpParser/mod.rs:18:1 Oct 31 22:50:29.235 INFO kablam! | Oct 31 22:50:29.235 INFO kablam! 18 | / pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 31 22:50:29.235 INFO kablam! 19 | | { Oct 31 22:50:29.235 INFO kablam! 20 | | let mut schedule : Vec = Vec::new(); Oct 31 22:50:29.235 INFO kablam! 21 | | Oct 31 22:50:29.235 INFO kablam! ... | Oct 31 22:50:29.235 INFO kablam! 66 | | return (schedule,String::from(" ")); Oct 31 22:50:29.235 INFO kablam! 67 | | } Oct 31 22:50:29.235 INFO kablam! | |_^ Oct 31 22:50:29.235 INFO kablam! Oct 31 22:50:29.235 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 31 22:50:29.235 INFO kablam! --> src/dusty/httpParser/mod.rs:18:51 Oct 31 22:50:29.235 INFO kablam! | Oct 31 22:50:29.235 INFO kablam! 18 | pub fn createRequestSchedule<'a>(req: &TcpStream, streamChannel : Sender, cache: Arc> ) -> (Vec, String) Oct 31 22:50:29.235 INFO kablam! | ^^^^^^^^^^^^^ Oct 31 22:50:29.235 INFO kablam! Oct 31 22:50:29.238 INFO kablam! warning: variable `lineBuffer` should have a snake case name such as `line_buffer` Oct 31 22:50:29.238 INFO kablam! --> src/dusty/httpParser/mod.rs:25:9 Oct 31 22:50:29.238 INFO kablam! | Oct 31 22:50:29.238 INFO kablam! 25 | let mut lineBuffer = String::with_capacity(512); Oct 31 22:50:29.238 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.238 INFO kablam! Oct 31 22:50:29.238 INFO kablam! warning: variable `newRequest` should have a snake case name such as `new_request` Oct 31 22:50:29.238 INFO kablam! --> src/dusty/httpParser/mod.rs:44:34 Oct 31 22:50:29.238 INFO kablam! | Oct 31 22:50:29.238 INFO kablam! 44 | Some(newRequest) => Oct 31 22:50:29.238 INFO kablam! | ^^^^^^^^^^ Oct 31 22:50:29.238 INFO kablam! Oct 31 22:50:29.238 INFO kablam! warning: function `processHeader` should have a snake case name such as `process_header` Oct 31 22:50:29.238 INFO kablam! --> src/dusty/httpParser/mod.rs:70:1 Oct 31 22:50:29.238 INFO kablam! | Oct 31 22:50:29.238 INFO kablam! 70 | / fn processHeader(header: &str, contentStart: usize) Oct 31 22:50:29.238 INFO kablam! 71 | | { Oct 31 22:50:29.238 INFO kablam! 72 | | println!("Header : {}", &header[0..contentStart]); Oct 31 22:50:29.238 INFO kablam! 73 | | println!("Content : {}",&header[contentStart+1..header.len()]); Oct 31 22:50:29.238 INFO kablam! 74 | | println!(); Oct 31 22:50:29.238 INFO kablam! 75 | | } Oct 31 22:50:29.238 INFO kablam! | |_^ Oct 31 22:50:29.238 INFO kablam! Oct 31 22:50:29.238 INFO kablam! warning: variable `contentStart` should have a snake case name such as `content_start` Oct 31 22:50:29.238 INFO kablam! --> src/dusty/httpParser/mod.rs:70:32 Oct 31 22:50:29.238 INFO kablam! | Oct 31 22:50:29.238 INFO kablam! 70 | fn processHeader(header: &str, contentStart: usize) Oct 31 22:50:29.238 INFO kablam! | ^^^^^^^^^^^^ Oct 31 22:50:29.238 INFO kablam! Oct 31 22:50:29.238 INFO kablam! warning: function `processFileRequest` should have a snake case name such as `process_file_request` Oct 31 22:50:29.238 INFO kablam! --> src/dusty/httpParser/mod.rs:79:1 Oct 31 22:50:29.238 INFO kablam! | Oct 31 22:50:29.238 INFO kablam! 79 | / pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 31 22:50:29.238 INFO kablam! 80 | | { Oct 31 22:50:29.239 INFO kablam! 81 | | match cache.lock() Oct 31 22:50:29.239 INFO kablam! 82 | | { Oct 31 22:50:29.239 INFO kablam! ... | Oct 31 22:50:29.239 INFO kablam! 117 | | } Oct 31 22:50:29.239 INFO kablam! 118 | | } Oct 31 22:50:29.239 INFO kablam! | |_^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.239 INFO kablam! --> src/dusty/httpParser/mod.rs:79:31 Oct 31 22:50:29.239 INFO kablam! | Oct 31 22:50:29.239 INFO kablam! 79 | pub fn processFileRequest<'a>(filePath: &'a str, cache: Arc>, size : usize) -> connection::response //The method called by the gatherer thread Oct 31 22:50:29.239 INFO kablam! | ^^^^^^^^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: variable `fileString` should have a snake case name such as `file_string` Oct 31 22:50:29.239 INFO kablam! --> src/dusty/httpParser/mod.rs:89:26 Oct 31 22:50:29.239 INFO kablam! | Oct 31 22:50:29.239 INFO kablam! 89 | let (fileString, size) = cacheManager::readNewUncachedFile(&filePath); Oct 31 22:50:29.239 INFO kablam! | ^^^^^^^^^^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: function `processRequestLine` should have a snake case name such as `process_request_line` Oct 31 22:50:29.239 INFO kablam! --> src/dusty/httpParser/mod.rs:120:1 Oct 31 22:50:29.239 INFO kablam! | Oct 31 22:50:29.239 INFO kablam! 120 | / fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 31 22:50:29.239 INFO kablam! 121 | | { Oct 31 22:50:29.239 INFO kablam! 122 | | if line == "\r\n" Oct 31 22:50:29.239 INFO kablam! 123 | | { Oct 31 22:50:29.239 INFO kablam! ... | Oct 31 22:50:29.239 INFO kablam! 188 | | } Oct 31 22:50:29.239 INFO kablam! 189 | | } Oct 31 22:50:29.239 INFO kablam! | |_^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 31 22:50:29.239 INFO kablam! --> src/dusty/httpParser/mod.rs:120:36 Oct 31 22:50:29.239 INFO kablam! | Oct 31 22:50:29.239 INFO kablam! 120 | fn processRequestLine(line : &str, streamChannel : Sender, cache: Arc> ) -> Option Oct 31 22:50:29.239 INFO kablam! | ^^^^^^^^^^^^^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 31 22:50:29.239 INFO kablam! --> src/dusty/httpParser/mod.rs:142:29 Oct 31 22:50:29.239 INFO kablam! | Oct 31 22:50:29.239 INFO kablam! 142 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 31 22:50:29.239 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.239 INFO kablam! --> src/dusty/httpParser/mod.rs:145:33 Oct 31 22:50:29.239 INFO kablam! | Oct 31 22:50:29.239 INFO kablam! 145 | let filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 31 22:50:29.239 INFO kablam! | ^^^^^^^^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: variable `oneLineRequest` should have a snake case name such as `one_line_request` Oct 31 22:50:29.239 INFO kablam! --> src/dusty/httpParser/mod.rs:157:33 Oct 31 22:50:29.239 INFO kablam! | Oct 31 22:50:29.239 INFO kablam! 157 | let mut oneLineRequest : Vec<&str> = line.split_whitespace().collect(); Oct 31 22:50:29.239 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.239 INFO kablam! --> src/dusty/httpParser/mod.rs:159:37 Oct 31 22:50:29.239 INFO kablam! | Oct 31 22:50:29.239 INFO kablam! 159 | let mut filePath = pathBuilder::returnFullPath(oneLineRequest[1]); Oct 31 22:50:29.239 INFO kablam! | ^^^^^^^^^^^^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.239 INFO kablam! --> src/dusty/httpParser/mod.rs:169:33 Oct 31 22:50:29.239 INFO kablam! | Oct 31 22:50:29.239 INFO kablam! 169 | let mut filePath = pathBuilder::returnFullPath(&line); Oct 31 22:50:29.239 INFO kablam! | ^^^^^^^^^^^^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: function `convertVecStrToU8` should have a snake case name such as `convert_vec_str_to_u8` Oct 31 22:50:29.239 INFO kablam! --> src/dusty/httpParser/mod.rs:196:1 Oct 31 22:50:29.239 INFO kablam! | Oct 31 22:50:29.239 INFO kablam! 196 | / fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 31 22:50:29.239 INFO kablam! 197 | | { Oct 31 22:50:29.239 INFO kablam! 198 | | let mut str_as_u8 : Vec = Vec::new(); Oct 31 22:50:29.239 INFO kablam! 199 | | for res in responseBuffer Oct 31 22:50:29.239 INFO kablam! ... | Oct 31 22:50:29.239 INFO kablam! 203 | | str_as_u8 Oct 31 22:50:29.239 INFO kablam! 204 | | } Oct 31 22:50:29.239 INFO kablam! | |_^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: variable `responseBuffer` should have a snake case name such as `response_buffer` Oct 31 22:50:29.239 INFO kablam! --> src/dusty/httpParser/mod.rs:196:22 Oct 31 22:50:29.239 INFO kablam! | Oct 31 22:50:29.239 INFO kablam! 196 | fn convertVecStrToU8(responseBuffer : &Vec<&str>) -> Vec Oct 31 22:50:29.239 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.239 INFO kablam! Oct 31 22:50:29.239 INFO kablam! warning: module `pathBuilder` should have a snake case name such as `path_builder` Oct 31 22:50:29.239 INFO kablam! --> src/main.rs:4:5 Oct 31 22:50:29.240 INFO kablam! | Oct 31 22:50:29.240 INFO kablam! 4 | pub mod pathBuilder; Oct 31 22:50:29.240 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.240 INFO kablam! Oct 31 22:50:29.240 INFO kablam! warning: function `returnFullPath` should have a snake case name such as `return_full_path` Oct 31 22:50:29.240 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:1 Oct 31 22:50:29.240 INFO kablam! | Oct 31 22:50:29.240 INFO kablam! 9 | / pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 31 22:50:29.240 INFO kablam! 10 | | { Oct 31 22:50:29.240 INFO kablam! 11 | | match current_dir().unwrap().to_str() Oct 31 22:50:29.240 INFO kablam! 12 | | { Oct 31 22:50:29.240 INFO kablam! ... | Oct 31 22:50:29.240 INFO kablam! 38 | | Oct 31 22:50:29.240 INFO kablam! 39 | | } Oct 31 22:50:29.240 INFO kablam! | |_^ Oct 31 22:50:29.240 INFO kablam! Oct 31 22:50:29.240 INFO kablam! warning: variable `localPath` should have a snake case name such as `local_path` Oct 31 22:50:29.240 INFO kablam! --> src/dusty/pathBuilder/mod.rs:9:27 Oct 31 22:50:29.240 INFO kablam! | Oct 31 22:50:29.240 INFO kablam! 9 | pub fn returnFullPath<'b>(localPath: &'b str) -> String Oct 31 22:50:29.240 INFO kablam! | ^^^^^^^^^ Oct 31 22:50:29.240 INFO kablam! Oct 31 22:50:29.252 INFO kablam! warning: variable `tempPath` should have a snake case name such as `temp_path` Oct 31 22:50:29.252 INFO kablam! --> src/dusty/pathBuilder/mod.rs:16:17 Oct 31 22:50:29.252 INFO kablam! | Oct 31 22:50:29.252 INFO kablam! 16 | let mut tempPath = PathBuf::new(); Oct 31 22:50:29.252 INFO kablam! | ^^^^^^^^^^^^ Oct 31 22:50:29.252 INFO kablam! Oct 31 22:50:29.252 INFO kablam! warning: variable `newPath` should have a snake case name such as `new_path` Oct 31 22:50:29.252 INFO kablam! --> src/dusty/pathBuilder/mod.rs:19:17 Oct 31 22:50:29.252 INFO kablam! | Oct 31 22:50:29.252 INFO kablam! 19 | let newPath : Vec<&str> = localPath.split("/").collect(); Oct 31 22:50:29.252 INFO kablam! | ^^^^^^^ Oct 31 22:50:29.252 INFO kablam! Oct 31 22:50:29.252 INFO kablam! warning: variable `finalPath` should have a snake case name such as `final_path` Oct 31 22:50:29.252 INFO kablam! --> src/dusty/pathBuilder/mod.rs:27:22 Oct 31 22:50:29.252 INFO kablam! | Oct 31 22:50:29.252 INFO kablam! 27 | Some(finalPath) => return finalPath.to_string(), Oct 31 22:50:29.252 INFO kablam! | ^^^^^^^^^ Oct 31 22:50:29.252 INFO kablam! Oct 31 22:50:29.252 INFO kablam! warning: module `cacheManager` should have a snake case name such as `cache_manager` Oct 31 22:50:29.252 INFO kablam! --> src/main.rs:5:5 Oct 31 22:50:29.252 INFO kablam! | Oct 31 22:50:29.252 INFO kablam! 5 | pub mod cacheManager; Oct 31 22:50:29.252 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.252 INFO kablam! Oct 31 22:50:29.252 INFO kablam! warning: type `cache` should have a camel case name such as `Cache` Oct 31 22:50:29.252 INFO kablam! --> src/dusty/cacheManager/mod.rs:8:1 Oct 31 22:50:29.252 INFO kablam! | Oct 31 22:50:29.252 INFO kablam! 8 | / pub struct cache Oct 31 22:50:29.252 INFO kablam! 9 | | { Oct 31 22:50:29.252 INFO kablam! 10 | | c : HashMap, Oct 31 22:50:29.252 INFO kablam! 11 | | fileSize : HashMap Oct 31 22:50:29.252 INFO kablam! 12 | | } Oct 31 22:50:29.252 INFO kablam! | |_^ Oct 31 22:50:29.252 INFO kablam! | Oct 31 22:50:29.252 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 31 22:50:29.252 INFO kablam! Oct 31 22:50:29.252 INFO kablam! warning: structure field `fileSize` should have a snake case name such as `file_size` Oct 31 22:50:29.252 INFO kablam! --> src/dusty/cacheManager/mod.rs:11:5 Oct 31 22:50:29.252 INFO kablam! | Oct 31 22:50:29.253 INFO kablam! 11 | fileSize : HashMap Oct 31 22:50:29.253 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.253 INFO kablam! Oct 31 22:50:29.253 INFO kablam! warning: method `checkSize` should have a snake case name such as `check_size` Oct 31 22:50:29.253 INFO kablam! --> src/dusty/cacheManager/mod.rs:37:5 Oct 31 22:50:29.253 INFO kablam! | Oct 31 22:50:29.253 INFO kablam! 37 | / pub fn checkSize(&mut self, path : &str) -> usize Oct 31 22:50:29.253 INFO kablam! 38 | | { Oct 31 22:50:29.253 INFO kablam! 39 | | match self.fileSize.contains_key(path) Oct 31 22:50:29.253 INFO kablam! 40 | | { Oct 31 22:50:29.253 INFO kablam! ... | Oct 31 22:50:29.253 INFO kablam! 43 | | } Oct 31 22:50:29.253 INFO kablam! 44 | | } Oct 31 22:50:29.253 INFO kablam! | |_____^ Oct 31 22:50:29.253 INFO kablam! Oct 31 22:50:29.253 INFO kablam! warning: method `insertNewCacheItem` should have a snake case name such as `insert_new_cache_item` Oct 31 22:50:29.253 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:5 Oct 31 22:50:29.253 INFO kablam! | Oct 31 22:50:29.253 INFO kablam! 47 | / pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 31 22:50:29.253 INFO kablam! 48 | | { Oct 31 22:50:29.253 INFO kablam! 49 | | self.c.insert(path.to_string(),FileStr.clone()); Oct 31 22:50:29.253 INFO kablam! 50 | | self.fileSize.insert(path.to_string(),FileStr.len()); Oct 31 22:50:29.253 INFO kablam! 51 | | FileStr.len() Oct 31 22:50:29.253 INFO kablam! 52 | | } Oct 31 22:50:29.253 INFO kablam! | |_____^ Oct 31 22:50:29.253 INFO kablam! Oct 31 22:50:29.253 INFO kablam! warning: variable `FileStr` should have a snake case name such as `file_str` Oct 31 22:50:29.253 INFO kablam! --> src/dusty/cacheManager/mod.rs:47:56 Oct 31 22:50:29.253 INFO kablam! | Oct 31 22:50:29.253 INFO kablam! 47 | pub fn insertNewCacheItem(&mut self , path : &str, FileStr: String) -> usize Oct 31 22:50:29.253 INFO kablam! | ^^^^^^^ Oct 31 22:50:29.253 INFO kablam! Oct 31 22:50:29.253 INFO kablam! warning: function `readNewUncachedFile` should have a snake case name such as `read_new_uncached_file` Oct 31 22:50:29.253 INFO kablam! --> src/dusty/cacheManager/mod.rs:57:5 Oct 31 22:50:29.253 INFO kablam! | Oct 31 22:50:29.253 INFO kablam! 57 | / pub fn readNewUncachedFile(filename: &str) -> (String, usize) Oct 31 22:50:29.253 INFO kablam! 58 | | { Oct 31 22:50:29.253 INFO kablam! 59 | | let mut f = File::open(filename); Oct 31 22:50:29.253 INFO kablam! 60 | | match f Oct 31 22:50:29.253 INFO kablam! ... | Oct 31 22:50:29.253 INFO kablam! 73 | | } Oct 31 22:50:29.253 INFO kablam! 74 | | } Oct 31 22:50:29.253 INFO kablam! | |_____^ Oct 31 22:50:29.253 INFO kablam! Oct 31 22:50:29.253 INFO kablam! warning: function `readText` should have a snake case name such as `read_text` Oct 31 22:50:29.253 INFO kablam! --> src/dusty/cacheManager/mod.rs:77:5 Oct 31 22:50:29.253 INFO kablam! | Oct 31 22:50:29.253 INFO kablam! 77 | / fn readText(readable: &mut Read, filename: &str ) -> (String, usize) Oct 31 22:50:29.253 INFO kablam! 78 | | { Oct 31 22:50:29.253 INFO kablam! 79 | | let mut s = String::new(); Oct 31 22:50:29.253 INFO kablam! 80 | | let lenRead = readable.read_to_string(&mut s); Oct 31 22:50:29.253 INFO kablam! ... | Oct 31 22:50:29.253 INFO kablam! 94 | | } Oct 31 22:50:29.253 INFO kablam! 95 | | } Oct 31 22:50:29.253 INFO kablam! | |_____^ Oct 31 22:50:29.253 INFO kablam! Oct 31 22:50:29.253 INFO kablam! warning: variable `lenRead` should have a snake case name such as `len_read` Oct 31 22:50:29.253 INFO kablam! --> src/dusty/cacheManager/mod.rs:80:13 Oct 31 22:50:29.253 INFO kablam! | Oct 31 22:50:29.253 INFO kablam! 80 | let lenRead = readable.read_to_string(&mut s); Oct 31 22:50:29.253 INFO kablam! | ^^^^^^^ Oct 31 22:50:29.253 INFO kablam! Oct 31 22:50:29.253 INFO kablam! warning: variable `lR` should have a snake case name such as `l_r` Oct 31 22:50:29.253 INFO kablam! --> src/dusty/cacheManager/mod.rs:83:24 Oct 31 22:50:29.253 INFO kablam! | Oct 31 22:50:29.253 INFO kablam! 83 | Ok(lR) => Oct 31 22:50:29.253 INFO kablam! | ^^ Oct 31 22:50:29.253 INFO kablam! Oct 31 22:50:29.253 INFO kablam! warning: type `request` should have a camel case name such as `Request` Oct 31 22:50:29.253 INFO kablam! --> src/dusty/connection/mod.rs:13:1 Oct 31 22:50:29.253 INFO kablam! | Oct 31 22:50:29.253 INFO kablam! 13 | / pub struct request Oct 31 22:50:29.253 INFO kablam! 14 | | { Oct 31 22:50:29.253 INFO kablam! 15 | | pub filePath : String, Oct 31 22:50:29.253 INFO kablam! 16 | | pub size : usize, Oct 31 22:50:29.253 INFO kablam! 17 | | pub streamChannel : Sender Oct 31 22:50:29.253 INFO kablam! 18 | | } Oct 31 22:50:29.253 INFO kablam! | |_^ Oct 31 22:50:29.253 INFO kablam! Oct 31 22:50:29.253 INFO kablam! warning: structure field `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.253 INFO kablam! --> src/dusty/connection/mod.rs:15:5 Oct 31 22:50:29.253 INFO kablam! | Oct 31 22:50:29.253 INFO kablam! 15 | pub filePath : String, Oct 31 22:50:29.253 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: structure field `streamChannel` should have a snake case name such as `stream_channel` Oct 31 22:50:29.254 INFO kablam! --> src/dusty/connection/mod.rs:17:5 Oct 31 22:50:29.254 INFO kablam! | Oct 31 22:50:29.254 INFO kablam! 17 | pub streamChannel : Sender Oct 31 22:50:29.254 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: variable `filePath` should have a snake case name such as `file_path` Oct 31 22:50:29.254 INFO kablam! --> src/dusty/connection/mod.rs:22:16 Oct 31 22:50:29.254 INFO kablam! | Oct 31 22:50:29.254 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 31 22:50:29.254 INFO kablam! | ^^^^^^^^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: variable `streamChannel` should have a snake case name such as `stream_channel` Oct 31 22:50:29.254 INFO kablam! --> src/dusty/connection/mod.rs:22:48 Oct 31 22:50:29.254 INFO kablam! | Oct 31 22:50:29.254 INFO kablam! 22 | pub fn new(filePath : String, size: usize, streamChannel : Sender) -> request Oct 31 22:50:29.254 INFO kablam! | ^^^^^^^^^^^^^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: type `response` should have a camel case name such as `Response` Oct 31 22:50:29.254 INFO kablam! --> src/dusty/connection/mod.rs:38:1 Oct 31 22:50:29.254 INFO kablam! | Oct 31 22:50:29.254 INFO kablam! 38 | / pub struct response Oct 31 22:50:29.254 INFO kablam! 39 | | { Oct 31 22:50:29.254 INFO kablam! 40 | | pub body : String, Oct 31 22:50:29.254 INFO kablam! 41 | | pub header : String Oct 31 22:50:29.254 INFO kablam! 42 | | } Oct 31 22:50:29.254 INFO kablam! | |_^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: type `con` should have a camel case name such as `Con` Oct 31 22:50:29.254 INFO kablam! --> src/dusty/connection/mod.rs:53:1 Oct 31 22:50:29.254 INFO kablam! | Oct 31 22:50:29.254 INFO kablam! 53 | / pub struct con Oct 31 22:50:29.254 INFO kablam! 54 | | { Oct 31 22:50:29.254 INFO kablam! 55 | | pub buffer: String, Oct 31 22:50:29.254 INFO kablam! 56 | | pub stream: TcpStream Oct 31 22:50:29.254 INFO kablam! 57 | | } Oct 31 22:50:29.254 INFO kablam! | |_^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: module `httpParserThread` should have a snake case name such as `http_parser_thread` Oct 31 22:50:29.254 INFO kablam! --> src/main.rs:7:5 Oct 31 22:50:29.254 INFO kablam! | Oct 31 22:50:29.254 INFO kablam! 7 | pub mod httpParserThread; Oct 31 22:50:29.254 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: function `spawnNewParserThread` should have a snake case name such as `spawn_new_parser_thread` Oct 31 22:50:29.254 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:1 Oct 31 22:50:29.254 INFO kablam! | Oct 31 22:50:29.254 INFO kablam! 12 | / pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 31 22:50:29.254 INFO kablam! 13 | | { Oct 31 22:50:29.254 INFO kablam! 14 | | thread::spawn(move || Oct 31 22:50:29.254 INFO kablam! 15 | | { Oct 31 22:50:29.254 INFO kablam! ... | Oct 31 22:50:29.254 INFO kablam! 66 | | Oct 31 22:50:29.254 INFO kablam! 67 | | } Oct 31 22:50:29.254 INFO kablam! | |_^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: variable `streamReceiver` should have a snake case name such as `stream_receiver` Oct 31 22:50:29.254 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:29 Oct 31 22:50:29.254 INFO kablam! | Oct 31 22:50:29.254 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 31 22:50:29.254 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: variable `gathererManagerChannel` should have a snake case name such as `gatherer_manager_channel` Oct 31 22:50:29.254 INFO kablam! --> src/dusty/httpParserThread/mod.rs:12:67 Oct 31 22:50:29.254 INFO kablam! | Oct 31 22:50:29.254 INFO kablam! 12 | pub fn spawnNewParserThread(streamReceiver : Receiver, gathererManagerChannel : Sender, cache: Arc>) Oct 31 22:50:29.254 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: variable `localSend` should have a snake case name such as `local_send` Oct 31 22:50:29.254 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:14 Oct 31 22:50:29.254 INFO kablam! | Oct 31 22:50:29.254 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 31 22:50:29.254 INFO kablam! | ^^^^^^^^^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: variable `localRecv` should have a snake case name such as `local_recv` Oct 31 22:50:29.254 INFO kablam! --> src/dusty/httpParserThread/mod.rs:17:25 Oct 31 22:50:29.254 INFO kablam! | Oct 31 22:50:29.254 INFO kablam! 17 | let (localSend, localRecv) = channel::(); Oct 31 22:50:29.254 INFO kablam! | ^^^^^^^^^ Oct 31 22:50:29.254 INFO kablam! Oct 31 22:50:29.254 INFO kablam! warning: variable `headerTemplate` should have a snake case name such as `header_template` Oct 31 22:50:29.254 INFO kablam! --> src/dusty/httpParserThread/mod.rs:26:36 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 26 | let (schedule, headerTemplate) = httpParser::createRequestSchedule(&stream,localSend.clone(), cache.clone()); Oct 31 22:50:29.255 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.255 INFO kablam! Oct 31 22:50:29.255 INFO kablam! warning: variable `requestCount` should have a snake case name such as `request_count` Oct 31 22:50:29.255 INFO kablam! --> src/dusty/httpParserThread/mod.rs:29:25 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 29 | let mut requestCount = schedule.len(); Oct 31 22:50:29.255 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 31 22:50:29.255 INFO kablam! Oct 31 22:50:29.255 INFO kablam! warning: unused `std::result::Result` that must be used Oct 31 22:50:29.255 INFO kablam! --> src/dusty/httpParserThread/mod.rs:35:25 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 35 | gathererManagerChannel.send(req); Oct 31 22:50:29.255 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 31 22:50:29.255 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 31 22:50:29.255 INFO kablam! Oct 31 22:50:29.255 INFO kablam! warning: function `spawnNewGathererThread` should have a snake case name such as `spawn_new_gatherer_thread` Oct 31 22:50:29.255 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:1 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 70 | / pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 31 22:50:29.255 INFO kablam! 71 | | { Oct 31 22:50:29.255 INFO kablam! 72 | | thread::spawn(move || Oct 31 22:50:29.255 INFO kablam! 73 | | { Oct 31 22:50:29.255 INFO kablam! ... | Oct 31 22:50:29.255 INFO kablam! 88 | | }); Oct 31 22:50:29.255 INFO kablam! 89 | | } Oct 31 22:50:29.255 INFO kablam! | |_^ Oct 31 22:50:29.255 INFO kablam! Oct 31 22:50:29.255 INFO kablam! warning: variable `requestReceiver` should have a snake case name such as `request_receiver` Oct 31 22:50:29.255 INFO kablam! --> src/dusty/httpParserThread/mod.rs:70:31 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 70 | pub fn spawnNewGathererThread(requestReceiver : Receiver, cache: Arc>) //Creates a new thread with the given request Receiver Oct 31 22:50:29.255 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 31 22:50:29.255 INFO kablam! Oct 31 22:50:29.255 INFO kablam! warning: function `createIndependentThreadPools` should have a snake case name such as `create_independent_thread_pools` Oct 31 22:50:29.255 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:1 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 93 | / pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 31 22:50:29.255 INFO kablam! 94 | | { Oct 31 22:50:29.255 INFO kablam! 95 | | //These are the meat and potatos of dusty Oct 31 22:50:29.255 INFO kablam! 96 | | //They are simply a vec pointing to channels Oct 31 22:50:29.255 INFO kablam! ... | Oct 31 22:50:29.255 INFO kablam! 122 | | Oct 31 22:50:29.255 INFO kablam! 123 | | } Oct 31 22:50:29.255 INFO kablam! | |_^ Oct 31 22:50:29.255 INFO kablam! Oct 31 22:50:29.255 INFO kablam! warning: variable `parserThreadPoolSize` should have a snake case name such as `parser_thread_pool_size` Oct 31 22:50:29.255 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:37 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 31 22:50:29.255 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.255 INFO kablam! Oct 31 22:50:29.255 INFO kablam! warning: variable `gathererThreadPoolSize` should have a snake case name such as `gatherer_thread_pool_size` Oct 31 22:50:29.255 INFO kablam! --> src/dusty/httpParserThread/mod.rs:93:66 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 93 | pub fn createIndependentThreadPools(parserThreadPoolSize: usize, gathererThreadPoolSize: usize , cache: Arc>) -> (Vec>,Sender) Oct 31 22:50:29.255 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.255 INFO kablam! Oct 31 22:50:29.255 INFO kablam! warning: variable `gathererChannels` should have a snake case name such as `gatherer_channels` Oct 31 22:50:29.255 INFO kablam! --> src/dusty/httpParserThread/mod.rs:98:9 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 98 | let mut gathererChannels : Vec> = Vec::new(); Oct 31 22:50:29.255 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.255 INFO kablam! Oct 31 22:50:29.255 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 31 22:50:29.255 INFO kablam! --> src/dusty/httpParserThread/mod.rs:99:9 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 99 | let mut parserChannels : Vec> = Vec::new(); Oct 31 22:50:29.255 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.255 INFO kablam! Oct 31 22:50:29.255 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 31 22:50:29.255 INFO kablam! --> src/dusty/httpParserThread/mod.rs:110:9 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 110 | let gathererManager : Sender = spawnGathererManagerThread(gathererChannels); Oct 31 22:50:29.255 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 31 22:50:29.255 INFO kablam! Oct 31 22:50:29.255 INFO kablam! warning: function `spawnGathererManagerThread` should have a snake case name such as `spawn_gatherer_manager_thread` Oct 31 22:50:29.255 INFO kablam! --> src/dusty/httpParserThread/mod.rs:126:1 Oct 31 22:50:29.255 INFO kablam! | Oct 31 22:50:29.255 INFO kablam! 126 | / pub fn spawnGathererManagerThread(channels : Vec>) -> Sender Oct 31 22:50:29.255 INFO kablam! 127 | | { Oct 31 22:50:29.255 INFO kablam! 128 | | let (send, recv) = channel::(); Oct 31 22:50:29.256 INFO kablam! 129 | | thread::spawn(move || Oct 31 22:50:29.256 INFO kablam! ... | Oct 31 22:50:29.256 INFO kablam! 150 | | return send Oct 31 22:50:29.256 INFO kablam! 151 | | } Oct 31 22:50:29.256 INFO kablam! | |_^ Oct 31 22:50:29.256 INFO kablam! Oct 31 22:50:29.256 INFO kablam! warning: variable `channelIndex` should have a snake case name such as `channel_index` Oct 31 22:50:29.256 INFO kablam! --> src/dusty/httpParserThread/mod.rs:131:13 Oct 31 22:50:29.256 INFO kablam! | Oct 31 22:50:29.256 INFO kablam! 131 | let mut channelIndex : usize = 0; Oct 31 22:50:29.256 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 31 22:50:29.256 INFO kablam! Oct 31 22:50:29.256 INFO kablam! warning: unused `std::result::Result` that must be used Oct 31 22:50:29.256 INFO kablam! --> src/dusty/httpParserThread/mod.rs:141:21 Oct 31 22:50:29.256 INFO kablam! | Oct 31 22:50:29.256 INFO kablam! 141 | channels[channelIndex].send(req); Oct 31 22:50:29.256 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.256 INFO kablam! | Oct 31 22:50:29.256 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 31 22:50:29.256 INFO kablam! Oct 31 22:50:29.256 INFO kablam! warning: variable `parserThreadCount` should have a snake case name such as `parser_thread_count` Oct 31 22:50:29.256 INFO kablam! --> src/main.rs:23:9 Oct 31 22:50:29.256 INFO kablam! | Oct 31 22:50:29.256 INFO kablam! 23 | let parserThreadCount : usize = 16; Oct 31 22:50:29.256 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.256 INFO kablam! Oct 31 22:50:29.256 INFO kablam! warning: variable `gathererThreadCount` should have a snake case name such as `gatherer_thread_count` Oct 31 22:50:29.256 INFO kablam! --> src/main.rs:24:9 Oct 31 22:50:29.256 INFO kablam! | Oct 31 22:50:29.256 INFO kablam! 24 | let gathererThreadCount : usize = 16; Oct 31 22:50:29.256 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.256 INFO kablam! Oct 31 22:50:29.256 INFO kablam! warning: variable `sharedCache` should have a snake case name such as `shared_cache` Oct 31 22:50:29.256 INFO kablam! --> src/main.rs:27:9 Oct 31 22:50:29.256 INFO kablam! | Oct 31 22:50:29.256 INFO kablam! 27 | let sharedCache : Arc> = Arc::new(Mutex::new(cacheManager::cache::new())); Oct 31 22:50:29.256 INFO kablam! | ^^^^^^^^^^^ Oct 31 22:50:29.256 INFO kablam! Oct 31 22:50:29.256 INFO kablam! warning: variable `parserChannels` should have a snake case name such as `parser_channels` Oct 31 22:50:29.256 INFO kablam! --> src/main.rs:30:10 Oct 31 22:50:29.256 INFO kablam! | Oct 31 22:50:29.256 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 31 22:50:29.256 INFO kablam! | ^^^^^^^^^^^^^^ Oct 31 22:50:29.256 INFO kablam! Oct 31 22:50:29.256 INFO kablam! warning: variable `gathererManager` should have a snake case name such as `gatherer_manager` Oct 31 22:50:29.256 INFO kablam! --> src/main.rs:30:26 Oct 31 22:50:29.256 INFO kablam! | Oct 31 22:50:29.256 INFO kablam! 30 | let (parserChannels, gathererManager) = httpParserThread::createIndependentThreadPools(parserThreadCount,gathererThreadCount,sharedCache); Oct 31 22:50:29.256 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 31 22:50:29.256 INFO kablam! Oct 31 22:50:29.256 INFO kablam! warning: variable `parserIndex` should have a snake case name such as `parser_index` Oct 31 22:50:29.256 INFO kablam! --> src/main.rs:31:9 Oct 31 22:50:29.256 INFO kablam! | Oct 31 22:50:29.256 INFO kablam! 31 | let mut parserIndex = 0; Oct 31 22:50:29.256 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 31 22:50:29.256 INFO kablam! Oct 31 22:50:29.256 INFO kablam! warning: unused `std::result::Result` that must be used Oct 31 22:50:29.256 INFO kablam! --> src/main.rs:41:25 Oct 31 22:50:29.256 INFO kablam! | Oct 31 22:50:29.256 INFO kablam! 41 | parserChannels[parserIndex].send(stream); Oct 31 22:50:29.256 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 31 22:50:29.256 INFO kablam! | Oct 31 22:50:29.256 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 31 22:50:29.256 INFO kablam! Oct 31 22:50:29.276 INFO kablam! Finished dev [optimized + debuginfo] target(s) in 0.92s Oct 31 22:50:29.276 INFO kablam! su: No module specific data is present Oct 31 22:50:30.186 INFO running `"docker" "rm" "-f" "97bb466acbbc173d4d3adb1e9cf50d147e6b78c43d474db5fd62a9c12ac38693"` Oct 31 22:50:30.393 INFO blam! 97bb466acbbc173d4d3adb1e9cf50d147e6b78c43d474db5fd62a9c12ac38693