[INFO] updating cached repository https://github.com/mhurd/rust-finance [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9cef546983399dfe8b70b5143d80fdd822a9fe72 [INFO] testing mhurd/rust-finance against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhurd%2Frust-finance" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mhurd/rust-finance on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mhurd/rust-finance [INFO] finished tweaking git repo https://github.com/mhurd/rust-finance [INFO] tweaked toml for git repo https://github.com/mhurd/rust-finance written to work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mhurd/rust-finance already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 3118cec83b7bf64d726c352b78bd641e750d14e427c92ab2e0b26c547d0974c6 [INFO] running `"docker" "start" "-a" "3118cec83b7bf64d726c352b78bd641e750d14e427c92ab2e0b26c547d0974c6"` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling leg v0.1.3 [INFO] [stderr] Compiling rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: function is never used: `cash_flow_present_value_discrete` [INFO] [stderr] --> src/lib.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | / fn cash_flow_present_value_discrete( [INFO] [stderr] 4 | | cash_flow_times: &Vec, [INFO] [stderr] 5 | | cash_flow_amounts: &Vec, [INFO] [stderr] 6 | | market_rate: f64, [INFO] [stderr] ... | [INFO] [stderr] 13 | | present_value [INFO] [stderr] 14 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `cash_flow_present_value_continuous` [INFO] [stderr] --> src/lib.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | / fn cash_flow_present_value_continuous( [INFO] [stderr] 17 | | cash_flow_times: &Vec, [INFO] [stderr] 18 | | cash_flow_amounts: &Vec, [INFO] [stderr] 19 | | market_rate: f64, [INFO] [stderr] ... | [INFO] [stderr] 26 | | present_value [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fill` [INFO] [stderr] --> src/lib.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | fn fill(size: usize, item: T) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `bond_price_discrete` [INFO] [stderr] --> src/lib.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | / fn bond_price_discrete( [INFO] [stderr] 38 | | cash_flow_times: &Vec, [INFO] [stderr] 39 | | coupon: f64, [INFO] [stderr] 40 | | principal: f64, [INFO] [stderr] ... | [INFO] [stderr] 50 | | present_value [INFO] [stderr] 51 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `bond_price_continuous` [INFO] [stderr] --> src/lib.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | / fn bond_price_continuous( [INFO] [stderr] 54 | | cash_flow_times: &Vec, [INFO] [stderr] 55 | | coupon: f64, [INFO] [stderr] 56 | | principal: f64, [INFO] [stderr] ... | [INFO] [stderr] 66 | | present_value [INFO] [stderr] 67 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.74s [INFO] running `"docker" "inspect" "3118cec83b7bf64d726c352b78bd641e750d14e427c92ab2e0b26c547d0974c6"` [INFO] running `"docker" "rm" "-f" "3118cec83b7bf64d726c352b78bd641e750d14e427c92ab2e0b26c547d0974c6"` [INFO] [stdout] 3118cec83b7bf64d726c352b78bd641e750d14e427c92ab2e0b26c547d0974c6 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 3c11c1e54fe15442172cf344104273f4c5301189078610cd1f9f61eaa5816c09 [INFO] running `"docker" "start" "-a" "3c11c1e54fe15442172cf344104273f4c5301189078610cd1f9f61eaa5816c09"` [INFO] [stderr] Compiling rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `"docker" "inspect" "3c11c1e54fe15442172cf344104273f4c5301189078610cd1f9f61eaa5816c09"` [INFO] running `"docker" "rm" "-f" "3c11c1e54fe15442172cf344104273f4c5301189078610cd1f9f61eaa5816c09"` [INFO] [stdout] 3c11c1e54fe15442172cf344104273f4c5301189078610cd1f9f61eaa5816c09 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen"` [INFO] [stdout] beb2e28e263a619bf871e2baa2a212c0918e032c6f56e871fc540a732d8c2471 [INFO] running `"docker" "start" "-a" "beb2e28e263a619bf871e2baa2a212c0918e032c6f56e871fc540a732d8c2471"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust-ec3c956188948507 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test financial::tests::check_bond_price_discrete ... ok [INFO] [stdout] test financial::tests::check_cash_flow_present_value_discrete ... ok [INFO] [stdout] test financial::tests::check_cash_flow_present_value_continuous ... ok [INFO] [stdout] test financial::tests::check_bond_price_continuous ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust-16308a4ab30feded [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests rust [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "beb2e28e263a619bf871e2baa2a212c0918e032c6f56e871fc540a732d8c2471"` [INFO] running `"docker" "rm" "-f" "beb2e28e263a619bf871e2baa2a212c0918e032c6f56e871fc540a732d8c2471"` [INFO] [stdout] beb2e28e263a619bf871e2baa2a212c0918e032c6f56e871fc540a732d8c2471