Oct 10 17:10:04.796 INFO testing optimizely/optimizelyd-maildir against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling Oct 10 17:10:04.796 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen Oct 10 17:10:04.796 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 10 17:10:05.084 INFO blam! 72215caf7b99caa307ee9a8231b073e57ae14e76e513b43e446dd9b8e35c3cd0 Oct 10 17:10:05.086 INFO running `"docker" "start" "-a" "72215caf7b99caa307ee9a8231b073e57ae14e76e513b43e446dd9b8e35c3cd0"` Oct 10 17:10:05.684 INFO kablam! usermod: no changes Oct 10 17:10:05.860 INFO kablam! Compiling iovec v0.1.0 Oct 10 17:10:05.860 INFO kablam! Compiling net2 v0.2.29 Oct 10 17:10:05.860 INFO kablam! Compiling base64 v0.6.0 Oct 10 17:10:05.860 INFO kablam! Compiling unicode-bidi v0.3.3 Oct 10 17:10:05.860 INFO kablam! Compiling futures-cpupool v0.1.5 Oct 10 17:10:05.860 INFO kablam! Compiling uuid v0.4.0 Oct 10 17:10:05.860 INFO kablam! Compiling openssl-sys v0.9.14 Oct 10 17:10:08.236 INFO kablam! Compiling bytes v0.4.4 Oct 10 17:10:09.161 INFO kablam! Compiling openssl v0.9.14 Oct 10 17:10:10.582 INFO kablam! Compiling mio v0.6.9 Oct 10 17:10:12.360 INFO kablam! Compiling tokio-io v0.1.2 Oct 10 17:10:12.400 INFO kablam! Compiling idna v0.1.2 Oct 10 17:10:17.968 INFO kablam! Compiling tokio-core v0.1.8 Oct 10 17:10:18.796 INFO kablam! Compiling url v1.5.1 Oct 10 17:10:22.072 INFO kablam! Compiling native-tls v0.1.4 Oct 10 17:10:26.284 INFO kablam! Compiling tokio-proto v0.1.1 Oct 10 17:10:26.284 INFO kablam! Compiling tokio-tls v0.1.3 Oct 10 17:10:29.672 INFO kablam! Compiling hyper v0.11.0 Oct 10 17:10:39.020 INFO kablam! Compiling hyper-tls v0.1.2 Oct 10 17:10:41.468 INFO kablam! Compiling optimizelyd-maildir v0.1.0 (/source) Oct 10 17:10:44.030 INFO kablam! warning: unused import: `std::time::SystemTime` Oct 10 17:10:44.030 INFO kablam! --> src/maildirqueue.rs:7:5 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 7 | use std::time::SystemTime; Oct 10 17:10:44.030 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.030 INFO kablam! warning: unused import: `std::os::raw::c_char` Oct 10 17:10:44.030 INFO kablam! --> src/jsonsender.rs:10:5 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 10 | use std::os::raw::c_char; Oct 10 17:10:44.030 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.030 INFO kablam! warning: unused import: `std::io::BufReader` Oct 10 17:10:44.030 INFO kablam! --> src/jsonsender.rs:13:5 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 13 | use std::io::BufReader; Oct 10 17:10:44.030 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.030 INFO kablam! warning: unused import: `std::io::prelude::*` Oct 10 17:10:44.030 INFO kablam! --> src/jsonsender.rs:14:5 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 14 | use std::io::prelude::*; Oct 10 17:10:44.030 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.030 INFO kablam! warning: unused import: `jsonsender::hyper::Body` Oct 10 17:10:44.030 INFO kablam! --> src/jsonsender.rs:16:5 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 16 | use jsonsender::hyper::Body; Oct 10 17:10:44.030 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.030 INFO kablam! warning: unused import: `jsonsender::hyper::Chunk` Oct 10 17:10:44.030 INFO kablam! --> src/jsonsender.rs:17:5 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 17 | use jsonsender::hyper::Chunk; Oct 10 17:10:44.030 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.030 INFO kablam! warning: unused import: `self` Oct 10 17:10:44.030 INFO kablam! --> src/jsonsender.rs:21:15 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 21 | use std::io::{self, Write}; Oct 10 17:10:44.030 INFO kablam! | ^^^^ Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.030 INFO kablam! warning: unused import: `self::hyper::client::Response` Oct 10 17:10:44.030 INFO kablam! --> src/jsonsender.rs:25:5 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 25 | use self::hyper::client::Response; Oct 10 17:10:44.030 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.030 INFO kablam! warning: unused import: `self::hyper::header::Headers` Oct 10 17:10:44.030 INFO kablam! --> src/jsonsender.rs:26:5 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 26 | use self::hyper::header::Headers; Oct 10 17:10:44.030 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.030 INFO kablam! warning: unused import: `self::url::Url` Oct 10 17:10:44.030 INFO kablam! --> src/jsonsender.rs:27:5 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 27 | use self::url::Url; Oct 10 17:10:44.030 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.030 INFO kablam! warning: unused import: `self::hyper::Uri` Oct 10 17:10:44.030 INFO kablam! --> src/jsonsender.rs:29:5 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 29 | use self::hyper::Uri; Oct 10 17:10:44.030 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.030 INFO kablam! warning: unused import: `Error` Oct 10 17:10:44.030 INFO kablam! --> src/jsonsender.rs:32:31 Oct 10 17:10:44.030 INFO kablam! | Oct 10 17:10:44.030 INFO kablam! 32 | use self::serde_json::{Value, Error}; Oct 10 17:10:44.030 INFO kablam! | ^^^^^ Oct 10 17:10:44.030 INFO kablam! Oct 10 17:10:44.150 INFO kablam! warning: unreachable statement Oct 10 17:10:44.150 INFO kablam! --> src/main.rs:72:9 Oct 10 17:10:44.150 INFO kablam! | Oct 10 17:10:44.150 INFO kablam! 72 | println!("Decided to give up... no more in the queue"); Oct 10 17:10:44.150 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.150 INFO kablam! | Oct 10 17:10:44.150 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 10 17:10:44.150 INFO kablam! = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) Oct 10 17:10:44.150 INFO kablam! Oct 10 17:10:44.316 INFO kablam! warning: variable does not need to be mutable Oct 10 17:10:44.316 INFO kablam! --> src/maildirqueue.rs:99:20 Oct 10 17:10:44.316 INFO kablam! | Oct 10 17:10:44.316 INFO kablam! 99 | if let Ok(mut entries) = fs::read_dir(new_path) { Oct 10 17:10:44.316 INFO kablam! | ----^^^^^^^ Oct 10 17:10:44.316 INFO kablam! | | Oct 10 17:10:44.316 INFO kablam! | help: remove this `mut` Oct 10 17:10:44.316 INFO kablam! | Oct 10 17:10:44.316 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 17:10:44.316 INFO kablam! Oct 10 17:10:44.319 INFO kablam! warning: static item is never used: `RES` Oct 10 17:10:44.319 INFO kablam! --> src/maildirqueue.rs:17:1 Oct 10 17:10:44.319 INFO kablam! | Oct 10 17:10:44.319 INFO kablam! 17 | static RES: &'static str = "res"; // using the queue for a request/response area, give the user a place to move responses. Oct 10 17:10:44.319 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.319 INFO kablam! | Oct 10 17:10:44.319 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 17:10:44.319 INFO kablam! Oct 10 17:10:44.319 INFO kablam! warning: method is never used: `push` Oct 10 17:10:44.319 INFO kablam! --> src/maildirqueue.rs:84:5 Oct 10 17:10:44.319 INFO kablam! | Oct 10 17:10:44.319 INFO kablam! 84 | pub fn push(&self, request_body:&str) -> bool { Oct 10 17:10:44.319 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.319 INFO kablam! Oct 10 17:10:44.319 INFO kablam! warning: method is never used: `res` Oct 10 17:10:44.319 INFO kablam! --> src/maildirqueue.rs:93:5 Oct 10 17:10:44.319 INFO kablam! | Oct 10 17:10:44.319 INFO kablam! 93 | pub fn res(&self, request_body:&str) -> bool { Oct 10 17:10:44.319 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.319 INFO kablam! Oct 10 17:10:44.325 INFO kablam! warning: method `moveFile` should have a snake case name such as `move_file` Oct 10 17:10:44.325 INFO kablam! --> src/maildirqueue.rs:70:5 Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! 70 | / fn moveFile(&self, request_body:&str, from:&str, to:&str, suffix:Option<&str>) -> bool { Oct 10 17:10:44.325 INFO kablam! 71 | | let filename = format!("{}", Uuid::new_v4()) + if let Some(suf) = suffix { suf } else { "" }; Oct 10 17:10:44.325 INFO kablam! 72 | | let tmp_path = self.base_dir.clone().as_str().to_owned() + "/" + from + "/" + filename.as_str(); Oct 10 17:10:44.325 INFO kablam! 73 | | let new_path = self.base_dir.clone().as_str().to_owned() + "/" + to + "/" + filename.as_str(); Oct 10 17:10:44.325 INFO kablam! ... | Oct 10 17:10:44.325 INFO kablam! 82 | | true Oct 10 17:10:44.325 INFO kablam! 83 | | } Oct 10 17:10:44.325 INFO kablam! | |_____^ Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 10 17:10:44.325 INFO kablam! Oct 10 17:10:44.325 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:44.325 INFO kablam! --> src/maildirqueue.rs:75:13 Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! 75 | f.write_all(request_body.as_bytes()); Oct 10 17:10:44.325 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 17:10:44.325 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:44.325 INFO kablam! Oct 10 17:10:44.325 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:44.325 INFO kablam! --> src/maildirqueue.rs:77:13 Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! 77 | f.sync_data(); Oct 10 17:10:44.325 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:44.325 INFO kablam! Oct 10 17:10:44.325 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:44.325 INFO kablam! --> src/maildirqueue.rs:80:9 Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! 80 | fs::rename(Path::new(&tmp_path), Path::new(&new_path)); // Rename from tmp to new Oct 10 17:10:44.325 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:44.325 INFO kablam! Oct 10 17:10:44.325 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:44.325 INFO kablam! --> src/maildirqueue.rs:121:20 Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! 121 | fs::rename(entry.path(), Path::new(&cur_path)); // Rename from new to cur directory Oct 10 17:10:44.325 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:44.325 INFO kablam! Oct 10 17:10:44.325 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:44.325 INFO kablam! --> src/maildirqueue.rs:126:25 Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! 126 | buf_reader.read_to_string(&mut contents); Oct 10 17:10:44.325 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:44.325 INFO kablam! Oct 10 17:10:44.325 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:44.325 INFO kablam! --> src/maildirqueue.rs:128:29 Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! 128 | fs::remove_file(&cur_path); Oct 10 17:10:44.325 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.325 INFO kablam! | Oct 10 17:10:44.325 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:44.325 INFO kablam! Oct 10 17:10:44.325 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:44.326 INFO kablam! --> src/maildirqueue.rs:132:29 Oct 10 17:10:44.326 INFO kablam! | Oct 10 17:10:44.326 INFO kablam! 132 | fs::remove_file(&cur_path); Oct 10 17:10:44.326 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.326 INFO kablam! | Oct 10 17:10:44.326 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:44.326 INFO kablam! Oct 10 17:10:44.326 INFO kablam! warning: method `sendJson` should have a snake case name such as `send_json` Oct 10 17:10:44.326 INFO kablam! --> src/jsonsender.rs:45:5 Oct 10 17:10:44.326 INFO kablam! | Oct 10 17:10:44.326 INFO kablam! 45 | / pub fn sendJson(&self, jsonString:&str, res_path:&str) -> Result { Oct 10 17:10:44.326 INFO kablam! 46 | | Oct 10 17:10:44.326 INFO kablam! 47 | | let mut core = Core::new().unwrap(); Oct 10 17:10:44.326 INFO kablam! 48 | | let handle = core.handle(); Oct 10 17:10:44.326 INFO kablam! ... | Oct 10 17:10:44.326 INFO kablam! 101 | | return Err("Problem sending request"); Oct 10 17:10:44.326 INFO kablam! 102 | | } Oct 10 17:10:44.326 INFO kablam! | |_____^ Oct 10 17:10:44.326 INFO kablam! Oct 10 17:10:44.326 INFO kablam! warning: variable `jsonString` should have a snake case name such as `json_string` Oct 10 17:10:44.326 INFO kablam! --> src/jsonsender.rs:45:28 Oct 10 17:10:44.326 INFO kablam! | Oct 10 17:10:44.326 INFO kablam! 45 | pub fn sendJson(&self, jsonString:&str, res_path:&str) -> Result { Oct 10 17:10:44.326 INFO kablam! | ^^^^^^^^^^ Oct 10 17:10:44.326 INFO kablam! Oct 10 17:10:44.326 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:44.326 INFO kablam! --> src/jsonsender.rs:82:33 Oct 10 17:10:44.326 INFO kablam! | Oct 10 17:10:44.326 INFO kablam! 82 | f.write_all(&bodyiter); Oct 10 17:10:44.326 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:44.326 INFO kablam! | Oct 10 17:10:44.326 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:44.326 INFO kablam! Oct 10 17:10:44.326 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:44.326 INFO kablam! --> src/jsonsender.rs:83:33 Oct 10 17:10:44.326 INFO kablam! | Oct 10 17:10:44.326 INFO kablam! 83 | f.sync_data(); Oct 10 17:10:44.326 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 17:10:44.326 INFO kablam! | Oct 10 17:10:44.326 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:44.326 INFO kablam! Oct 10 17:10:44.326 INFO kablam! warning: function `startServer` should have a snake case name such as `start_server` Oct 10 17:10:44.326 INFO kablam! --> src/main.rs:51:1 Oct 10 17:10:44.326 INFO kablam! | Oct 10 17:10:44.326 INFO kablam! 51 | / fn startServer(baseDir:&str) { Oct 10 17:10:44.326 INFO kablam! 52 | | let sender = Box::new(JsonSender::new()); Oct 10 17:10:44.326 INFO kablam! 53 | | let mail_dir_que = Box::new(MaildirQueue::new(baseDir.to_string())); Oct 10 17:10:44.326 INFO kablam! 54 | | if let Some(ref mail_dir_que) = mail_dir_que.init() { Oct 10 17:10:44.326 INFO kablam! ... | Oct 10 17:10:44.326 INFO kablam! 73 | | } Oct 10 17:10:44.326 INFO kablam! 74 | | } Oct 10 17:10:44.326 INFO kablam! | |_^ Oct 10 17:10:44.326 INFO kablam! Oct 10 17:10:44.326 INFO kablam! warning: variable `baseDir` should have a snake case name such as `base_dir` Oct 10 17:10:44.326 INFO kablam! --> src/main.rs:51:16 Oct 10 17:10:44.326 INFO kablam! | Oct 10 17:10:44.326 INFO kablam! 51 | fn startServer(baseDir:&str) { Oct 10 17:10:44.326 INFO kablam! | ^^^^^^^ Oct 10 17:10:44.326 INFO kablam! Oct 10 17:10:49.956 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 44.24s Oct 10 17:10:49.965 INFO kablam! su: No module specific data is present Oct 10 17:10:51.001 INFO running `"docker" "rm" "-f" "72215caf7b99caa307ee9a8231b073e57ae14e76e513b43e446dd9b8e35c3cd0"` Oct 10 17:10:51.456 INFO blam! 72215caf7b99caa307ee9a8231b073e57ae14e76e513b43e446dd9b8e35c3cd0 Oct 10 17:10:51.468 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run Oct 10 17:10:51.468 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 10 17:10:51.895 INFO blam! e6f92bae8e72c27d61392ccaeb604acb9f5b42b3d9e514156b3dbe353ac06d50 Oct 10 17:10:51.897 INFO running `"docker" "start" "-a" "e6f92bae8e72c27d61392ccaeb604acb9f5b42b3d9e514156b3dbe353ac06d50"` Oct 10 17:10:53.297 INFO kablam! usermod: no changes Oct 10 17:10:53.492 INFO kablam! Compiling optimizelyd-maildir v0.1.0 (/source) Oct 10 17:10:56.313 INFO kablam! warning: unused import: `std::time::SystemTime` Oct 10 17:10:56.313 INFO kablam! --> src/maildirqueue.rs:7:5 Oct 10 17:10:56.314 INFO kablam! | Oct 10 17:10:56.314 INFO kablam! 7 | use std::time::SystemTime; Oct 10 17:10:56.314 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.315 INFO kablam! | Oct 10 17:10:56.315 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 10 17:10:56.315 INFO kablam! Oct 10 17:10:56.316 INFO kablam! warning: unused import: `std::os::raw::c_char` Oct 10 17:10:56.316 INFO kablam! --> src/jsonsender.rs:10:5 Oct 10 17:10:56.316 INFO kablam! | Oct 10 17:10:56.317 INFO kablam! 10 | use std::os::raw::c_char; Oct 10 17:10:56.317 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.317 INFO kablam! Oct 10 17:10:56.318 INFO kablam! warning: unused import: `std::io::BufReader` Oct 10 17:10:56.318 INFO kablam! --> src/jsonsender.rs:13:5 Oct 10 17:10:56.318 INFO kablam! | Oct 10 17:10:56.319 INFO kablam! 13 | use std::io::BufReader; Oct 10 17:10:56.319 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.319 INFO kablam! Oct 10 17:10:56.320 INFO kablam! warning: unused import: `std::io::prelude::*` Oct 10 17:10:56.320 INFO kablam! --> src/jsonsender.rs:14:5 Oct 10 17:10:56.320 INFO kablam! | Oct 10 17:10:56.321 INFO kablam! 14 | use std::io::prelude::*; Oct 10 17:10:56.321 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.321 INFO kablam! Oct 10 17:10:56.322 INFO kablam! warning: unused import: `jsonsender::hyper::Body` Oct 10 17:10:56.322 INFO kablam! --> src/jsonsender.rs:16:5 Oct 10 17:10:56.322 INFO kablam! | Oct 10 17:10:56.323 INFO kablam! 16 | use jsonsender::hyper::Body; Oct 10 17:10:56.323 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.323 INFO kablam! Oct 10 17:10:56.324 INFO kablam! warning: unused import: `jsonsender::hyper::Chunk` Oct 10 17:10:56.324 INFO kablam! --> src/jsonsender.rs:17:5 Oct 10 17:10:56.324 INFO kablam! | Oct 10 17:10:56.325 INFO kablam! 17 | use jsonsender::hyper::Chunk; Oct 10 17:10:56.325 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.325 INFO kablam! Oct 10 17:10:56.326 INFO kablam! warning: unused import: `self` Oct 10 17:10:56.326 INFO kablam! --> src/jsonsender.rs:21:15 Oct 10 17:10:56.326 INFO kablam! | Oct 10 17:10:56.327 INFO kablam! 21 | use std::io::{self, Write}; Oct 10 17:10:56.327 INFO kablam! | ^^^^ Oct 10 17:10:56.327 INFO kablam! Oct 10 17:10:56.328 INFO kablam! warning: unused import: `self::hyper::client::Response` Oct 10 17:10:56.328 INFO kablam! --> src/jsonsender.rs:25:5 Oct 10 17:10:56.328 INFO kablam! | Oct 10 17:10:56.329 INFO kablam! 25 | use self::hyper::client::Response; Oct 10 17:10:56.329 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.329 INFO kablam! Oct 10 17:10:56.329 INFO kablam! warning: unused import: `self::hyper::header::Headers` Oct 10 17:10:56.330 INFO kablam! --> src/jsonsender.rs:26:5 Oct 10 17:10:56.330 INFO kablam! | Oct 10 17:10:56.330 INFO kablam! 26 | use self::hyper::header::Headers; Oct 10 17:10:56.331 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.331 INFO kablam! Oct 10 17:10:56.331 INFO kablam! warning: unused import: `self::url::Url` Oct 10 17:10:56.332 INFO kablam! --> src/jsonsender.rs:27:5 Oct 10 17:10:56.336 INFO kablam! | Oct 10 17:10:56.336 INFO kablam! 27 | use self::url::Url; Oct 10 17:10:56.337 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 17:10:56.337 INFO kablam! Oct 10 17:10:56.337 INFO kablam! warning: unused import: `self::hyper::Uri` Oct 10 17:10:56.338 INFO kablam! --> src/jsonsender.rs:29:5 Oct 10 17:10:56.338 INFO kablam! | Oct 10 17:10:56.338 INFO kablam! 29 | use self::hyper::Uri; Oct 10 17:10:56.338 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 10 17:10:56.339 INFO kablam! Oct 10 17:10:56.339 INFO kablam! warning: unused import: `Error` Oct 10 17:10:56.339 INFO kablam! --> src/jsonsender.rs:32:31 Oct 10 17:10:56.340 INFO kablam! | Oct 10 17:10:56.340 INFO kablam! 32 | use self::serde_json::{Value, Error}; Oct 10 17:10:56.340 INFO kablam! | ^^^^^ Oct 10 17:10:56.340 INFO kablam! Oct 10 17:10:56.425 INFO kablam! warning: unreachable statement Oct 10 17:10:56.425 INFO kablam! --> src/main.rs:72:9 Oct 10 17:10:56.425 INFO kablam! | Oct 10 17:10:56.426 INFO kablam! 72 | println!("Decided to give up... no more in the queue"); Oct 10 17:10:56.426 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.426 INFO kablam! | Oct 10 17:10:56.426 INFO kablam! = note: #[warn(unreachable_code)] on by default Oct 10 17:10:56.426 INFO kablam! = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) Oct 10 17:10:56.426 INFO kablam! Oct 10 17:10:56.568 INFO kablam! warning: variable does not need to be mutable Oct 10 17:10:56.568 INFO kablam! --> src/maildirqueue.rs:99:20 Oct 10 17:10:56.568 INFO kablam! | Oct 10 17:10:56.568 INFO kablam! 99 | if let Ok(mut entries) = fs::read_dir(new_path) { Oct 10 17:10:56.568 INFO kablam! | ----^^^^^^^ Oct 10 17:10:56.568 INFO kablam! | | Oct 10 17:10:56.568 INFO kablam! | help: remove this `mut` Oct 10 17:10:56.568 INFO kablam! | Oct 10 17:10:56.568 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 17:10:56.568 INFO kablam! Oct 10 17:10:56.576 INFO kablam! warning: static item is never used: `RES` Oct 10 17:10:56.576 INFO kablam! --> src/maildirqueue.rs:17:1 Oct 10 17:10:56.576 INFO kablam! | Oct 10 17:10:56.576 INFO kablam! 17 | static RES: &'static str = "res"; // using the queue for a request/response area, give the user a place to move responses. Oct 10 17:10:56.576 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.576 INFO kablam! | Oct 10 17:10:56.576 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 17:10:56.576 INFO kablam! Oct 10 17:10:56.576 INFO kablam! warning: method is never used: `push` Oct 10 17:10:56.576 INFO kablam! --> src/maildirqueue.rs:84:5 Oct 10 17:10:56.576 INFO kablam! | Oct 10 17:10:56.576 INFO kablam! 84 | pub fn push(&self, request_body:&str) -> bool { Oct 10 17:10:56.576 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.576 INFO kablam! Oct 10 17:10:56.576 INFO kablam! warning: method is never used: `res` Oct 10 17:10:56.576 INFO kablam! --> src/maildirqueue.rs:93:5 Oct 10 17:10:56.576 INFO kablam! | Oct 10 17:10:56.576 INFO kablam! 93 | pub fn res(&self, request_body:&str) -> bool { Oct 10 17:10:56.576 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.576 INFO kablam! Oct 10 17:10:56.576 INFO kablam! warning: method `moveFile` should have a snake case name such as `move_file` Oct 10 17:10:56.576 INFO kablam! --> src/maildirqueue.rs:70:5 Oct 10 17:10:56.576 INFO kablam! | Oct 10 17:10:56.576 INFO kablam! 70 | / fn moveFile(&self, request_body:&str, from:&str, to:&str, suffix:Option<&str>) -> bool { Oct 10 17:10:56.576 INFO kablam! 71 | | let filename = format!("{}", Uuid::new_v4()) + if let Some(suf) = suffix { suf } else { "" }; Oct 10 17:10:56.576 INFO kablam! 72 | | let tmp_path = self.base_dir.clone().as_str().to_owned() + "/" + from + "/" + filename.as_str(); Oct 10 17:10:56.576 INFO kablam! 73 | | let new_path = self.base_dir.clone().as_str().to_owned() + "/" + to + "/" + filename.as_str(); Oct 10 17:10:56.576 INFO kablam! ... | Oct 10 17:10:56.576 INFO kablam! 82 | | true Oct 10 17:10:56.576 INFO kablam! 83 | | } Oct 10 17:10:56.576 INFO kablam! | |_____^ Oct 10 17:10:56.576 INFO kablam! | Oct 10 17:10:56.576 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 10 17:10:56.576 INFO kablam! Oct 10 17:10:56.576 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:56.576 INFO kablam! --> src/maildirqueue.rs:75:13 Oct 10 17:10:56.576 INFO kablam! | Oct 10 17:10:56.576 INFO kablam! 75 | f.write_all(request_body.as_bytes()); Oct 10 17:10:56.576 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.576 INFO kablam! | Oct 10 17:10:56.576 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 17:10:56.576 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:56.576 INFO kablam! Oct 10 17:10:56.576 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:56.576 INFO kablam! --> src/maildirqueue.rs:77:13 Oct 10 17:10:56.576 INFO kablam! | Oct 10 17:10:56.576 INFO kablam! 77 | f.sync_data(); Oct 10 17:10:56.576 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:56.577 INFO kablam! Oct 10 17:10:56.577 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:56.577 INFO kablam! --> src/maildirqueue.rs:80:9 Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! 80 | fs::rename(Path::new(&tmp_path), Path::new(&new_path)); // Rename from tmp to new Oct 10 17:10:56.577 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:56.577 INFO kablam! Oct 10 17:10:56.577 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:56.577 INFO kablam! --> src/maildirqueue.rs:121:20 Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! 121 | fs::rename(entry.path(), Path::new(&cur_path)); // Rename from new to cur directory Oct 10 17:10:56.577 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:56.577 INFO kablam! Oct 10 17:10:56.577 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:56.577 INFO kablam! --> src/maildirqueue.rs:126:25 Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! 126 | buf_reader.read_to_string(&mut contents); Oct 10 17:10:56.577 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:56.577 INFO kablam! Oct 10 17:10:56.577 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:56.577 INFO kablam! --> src/maildirqueue.rs:128:29 Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! 128 | fs::remove_file(&cur_path); Oct 10 17:10:56.577 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:56.577 INFO kablam! Oct 10 17:10:56.577 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:56.577 INFO kablam! --> src/maildirqueue.rs:132:29 Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! 132 | fs::remove_file(&cur_path); Oct 10 17:10:56.577 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:56.577 INFO kablam! Oct 10 17:10:56.577 INFO kablam! warning: method `sendJson` should have a snake case name such as `send_json` Oct 10 17:10:56.577 INFO kablam! --> src/jsonsender.rs:45:5 Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! 45 | / pub fn sendJson(&self, jsonString:&str, res_path:&str) -> Result { Oct 10 17:10:56.577 INFO kablam! 46 | | Oct 10 17:10:56.577 INFO kablam! 47 | | let mut core = Core::new().unwrap(); Oct 10 17:10:56.577 INFO kablam! 48 | | let handle = core.handle(); Oct 10 17:10:56.577 INFO kablam! ... | Oct 10 17:10:56.577 INFO kablam! 101 | | return Err("Problem sending request"); Oct 10 17:10:56.577 INFO kablam! 102 | | } Oct 10 17:10:56.577 INFO kablam! | |_____^ Oct 10 17:10:56.577 INFO kablam! Oct 10 17:10:56.577 INFO kablam! warning: variable `jsonString` should have a snake case name such as `json_string` Oct 10 17:10:56.577 INFO kablam! --> src/jsonsender.rs:45:28 Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! 45 | pub fn sendJson(&self, jsonString:&str, res_path:&str) -> Result { Oct 10 17:10:56.577 INFO kablam! | ^^^^^^^^^^ Oct 10 17:10:56.577 INFO kablam! Oct 10 17:10:56.577 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:56.577 INFO kablam! --> src/jsonsender.rs:82:33 Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! 82 | f.write_all(&bodyiter); Oct 10 17:10:56.577 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:56.577 INFO kablam! Oct 10 17:10:56.577 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 17:10:56.577 INFO kablam! --> src/jsonsender.rs:83:33 Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! 83 | f.sync_data(); Oct 10 17:10:56.577 INFO kablam! | ^^^^^^^^^^^^^^ Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 17:10:56.577 INFO kablam! Oct 10 17:10:56.577 INFO kablam! warning: function `startServer` should have a snake case name such as `start_server` Oct 10 17:10:56.577 INFO kablam! --> src/main.rs:51:1 Oct 10 17:10:56.577 INFO kablam! | Oct 10 17:10:56.577 INFO kablam! 51 | / fn startServer(baseDir:&str) { Oct 10 17:10:56.577 INFO kablam! 52 | | let sender = Box::new(JsonSender::new()); Oct 10 17:10:56.577 INFO kablam! 53 | | let mail_dir_que = Box::new(MaildirQueue::new(baseDir.to_string())); Oct 10 17:10:56.577 INFO kablam! 54 | | if let Some(ref mail_dir_que) = mail_dir_que.init() { Oct 10 17:10:56.577 INFO kablam! ... | Oct 10 17:10:56.577 INFO kablam! 73 | | } Oct 10 17:10:56.577 INFO kablam! 74 | | } Oct 10 17:10:56.577 INFO kablam! | |_^ Oct 10 17:10:56.577 INFO kablam! Oct 10 17:10:56.577 INFO kablam! warning: variable `baseDir` should have a snake case name such as `base_dir` Oct 10 17:10:56.577 INFO kablam! --> src/main.rs:51:16 Oct 10 17:10:56.578 INFO kablam! | Oct 10 17:10:56.578 INFO kablam! 51 | fn startServer(baseDir:&str) { Oct 10 17:10:56.578 INFO kablam! | ^^^^^^^ Oct 10 17:10:56.578 INFO kablam! Oct 10 17:10:57.216 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 3.88s Oct 10 17:10:57.227 INFO kablam! su: No module specific data is present Oct 10 17:10:58.088 INFO running `"docker" "rm" "-f" "e6f92bae8e72c27d61392ccaeb604acb9f5b42b3d9e514156b3dbe353ac06d50"` Oct 10 17:10:58.404 INFO blam! e6f92bae8e72c27d61392ccaeb604acb9f5b42b3d9e514156b3dbe353ac06d50 Oct 10 17:10:58.408 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen Oct 10 17:10:58.408 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 10 17:10:58.770 INFO blam! c68b7b7600563cdf1ced1cdbb180043d94792e41ed39f7b11ee4dc58a1292f96 Oct 10 17:10:58.780 INFO running `"docker" "start" "-a" "c68b7b7600563cdf1ced1cdbb180043d94792e41ed39f7b11ee4dc58a1292f96"` Oct 10 17:11:00.116 INFO kablam! usermod: no changes Oct 10 17:11:00.276 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.13s Oct 10 17:11:00.292 INFO kablam! Running /target/debug/deps/optimizelyd_maildir-a2b2e6fad30bafed Oct 10 17:11:00.296 INFO blam! Oct 10 17:11:00.296 INFO blam! running 0 tests Oct 10 17:11:00.296 INFO blam! Oct 10 17:11:00.296 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 10 17:11:00.296 INFO blam! Oct 10 17:11:00.298 INFO kablam! su: No module specific data is present Oct 10 17:11:00.893 INFO running `"docker" "rm" "-f" "c68b7b7600563cdf1ced1cdbb180043d94792e41ed39f7b11ee4dc58a1292f96"` Oct 10 17:11:01.150 INFO blam! c68b7b7600563cdf1ced1cdbb180043d94792e41ed39f7b11ee4dc58a1292f96