[INFO] cloning repository https://github.com/jmarinfi/quant_finance
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmarinfi/quant_finance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmarinfi%2Fquant_finance", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmarinfi%2Fquant_finance'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ea0d36ab331862d164fa9bd70bff04535fd39b88
[INFO] testing jmarinfi/quant_finance against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmarinfi%2Fquant_finance" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jmarinfi/quant_finance
[INFO] finished tweaking git repo https://github.com/jmarinfi/quant_finance
[INFO] tweaked toml for git repo https://github.com/jmarinfi/quant_finance written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jmarinfi/quant_finance on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jmarinfi/quant_finance already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d200cc3b101279dd9961b53d1a5cbb6b231bbb1e9251a6ac9dd6160bbaa89ba
[INFO] running `Command { std: "docker" "start" "-a" "3d200cc3b101279dd9961b53d1a5cbb6b231bbb1e9251a6ac9dd6160bbaa89ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d200cc3b101279dd9961b53d1a5cbb6b231bbb1e9251a6ac9dd6160bbaa89ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d200cc3b101279dd9961b53d1a5cbb6b231bbb1e9251a6ac9dd6160bbaa89ba", kill_on_drop: false }`
[INFO] [stdout] 3d200cc3b101279dd9961b53d1a5cbb6b231bbb1e9251a6ac9dd6160bbaa89ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 74c904eef4efe86e1c49654681aa3d3a180e50e9c2ce9159fbe6ba7fe49f1ac5
[INFO] running `Command { std: "docker" "start" "-a" "74c904eef4efe86e1c49654681aa3d3a180e50e9c2ce9159fbe6ba7fe49f1ac5", kill_on_drop: false }`
[INFO] [stderr]    Compiling quant_finance v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "74c904eef4efe86e1c49654681aa3d3a180e50e9c2ce9159fbe6ba7fe49f1ac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74c904eef4efe86e1c49654681aa3d3a180e50e9c2ce9159fbe6ba7fe49f1ac5", kill_on_drop: false }`
[INFO] [stdout] 74c904eef4efe86e1c49654681aa3d3a180e50e9c2ce9159fbe6ba7fe49f1ac5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 1e3c7fe6188642ef6e209d386ed31481939efcae2acc511556c7e219d89ee7f0
[INFO] running `Command { std: "docker" "start" "-a" "1e3c7fe6188642ef6e209d386ed31481939efcae2acc511556c7e219d89ee7f0", kill_on_drop: false }`
[INFO] [stderr]    Compiling quant_finance v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s
[INFO] running `Command { std: "docker" "inspect" "1e3c7fe6188642ef6e209d386ed31481939efcae2acc511556c7e219d89ee7f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e3c7fe6188642ef6e209d386ed31481939efcae2acc511556c7e219d89ee7f0", kill_on_drop: false }`
[INFO] [stdout] 1e3c7fe6188642ef6e209d386ed31481939efcae2acc511556c7e219d89ee7f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 74b567d411768c2087f1bdaeeecced52dfc2de3a36123d27b2bb82a3bd604b0f
[INFO] running `Command { std: "docker" "start" "-a" "74b567d411768c2087f1bdaeeecced52dfc2de3a36123d27b2bb82a3bd604b0f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/quant_finance/fec238d4c4d99da5/deps/quant_finance-fec238d4c4d99da5)
[INFO] [stdout] 
[INFO] [stdout] running 53 tests
[INFO] [stdout] test options::black_scholes::tests::d1_d2_zero_vol_limit ... ok
[INFO] [stdout] test options::black_scholes::tests::normal_pdf_at_zero ... ok
[INFO] [stdout] test options::black_scholes::tests::option_price_dispatch ... ok
[INFO] [stdout] test options::black_scholes::tests::validate_inputs_errors ... ok
[INFO] [stdout] test portfolio::capm::tests::test_validate_infinite_inputs ... ok
[INFO] [stdout] test portfolio::capm::tests::test_validate_negative_risk_free ... ok
[INFO] [stdout] test tests::integration_test_capm_portfolio ... ok
[INFO] [stdout] test portfolio::capm::tests::test_capm_alpha_negative ... ok
[INFO] [stdout] test tests::integration_test_black_scholes_call ... ok
[INFO] [stdout] test portfolio::capm::tests::test_capm_alpha_positive ... ok
[INFO] [stdout] test portfolio::capm::tests::test_expected_return_basic ... ok
[INFO] [stdout] test portfolio::capm::tests::test_expected_return_high_beta ... ok
[INFO] [stdout] test portfolio::capm::tests::test_market_risk_premium ... ok
[INFO] [stdout] test options::black_scholes::tests::zero_vol_call_put_prices ... ok
[INFO] [stdout] test portfolio::capm::tests::test_expected_return_negative_beta ... ok
[INFO] [stdout] test tests::integration_test_option_dispatch ... ok
[INFO] [stdout] test options::black_scholes::tests::put_call_parity ... ok
[INFO] [stdout] test tests::integration_test_put_call_parity ... ok
[INFO] [stdout] test time_value::basic::tests::test_present_value_basic ... ok
[INFO] [stdout] test time_value::bonds::tests::test_bond_price ... ok
[INFO] [stdout] test tests::integration_test_simple_vs_compound ... ok
[INFO] [stdout] test time_value::bonds::tests::test_bond_convexity ... ok
[INFO] [stdout] test time_value::basic::tests::test_invalid_interest_rate ... ok
[INFO] [stdout] test time_value::basic::tests::test_future_value_basic ... ok
[INFO] [stdout] test options::black_scholes::tests::normal_cdf_symmetry ... ok
[INFO] [stdout] test time_value::bonds::tests::test_macaulay_duration ... ok
[INFO] [stdout] test time_value::bonds::tests::test_convexity_adjustment ... ok
[INFO] [stdout] test time_value::bonds::tests::test_zero_coupon_bond ... ok
[INFO] [stdout] test time_value::compound::tests::test_compound_amount_annual ... ok
[INFO] [stdout] test time_value::bonds::tests::test_modified_duration ... ok
[INFO] [stdout] test options::black_scholes::tests::d1_d2_regular_case ... ok
[INFO] [stdout] test time_value::basic::tests::test_zero_interest_rate ... ok
[INFO] [stdout] test time_value::bonds::tests::test_bond_creation ... ok
[INFO] [stdout] test time_value::basic::tests::test_invalid_present_value ... ok
[INFO] [stdout] test time_value::bonds::tests::test_convexity_with_different_bond ... ok
[INFO] [stdout] test time_value::compound::tests::test_continuous_compound ... ok
[INFO] [stdout] test time_value::compound::tests::test_effective_annual_rate ... ok
[INFO] [stdout] test time_value::compound::tests::test_compound_principal ... ok
[INFO] [stdout] test time_value::basic::tests::test_reciprocal_relationship ... ok
[INFO] [stdout] test time_value::compound::tests::test_compound_vs_simple ... ok
[INFO] [stdout] test time_value::simple::tests::test_fractional_time ... ok
[INFO] [stdout] test time_value::compound::tests::test_higher_frequency_higher_amount ... ok
[INFO] [stdout] test time_value::simple::tests::test_invalid_inputs ... ok
[INFO] [stdout] test time_value::compound::tests::test_invalid_inputs ... ok
[INFO] [stdout] test time_value::bonds::tests::test_invalid_inputs ... ok
[INFO] [stdout] test time_value::simple::tests::test_simple_interest_amount ... ok
[INFO] [stdout] test time_value::simple::tests::test_simple_interest_basic ... ok
[INFO] [stdout] test time_value::simple::tests::test_simple_interest_principal ... ok
[INFO] [stdout] test time_value::simple::tests::test_simple_interest_rate ... ok
[INFO] [stdout] test time_value::simple::tests::test_zero_interest_rate ... ok
[INFO] [stdout] test options::black_scholes::tests::intrinsic_at_expiry ... ok
[INFO] [stdout] test time_value::compound::tests::test_compound_amount_quarterly ... ok
[INFO] [stdout] test time_value::compound::tests::test_compound_interest ... ok
[INFO] [stderr]    Doc-tests quant_finance
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 53 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test src/time_value/basic.rs - time_value::basic::present_value (line 57) ... FAILED
[INFO] [stdout] test src/../README.md - (line 34) ... FAILED
[INFO] [stdout] test src/time_value/bonds.rs - time_value::bonds::Bond::new_coupon_bond (line 36) ... FAILED
[INFO] [stdout] test src/time_value/bonds.rs - time_value::bonds::bond_price (line 84) ... FAILED
[INFO] [stdout] test src/time_value/bonds.rs - time_value::bonds::macaulay_duration (line 116) ... FAILED
[INFO] [stdout] test src/time_value/bonds.rs - time_value::bonds::modified_duration (line 216) ... FAILED
[INFO] [stdout] test src/time_value/compound.rs - time_value::compound::continuous_compound_amount (line 113) ... ok
[INFO] [stdout] test src/time_value/bonds.rs - time_value::bonds::bond_convexity (line 153) ... FAILED
[INFO] [stdout] test src/portfolio/capm.rs - portfolio::capm::expected_return (line 32) ... ok
[INFO] [stdout] test src/time_value/simple.rs - time_value::simple::simple_interest (line 22) ... ok
[INFO] [stdout] test src/time_value/compound.rs - time_value::compound::compound_amount (line 23) ... ok
[INFO] [stdout] test src/time_value/simple.rs - time_value::simple::simple_interest_amount (line 54) ... ok
[INFO] [stdout] test src/time_value/bonds.rs - time_value::bonds::convexity_adjustment (line 192) ... FAILED
[INFO] [stdout] test src/time_value/basic.rs - time_value::basic::future_value (line 19) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/time_value/basic.rs - time_value::basic::present_value (line 57) stdout ----
[INFO] [stdout] error: expected one of `,`, `.`, `?`, or an operator, found `abs`
[INFO] [stdout]   --> src/time_value/basic.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 | assert!((pv - 1000.0)abs() < 0.01);
[INFO] [stdout]    |                      ^^^ expected one of `,`, `.`, `?`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 34) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `quant_finance::add`
[INFO] [stdout]   --> src/../README.md:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use quant_finance::add;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ no `add` in the root
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/time_value/bonds.rs - time_value::bonds::Bond::new_coupon_bond (line 36) stdout ----
[INFO] [stdout] error[E0603]: module `bonds` is private
[INFO] [stdout]   --> src/time_value/bonds.rs:38:32
[INFO] [stdout]    |
[INFO] [stdout] 38 | use quant_finance::time_value::bonds::Bond;
[INFO] [stdout]    |                                ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `bonds` is defined here
[INFO] [stdout]   --> src/time_value/mod.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | mod bonds;
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/time_value/bonds.rs - time_value::bonds::bond_price (line 84) stdout ----
[INFO] [stdout] error[E0603]: module `bonds` is private
[INFO] [stdout]   --> src/time_value/bonds.rs:86:32
[INFO] [stdout]    |
[INFO] [stdout] 86 | use quant_finance::time_value::bonds::{Bond, bond_price};
[INFO] [stdout]    |                                ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `bonds` is defined here
[INFO] [stdout]   --> src/time_value/mod.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | mod bonds;
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/time_value/bonds.rs - time_value::bonds::macaulay_duration (line 116) stdout ----
[INFO] [stdout] error[E0603]: module `bonds` is private
[INFO] [stdout]    --> src/time_value/bonds.rs:118:32
[INFO] [stdout]     |
[INFO] [stdout] 118 | use quant_finance::time_value::bonds::{Bond, macaulay_duration};
[INFO] [stdout]     |                                ^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `bonds` is defined here
[INFO] [stdout]    --> src/time_value/mod.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | mod bonds;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/time_value/bonds.rs - time_value::bonds::modified_duration (line 216) stdout ----
[INFO] [stdout] error[E0603]: module `bonds` is private
[INFO] [stdout]    --> src/time_value/bonds.rs:218:32
[INFO] [stdout]     |
[INFO] [stdout] 218 | use quant_finance::time_value::bonds::{Bond, modified_duration};
[INFO] [stdout]     |                                ^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `bonds` is defined here
[INFO] [stdout]    --> src/time_value/mod.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | mod bonds;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/time_value/bonds.rs - time_value::bonds::bond_convexity (line 153) stdout ----
[INFO] [stdout] error[E0603]: module `bonds` is private
[INFO] [stdout]    --> src/time_value/bonds.rs:155:32
[INFO] [stdout]     |
[INFO] [stdout] 155 | use quant_finance::time_value::bonds::{Bond, bond_convexity};
[INFO] [stdout]     |                                ^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `bonds` is defined here
[INFO] [stdout]    --> src/time_value/mod.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | mod bonds;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/time_value/bonds.rs - time_value::bonds::convexity_adjustment (line 192) stdout ----
[INFO] [stdout] error[E0603]: module `bonds` is private
[INFO] [stdout]    --> src/time_value/bonds.rs:194:32
[INFO] [stdout]     |
[INFO] [stdout] 194 | use quant_finance::time_value::bonds::{Bond, bond_convexity, convexity_adjustment};
[INFO] [stdout]     |                                ^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `bonds` is defined here
[INFO] [stdout]    --> src/time_value/mod.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | mod bonds;
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/../README.md - (line 34)
[INFO] [stdout]     src/time_value/basic.rs - time_value::basic::present_value (line 57)
[INFO] [stdout]     src/time_value/bonds.rs - time_value::bonds::Bond::new_coupon_bond (line 36)
[INFO] [stdout]     src/time_value/bonds.rs - time_value::bonds::bond_convexity (line 153)
[INFO] [stdout]     src/time_value/bonds.rs - time_value::bonds::bond_price (line 84)
[INFO] [stdout]     src/time_value/bonds.rs - time_value::bonds::convexity_adjustment (line 192)
[INFO] [stdout]     src/time_value/bonds.rs - time_value::bonds::macaulay_duration (line 116)
[INFO] [stdout]     src/time_value/bonds.rs - time_value::bonds::modified_duration (line 216)
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test result: FAILED. 6 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.70s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.85s; merged doctests compilation took 0.15s
[INFO] running `Command { std: "docker" "inspect" "74b567d411768c2087f1bdaeeecced52dfc2de3a36123d27b2bb82a3bd604b0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74b567d411768c2087f1bdaeeecced52dfc2de3a36123d27b2bb82a3bd604b0f", kill_on_drop: false }`
[INFO] [stdout] 74b567d411768c2087f1bdaeeecced52dfc2de3a36123d27b2bb82a3bd604b0f
