Oct 11 05:56:29.620 INFO testing KonishchevDmitry/investment-analyzer against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling Oct 11 05:56:29.620 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen Oct 11 05:56:29.620 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-3/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-3/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 11 05:56:30.082 INFO blam! 99d75951a2f6de624302d8a2d9b59ebd45f71154d714f04db740c1db053eec08 Oct 11 05:56:30.084 INFO running `"docker" "start" "-a" "99d75951a2f6de624302d8a2d9b59ebd45f71154d714f04db740c1db053eec08"` Oct 11 05:56:32.140 INFO kablam! usermod: no changes Oct 11 05:56:32.677 INFO kablam! Compiling num-traits v0.2.6 Oct 11 05:56:32.685 INFO kablam! Compiling tempfile v3.0.4 Oct 11 05:56:32.685 INFO kablam! Compiling tokio-io v0.1.9 Oct 11 05:56:32.685 INFO kablam! Compiling http v0.1.13 Oct 11 05:56:32.685 INFO kablam! Compiling libsqlite3-sys v0.9.3 Oct 11 05:56:32.685 INFO kablam! Compiling serde-xml-rs v0.2.1 Oct 11 05:56:32.690 INFO kablam! Compiling indoc-impl v0.2.8 Oct 11 05:56:32.690 INFO kablam! Compiling mockito v0.13.0 Oct 11 05:56:46.018 INFO kablam! Compiling tokio-codec v0.1.1 Oct 11 05:56:46.018 INFO kablam! Compiling tokio-reactor v0.1.6 Oct 11 05:56:46.018 INFO kablam! Compiling tokio-fs v0.1.3 Oct 11 05:56:50.355 INFO kablam! Compiling num-integer v0.1.39 Oct 11 05:56:50.523 INFO kablam! Compiling num-complex v0.2.1 Oct 11 05:56:55.723 INFO kablam! Compiling chrono v0.4.6 Oct 11 05:56:55.748 INFO kablam! Compiling num-bigint v0.2.0 Oct 11 05:56:56.457 INFO kablam! Compiling num-iter v0.1.37 Oct 11 05:57:00.469 INFO kablam! Compiling indoc v0.2.8 Oct 11 05:57:03.380 INFO kablam! Compiling tokio-udp v0.1.2 Oct 11 05:57:03.478 INFO kablam! Compiling tokio-tcp v0.1.2 Oct 11 05:57:03.492 INFO kablam! Compiling tokio-uds v0.2.2 Oct 11 05:57:06.352 INFO kablam! Compiling h2 v0.1.12 Oct 11 05:57:09.588 INFO kablam! Compiling num-rational v0.2.1 Oct 11 05:57:09.694 INFO kablam! Compiling diesel v1.3.3 Oct 11 05:57:09.695 INFO kablam! Compiling easy-logging v0.1.0 Oct 11 05:57:16.553 INFO kablam! Compiling num v0.2.0 Oct 11 05:57:16.971 INFO kablam! Compiling tokio v0.1.11 Oct 11 05:57:18.468 INFO kablam! Compiling rust_decimal v0.10.1 Oct 11 05:57:23.944 INFO kablam! Compiling hyper v0.12.11 Oct 11 05:57:34.285 INFO kablam! Compiling hyper-tls v0.3.1 Oct 11 05:57:40.556 INFO kablam! Compiling reqwest v0.9.2 Oct 11 05:57:52.156 INFO kablam! Compiling migrations_internals v1.3.0 Oct 11 05:57:58.456 INFO kablam! Compiling migrations_macros v1.3.0 Oct 11 05:58:04.051 INFO kablam! Compiling diesel_migrations v1.3.0 Oct 11 05:58:05.250 INFO kablam! Compiling investment-analyzer v0.1.0 (/source) Oct 11 05:58:13.288 INFO kablam! warning: unused macro definition Oct 11 05:58:13.289 INFO kablam! --> src/types.rs:4:1 Oct 11 05:58:13.289 INFO kablam! | Oct 11 05:58:13.289 INFO kablam! 4 | / macro_rules! decs { Oct 11 05:58:13.289 INFO kablam! 5 | | ($value:expr) => {{ Oct 11 05:58:13.289 INFO kablam! 6 | | use ::std::str::FromStr; Oct 11 05:58:13.289 INFO kablam! 7 | | ::rust_decimal::Decimal::from_str($value).unwrap() Oct 11 05:58:13.289 INFO kablam! 8 | | }} Oct 11 05:58:13.289 INFO kablam! 9 | | } Oct 11 05:58:13.289 INFO kablam! | |_^ Oct 11 05:58:13.289 INFO kablam! | Oct 11 05:58:13.289 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 11 05:58:13.290 INFO kablam! Oct 11 05:58:13.290 INFO kablam! warning: unused macro definition Oct 11 05:58:13.290 INFO kablam! --> src/types.rs:11:1 Oct 11 05:58:13.290 INFO kablam! | Oct 11 05:58:13.290 INFO kablam! 11 | / macro_rules! deci { Oct 11 05:58:13.290 INFO kablam! 12 | | ($value:expr) => (::rust_decimal::Decimal::from($value)) Oct 11 05:58:13.290 INFO kablam! 13 | | } Oct 11 05:58:13.290 INFO kablam! | |_^ Oct 11 05:58:13.290 INFO kablam! Oct 11 05:58:13.290 INFO kablam! warning: unused macro definition Oct 11 05:58:13.290 INFO kablam! --> src/types.rs:15:1 Oct 11 05:58:13.290 INFO kablam! | Oct 11 05:58:13.290 INFO kablam! 15 | / macro_rules! date { Oct 11 05:58:13.290 INFO kablam! 16 | | ($day:expr, $month:expr, $year:expr) => (::chrono::NaiveDate::from_ymd($year, $month, $day)) Oct 11 05:58:13.290 INFO kablam! 17 | | } Oct 11 05:58:13.290 INFO kablam! | |_^ Oct 11 05:58:13.290 INFO kablam! Oct 11 05:58:13.950 INFO kablam! warning: function is never used: `connect` Oct 11 05:58:13.950 INFO kablam! --> src/db/mod.rs:12:1 Oct 11 05:58:13.950 INFO kablam! | Oct 11 05:58:13.950 INFO kablam! 12 | pub fn connect(url: &str) -> GenericResult { Oct 11 05:58:13.950 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.950 INFO kablam! | Oct 11 05:58:13.950 INFO kablam! = note: #[warn(dead_code)] on by default Oct 11 05:58:13.950 INFO kablam! Oct 11 05:58:13.950 INFO kablam! warning: constant item is never used: `CBR_URL` Oct 11 05:58:13.950 INFO kablam! --> src/currency/cbr.rs:13:1 Oct 11 05:58:13.950 INFO kablam! | Oct 11 05:58:13.950 INFO kablam! 13 | const CBR_URL: &'static str = "http://www.cbr.ru"; Oct 11 05:58:13.950 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.950 INFO kablam! Oct 11 05:58:13.950 INFO kablam! warning: function is never used: `get_rates` Oct 11 05:58:13.950 INFO kablam! --> src/currency/cbr.rs:18:1 Oct 11 05:58:13.950 INFO kablam! | Oct 11 05:58:13.950 INFO kablam! 18 | pub fn get_rates(currency: &str, start_date: Date, end_date: Date) -> GenericResult> { Oct 11 05:58:13.950 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.950 INFO kablam! Oct 11 05:58:13.950 INFO kablam! warning: function is never used: `parse_rates` Oct 11 05:58:13.950 INFO kablam! --> src/currency/cbr.rs:53:1 Oct 11 05:58:13.950 INFO kablam! | Oct 11 05:58:13.950 INFO kablam! 53 | fn parse_rates(start_date: Date, end_date: Date, data: &str) -> GenericResult> { Oct 11 05:58:13.950 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.950 INFO kablam! Oct 11 05:58:13.950 INFO kablam! warning: struct is never constructed: `CurrencyConverter` Oct 11 05:58:13.950 INFO kablam! --> src/currency/converter.rs:11:1 Oct 11 05:58:13.950 INFO kablam! | Oct 11 05:58:13.950 INFO kablam! 11 | pub struct CurrencyConverter { Oct 11 05:58:13.950 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.950 INFO kablam! Oct 11 05:58:13.950 INFO kablam! warning: method is never used: `new` Oct 11 05:58:13.950 INFO kablam! --> src/currency/converter.rs:17:5 Oct 11 05:58:13.951 INFO kablam! | Oct 11 05:58:13.951 INFO kablam! 17 | pub fn new(base_currency: &str, rate_cache: CurrencyRateCache) -> CurrencyConverter { Oct 11 05:58:13.951 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.951 INFO kablam! Oct 11 05:58:13.951 INFO kablam! warning: method is never used: `convert` Oct 11 05:58:13.951 INFO kablam! --> src/currency/converter.rs:24:5 Oct 11 05:58:13.951 INFO kablam! | Oct 11 05:58:13.951 INFO kablam! 24 | fn convert(&self, from: &str, to: &str, date: Date, amount: Decimal) -> GenericResult { Oct 11 05:58:13.951 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.951 INFO kablam! Oct 11 05:58:13.951 INFO kablam! warning: method is never used: `get_price` Oct 11 05:58:13.951 INFO kablam! --> src/currency/converter.rs:68:5 Oct 11 05:58:13.951 INFO kablam! | Oct 11 05:58:13.951 INFO kablam! 68 | fn get_price(&self, currency: &str, date: Date, from_cache_only: bool) -> GenericResult> { Oct 11 05:58:13.951 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.951 INFO kablam! Oct 11 05:58:13.951 INFO kablam! warning: function is never used: `get_currency_rates` Oct 11 05:58:13.951 INFO kablam! --> src/currency/converter.rs:92:1 Oct 11 05:58:13.951 INFO kablam! | Oct 11 05:58:13.951 INFO kablam! 92 | fn get_currency_rates(currency: &str, start_date: Date, end_date: Date) -> GenericResult> { Oct 11 05:58:13.951 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.951 INFO kablam! Oct 11 05:58:13.952 INFO kablam! warning: struct is never constructed: `CurrencyRateCache` Oct 11 05:58:13.952 INFO kablam! --> src/currency/rate_cache.rs:12:1 Oct 11 05:58:13.952 INFO kablam! | Oct 11 05:58:13.952 INFO kablam! 12 | pub struct CurrencyRateCache { Oct 11 05:58:13.952 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.952 INFO kablam! Oct 11 05:58:13.952 INFO kablam! warning: method is never used: `new` Oct 11 05:58:13.952 INFO kablam! --> src/currency/rate_cache.rs:18:5 Oct 11 05:58:13.952 INFO kablam! | Oct 11 05:58:13.952 INFO kablam! 18 | pub fn new(connection: db::Connection) -> CurrencyRateCache { Oct 11 05:58:13.952 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.952 INFO kablam! Oct 11 05:58:13.952 INFO kablam! warning: method is never used: `today` Oct 11 05:58:13.952 INFO kablam! --> src/currency/rate_cache.rs:34:5 Oct 11 05:58:13.952 INFO kablam! | Oct 11 05:58:13.952 INFO kablam! 34 | pub fn today(&self) -> Date { Oct 11 05:58:13.953 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.953 INFO kablam! Oct 11 05:58:13.953 INFO kablam! warning: method is never used: `get` Oct 11 05:58:13.953 INFO kablam! --> src/currency/rate_cache.rs:38:5 Oct 11 05:58:13.953 INFO kablam! | Oct 11 05:58:13.953 INFO kablam! 38 | pub fn get(&self, currency: &str, date: Date) -> GenericResult { Oct 11 05:58:13.953 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.953 INFO kablam! Oct 11 05:58:13.953 INFO kablam! warning: method is never used: `save` Oct 11 05:58:13.953 INFO kablam! --> src/currency/rate_cache.rs:88:5 Oct 11 05:58:13.953 INFO kablam! | Oct 11 05:58:13.953 INFO kablam! 88 | pub fn save(&self, currency: &str, start_date: Date, end_date: Date, mut rates: Vec) -> EmptyResult { Oct 11 05:58:13.953 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.953 INFO kablam! Oct 11 05:58:13.953 INFO kablam! warning: enum is never used: `CurrencyRateCacheResult` Oct 11 05:58:13.953 INFO kablam! --> src/currency/rate_cache.rs:140:1 Oct 11 05:58:13.953 INFO kablam! | Oct 11 05:58:13.953 INFO kablam! 140 | pub enum CurrencyRateCacheResult { Oct 11 05:58:13.953 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:13.953 INFO kablam! Oct 11 05:58:18.008 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1m 45s Oct 11 05:58:18.034 INFO kablam! su: No module specific data is present Oct 11 05:58:18.593 INFO running `"docker" "rm" "-f" "99d75951a2f6de624302d8a2d9b59ebd45f71154d714f04db740c1db053eec08"` Oct 11 05:58:18.872 INFO blam! 99d75951a2f6de624302d8a2d9b59ebd45f71154d714f04db740c1db053eec08 Oct 11 05:58:18.882 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run Oct 11 05:58:18.884 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-3/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-3/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 11 05:58:19.317 INFO blam! 8cf6b57da543632d8d89dc4151cc70ffada56e75c82e02304f5f8af0d01be685 Oct 11 05:58:19.322 INFO running `"docker" "start" "-a" "8cf6b57da543632d8d89dc4151cc70ffada56e75c82e02304f5f8af0d01be685"` Oct 11 05:58:19.671 INFO kablam! usermod: no changes Oct 11 05:58:19.904 INFO kablam! Compiling investment-analyzer v0.1.0 (/source) Oct 11 05:58:28.736 INFO kablam! warning: unused import: `std::str::FromStr` Oct 11 05:58:28.736 INFO kablam! --> src/currency/converter.rs:1:18 Oct 11 05:58:28.736 INFO kablam! | Oct 11 05:58:28.736 INFO kablam! 1 | #[cfg(test)] use std::str::FromStr; Oct 11 05:58:28.736 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 11 05:58:28.736 INFO kablam! Oct 11 05:58:28.944 INFO kablam! warning: field is never used: `base_currency` Oct 11 05:58:28.944 INFO kablam! --> src/currency/converter.rs:12:5 Oct 11 05:58:28.944 INFO kablam! | Oct 11 05:58:28.944 INFO kablam! 12 | base_currency: &'static str, Oct 11 05:58:28.944 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 05:58:28.944 INFO kablam! | Oct 11 05:58:28.944 INFO kablam! = note: #[warn(dead_code)] on by default Oct 11 05:58:28.944 INFO kablam! Oct 11 05:58:35.000 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 15.31s Oct 11 05:58:35.021 INFO kablam! su: No module specific data is present Oct 11 05:58:35.293 INFO running `"docker" "rm" "-f" "8cf6b57da543632d8d89dc4151cc70ffada56e75c82e02304f5f8af0d01be685"` Oct 11 05:58:35.379 INFO blam! 8cf6b57da543632d8d89dc4151cc70ffada56e75c82e02304f5f8af0d01be685 Oct 11 05:58:35.382 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen Oct 11 05:58:35.382 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-3/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-3/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 11 05:58:35.624 INFO blam! 2e84ec20baa18181530cb7f162a98453b92dc10c40ea248a2a9ea7a2e449e719 Oct 11 05:58:35.626 INFO running `"docker" "start" "-a" "2e84ec20baa18181530cb7f162a98453b92dc10c40ea248a2a9ea7a2e449e719"` Oct 11 05:58:36.298 INFO kablam! usermod: no changes Oct 11 05:58:36.519 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.20s Oct 11 05:58:36.529 INFO kablam! Running /target/debug/deps/investment_analyzer-67ed2b5bbf9656ce Oct 11 05:58:36.532 INFO blam! Oct 11 05:58:36.532 INFO blam! running 7 tests Oct 11 05:58:36.533 INFO blam! test broker_statement::ib::tests::transaction_date_parsing ... ok Oct 11 05:58:36.533 INFO blam! test broker_statement::ib::tests::period_parsing ... ok Oct 11 05:58:36.537 INFO blam! test currency::name_cache::tests::name_cache ... ok Oct 11 05:58:36.564 INFO blam! test currency::cbr::tests::rates ... ok Oct 11 05:58:36.573 INFO blam! test currency::cbr::tests::empty_rates ... ok Oct 11 05:58:36.589 INFO blam! test currency::rate_cache::tests::rate_cache ... ok Oct 11 05:58:36.597 INFO blam! test currency::converter::tests::convert ... ok Oct 11 05:58:36.597 INFO blam! Oct 11 05:58:36.597 INFO blam! test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 11 05:58:36.597 INFO blam! Oct 11 05:58:36.600 INFO kablam! su: No module specific data is present Oct 11 05:58:36.929 INFO running `"docker" "rm" "-f" "2e84ec20baa18181530cb7f162a98453b92dc10c40ea248a2a9ea7a2e449e719"` Oct 11 05:58:37.054 INFO blam! 2e84ec20baa18181530cb7f162a98453b92dc10c40ea248a2a9ea7a2e449e719