Oct 13 03:58:41.032 INFO checking KonishchevDmitry/investment-analyzer against try#4021bd0b3c5815b087d6db10ce461e7e4854ade7 for pr-54977 Oct 13 03:58:41.033 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-0/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/pr-54977/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +4021bd0b3c5815b087d6db10ce461e7e4854ade7-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 13 03:58:41.542 INFO blam! 0239831c658a94d5f8d249c1aaec6289d901983b2f126881b4184bbf867e2d9c Oct 13 03:58:41.543 INFO running `"docker" "start" "-a" "0239831c658a94d5f8d249c1aaec6289d901983b2f126881b4184bbf867e2d9c"` Oct 13 03:58:43.376 INFO kablam! usermod: no changes Oct 13 03:58:43.901 INFO kablam! Compiling unindent v0.1.3 Oct 13 03:58:43.945 INFO kablam! Checking want v0.0.6 Oct 13 03:58:43.946 INFO kablam! Checking fern v0.5.6 Oct 13 03:58:43.946 INFO kablam! Compiling num-traits v0.2.6 Oct 13 03:58:43.946 INFO kablam! Checking num-integer v0.1.39 Oct 13 03:58:43.947 INFO kablam! Checking num-complex v0.2.1 Oct 13 03:58:43.947 INFO kablam! Compiling libsqlite3-sys v0.9.3 Oct 13 03:58:43.947 INFO kablam! Checking serde-xml-rs v0.2.1 Oct 13 03:58:48.565 INFO kablam! Checking h2 v0.1.12 Oct 13 03:58:48.628 INFO kablam! Compiling indoc-impl v0.2.8 Oct 13 03:58:49.340 INFO kablam! Checking mockito v0.13.0 Oct 13 03:58:50.468 INFO kablam! Checking num-bigint v0.2.0 Oct 13 03:58:50.604 INFO kablam! Checking chrono v0.4.6 Oct 13 03:58:53.868 INFO kablam! Checking num-iter v0.1.37 Oct 13 03:59:02.549 INFO kablam! Checking num-rational v0.2.1 Oct 13 03:59:03.284 INFO kablam! Checking diesel v1.3.3 Oct 13 03:59:03.284 INFO kablam! Checking easy-logging v0.1.0 Oct 13 03:59:04.412 INFO kablam! Checking indoc v0.2.8 Oct 13 03:59:05.669 INFO kablam! Checking num v0.2.0 Oct 13 03:59:06.194 INFO kablam! Checking hyper v0.12.11 Oct 13 03:59:07.618 INFO kablam! Checking rust_decimal v0.10.1 Oct 13 03:59:23.018 INFO kablam! Checking hyper-tls v0.3.1 Oct 13 03:59:27.068 INFO kablam! Checking reqwest v0.9.2 Oct 13 03:59:48.904 INFO kablam! Checking migrations_internals v1.3.0 Oct 13 03:59:57.444 INFO kablam! Compiling migrations_macros v1.3.0 Oct 13 04:00:01.724 INFO kablam! Checking diesel_migrations v1.3.0 Oct 13 04:00:02.341 INFO kablam! Checking investment-analyzer v0.1.0 (/source) Oct 13 04:00:09.496 INFO kablam! warning: unused macro definition Oct 13 04:00:09.496 INFO kablam! --> src/types.rs:4:1 Oct 13 04:00:09.496 INFO kablam! | Oct 13 04:00:09.496 INFO kablam! 4 | / macro_rules! decs { Oct 13 04:00:09.496 INFO kablam! 5 | | ($value:expr) => {{ Oct 13 04:00:09.496 INFO kablam! 6 | | use ::std::str::FromStr; Oct 13 04:00:09.496 INFO kablam! 7 | | ::rust_decimal::Decimal::from_str($value).unwrap() Oct 13 04:00:09.496 INFO kablam! 8 | | }} Oct 13 04:00:09.496 INFO kablam! 9 | | } Oct 13 04:00:09.496 INFO kablam! | |_^ Oct 13 04:00:09.496 INFO kablam! | Oct 13 04:00:09.496 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 13 04:00:09.496 INFO kablam! Oct 13 04:00:09.496 INFO kablam! warning: unused macro definition Oct 13 04:00:09.496 INFO kablam! --> src/types.rs:15:1 Oct 13 04:00:09.496 INFO kablam! | Oct 13 04:00:09.496 INFO kablam! 15 | / macro_rules! date { Oct 13 04:00:09.496 INFO kablam! 16 | | ($day:expr, $month:expr, $year:expr) => (::chrono::NaiveDate::from_ymd($year, $month, $day)) Oct 13 04:00:09.496 INFO kablam! 17 | | } Oct 13 04:00:09.496 INFO kablam! | |_^ Oct 13 04:00:09.496 INFO kablam! Oct 13 04:00:09.496 INFO kablam! warning: unused import: `CurrencyConverterBackend` Oct 13 04:00:09.496 INFO kablam! --> src/analyse/profit.rs:3:46 Oct 13 04:00:09.496 INFO kablam! | Oct 13 04:00:09.496 INFO kablam! 3 | use currency::converter::{CurrencyConverter, CurrencyConverterBackend}; Oct 13 04:00:09.496 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:00:09.496 INFO kablam! Oct 13 04:00:09.496 INFO kablam! warning: unused import: `Date` Oct 13 04:00:09.496 INFO kablam! --> src/analyse/profit.rs:4:13 Oct 13 04:00:09.496 INFO kablam! | Oct 13 04:00:09.496 INFO kablam! 4 | use types::{Date, Decimal}; Oct 13 04:00:09.496 INFO kablam! | ^^^^ Oct 13 04:00:09.496 INFO kablam! Oct 13 04:00:10.236 INFO kablam! warning: function is never used: `connect` Oct 13 04:00:10.236 INFO kablam! --> src/db/mod.rs:12:1 Oct 13 04:00:10.236 INFO kablam! | Oct 13 04:00:10.236 INFO kablam! 12 | pub fn connect(url: &str) -> GenericResult { Oct 13 04:00:10.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:00:10.236 INFO kablam! | Oct 13 04:00:10.236 INFO kablam! = note: #[warn(dead_code)] on by default Oct 13 04:00:10.236 INFO kablam! Oct 13 04:00:10.236 INFO kablam! warning: method is never used: `new` Oct 13 04:00:10.236 INFO kablam! --> src/currency/rate_cache.rs:18:5 Oct 13 04:00:10.236 INFO kablam! | Oct 13 04:00:10.236 INFO kablam! 18 | pub fn new(connection: db::Connection) -> CurrencyRateCache { Oct 13 04:00:10.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:00:10.236 INFO kablam! Oct 13 04:00:10.236 INFO kablam! warning: struct is never constructed: `CurrencyConverter` Oct 13 04:00:10.236 INFO kablam! --> src/currency/converter.rs:8:1 Oct 13 04:00:10.236 INFO kablam! | Oct 13 04:00:10.236 INFO kablam! 8 | pub struct CurrencyConverter { Oct 13 04:00:10.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:00:10.236 INFO kablam! Oct 13 04:00:10.236 INFO kablam! warning: method is never used: `new` Oct 13 04:00:10.236 INFO kablam! --> src/currency/converter.rs:13:5 Oct 13 04:00:10.236 INFO kablam! | Oct 13 04:00:10.236 INFO kablam! 13 | pub fn new(source: Box) -> CurrencyConverter { Oct 13 04:00:10.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:00:10.236 INFO kablam! Oct 13 04:00:10.236 INFO kablam! warning: method is never used: `convert_to` Oct 13 04:00:10.236 INFO kablam! --> src/currency/converter.rs:17:5 Oct 13 04:00:10.236 INFO kablam! | Oct 13 04:00:10.236 INFO kablam! 17 | pub fn convert_to(&self, date: Date, cash: Cash, to: &str) -> GenericResult { Oct 13 04:00:10.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:00:10.236 INFO kablam! Oct 13 04:00:10.236 INFO kablam! warning: method is never used: `convert` Oct 13 04:00:10.237 INFO kablam! --> src/currency/converter.rs:21:5 Oct 13 04:00:10.237 INFO kablam! | Oct 13 04:00:10.237 INFO kablam! 21 | fn convert(&self, from: &str, to: &str, date: Date, amount: Decimal) -> GenericResult { Oct 13 04:00:10.237 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:00:10.237 INFO kablam! Oct 13 04:00:10.237 INFO kablam! warning: method is never used: `new` Oct 13 04:00:10.237 INFO kablam! --> src/currency/converter.rs:35:5 Oct 13 04:00:10.237 INFO kablam! | Oct 13 04:00:10.237 INFO kablam! 35 | pub fn new(rate_cache: CurrencyRateCache) -> Box { Oct 13 04:00:10.237 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:00:10.237 INFO kablam! Oct 13 04:00:10.237 INFO kablam! warning: method is never used: `new` Oct 13 04:00:10.237 INFO kablam! --> src/currency/mod.rs:39:5 Oct 13 04:00:10.237 INFO kablam! | Oct 13 04:00:10.237 INFO kablam! 39 | pub fn new(date: Date, currency: &str, amount: Decimal) -> CacheAssets { Oct 13 04:00:10.237 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:00:10.237 INFO kablam! Oct 13 04:00:10.237 INFO kablam! warning: function is never used: `get_average_profit` Oct 13 04:00:10.237 INFO kablam! --> src/analyse/profit.rs:11:1 Oct 13 04:00:10.237 INFO kablam! | Oct 13 04:00:10.237 INFO kablam! 11 | / pub fn get_average_profit( Oct 13 04:00:10.237 INFO kablam! 12 | | deposits: &Vec, current_assets: CacheAssets, currency: &str, Oct 13 04:00:10.237 INFO kablam! 13 | | converter: &CurrencyConverter Oct 13 04:00:10.237 INFO kablam! 14 | | ) -> GenericResult { Oct 13 04:00:10.237 INFO kablam! ... | Oct 13 04:00:10.237 INFO kablam! 63 | | Ok(interest) Oct 13 04:00:10.237 INFO kablam! 64 | | } Oct 13 04:00:10.237 INFO kablam! | |_^ Oct 13 04:00:10.237 INFO kablam! Oct 13 04:00:11.346 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1m 27s Oct 13 04:00:11.364 INFO kablam! su: No module specific data is present Oct 13 04:00:11.646 INFO running `"docker" "rm" "-f" "0239831c658a94d5f8d249c1aaec6289d901983b2f126881b4184bbf867e2d9c"` Oct 13 04:00:11.817 INFO blam! 0239831c658a94d5f8d249c1aaec6289d901983b2f126881b4184bbf867e2d9c