[INFO] fetching crate time_value 0.8.0... [INFO] testing time_value-0.8.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate time_value 0.8.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate time_value 0.8.0 [INFO] finished tweaking crates.io crate time_value 0.8.0 [INFO] tweaked toml for crates.io crate time_value 0.8.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate time_value 0.8.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding num v0.3.1 (available: v0.4.3) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95d940b79b7ce85bff595ce6d2fc078006582f2dd39f3548dbd67b163be12522 [INFO] running `Command { std: "docker" "start" "-a" "95d940b79b7ce85bff595ce6d2fc078006582f2dd39f3548dbd67b163be12522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95d940b79b7ce85bff595ce6d2fc078006582f2dd39f3548dbd67b163be12522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d940b79b7ce85bff595ce6d2fc078006582f2dd39f3548dbd67b163be12522", kill_on_drop: false }` [INFO] [stdout] 95d940b79b7ce85bff595ce6d2fc078006582f2dd39f3548dbd67b163be12522 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bf72da829fff790d2164f158c46e320c8f734f601ecc9ea277a2b69ed3ab662 [INFO] running `Command { std: "docker" "start" "-a" "0bf72da829fff790d2164f158c46e320c8f734f601ecc9ea277a2b69ed3ab662", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling time_value v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.78s [INFO] running `Command { std: "docker" "inspect" "0bf72da829fff790d2164f158c46e320c8f734f601ecc9ea277a2b69ed3ab662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf72da829fff790d2164f158c46e320c8f734f601ecc9ea277a2b69ed3ab662", kill_on_drop: false }` [INFO] [stdout] 0bf72da829fff790d2164f158c46e320c8f734f601ecc9ea277a2b69ed3ab662 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8183415b65bd5a41d2df909ce8bc12490c23de03ea6bede2952417df012a8627 [INFO] running `Command { std: "docker" "start" "-a" "8183415b65bd5a41d2df909ce8bc12490c23de03ea6bede2952417df012a8627", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time_value v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "8183415b65bd5a41d2df909ce8bc12490c23de03ea6bede2952417df012a8627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8183415b65bd5a41d2df909ce8bc12490c23de03ea6bede2952417df012a8627", kill_on_drop: false }` [INFO] [stdout] 8183415b65bd5a41d2df909ce8bc12490c23de03ea6bede2952417df012a8627 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 51d7a0931666a2ab1139452c9eac75e0eff51e218d3f1d6389fef54c5f5527f3 [INFO] running `Command { std: "docker" "start" "-a" "51d7a0931666a2ab1139452c9eac75e0eff51e218d3f1d6389fef54c5f5527f3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/time_value-63fdd38a22280c3f) [INFO] [stdout] running 21 tests [INFO] [stdout] test future_value::from_pv_and_expected_rates_tests::it_works_with_mixed_rates ... ok [INFO] [stdout] test future_value::from_pv_and_expected_rates_tests::it_works_with_negative_rates ... ok [INFO] [stdout] test irr::bisection::functions::initial_bounds::determine_test::it_works_with_a_bad_guess ... ok [INFO] [stdout] test irr::bisection::functions::initial_bounds::determine_test::it_works_with_a_good_guess ... ok [INFO] [stdout] test future_value::from_pv_and_expected_rates_tests::it_works_with_positive_rates ... ok [INFO] [stdout] test irr::bisection::functions::initial_bounds::determine_test::it_works_with_a_high_guess ... ok [INFO] [stdout] test irr::bisection::functions::initial_bounds::determine_test::it_works_with_a_low_guess ... ok [INFO] [stdout] test irr::bisection::functions::irr::bisection_tests::it_works_on_known_example_0_f64 ... ok [INFO] [stdout] test irr::bisection::functions::irr::bisection_tests::it_works_on_known_example_1_f64 ... ok [INFO] [stdout] test irr::bisection::functions::irr::bisection_tests::it_works_on_known_example_2_f64 ... ok [INFO] [stdout] test irr::bisection::functions::irr::bisection_tests::it_works_on_known_example_1_f32 ... ok [INFO] [stdout] test present_value::present_value_tests::it_works_at_zero ... ok [INFO] [stdout] test irr::bisection::functions::irr::bisection_tests::it_works_on_known_example_0_f32 ... ok [INFO] [stdout] test present_value::present_value_tests::it_works_at_one ... ok [INFO] [stdout] test present_value::present_value_tests::it_works_at_two ... ok [INFO] [stdout] test irr::bisection::functions::irr::bisection_tests::it_works_on_known_example_2_f32 ... ok [INFO] [stdout] test present_value::from_cash_flows_and_discount_rate_tests::it_works_with_a_negative_npv ... ok [INFO] [stdout] test present_value::from_cash_flows_and_discount_rate_tests::it_works_with_a_positive_npv ... ok [INFO] [stdout] test future_value::from_pv_and_expected_rates_tests::it_works_with_no_rates ... ok [INFO] [stdout] test irr::bisection::functions::initial_bounds::determine_test::it_works_with_random_inputs ... ok [INFO] [stdout] test irr::bisection::functions::irr::bisection_tests::it_works_with_random_inputs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] Doc-tests time_value [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/future_value.rs - future_value::from_pv_and_expected_rates (line 22) ... ok [INFO] [stdout] test src/irr/bisection/functions/irr.rs - irr::bisection::functions::irr::bisection (line 38) ... ok [INFO] [stdout] test src/irr/bisection/structs/initial_bounds.rs - irr::bisection::structs::initial_bounds::InitialBounds (line 8) ... ok [INFO] [stdout] test src/irr/bisection/structs/irr.rs - irr::bisection::structs::irr::Irr (line 48) ... ok [INFO] [stdout] test src/present_value.rs - present_value::present_value (line 32) ... ok [INFO] [stdout] test src/irr/bisection/structs/irr.rs - irr::bisection::structs::irr::Irr (line 11) ... ok [INFO] [stdout] test src/irr/bisection/functions/initial_bounds.rs - irr::bisection::functions::initial_bounds::determine (line 15) ... ok [INFO] [stdout] test src/irr/bisection/functions/midpoint.rs - irr::bisection::functions::midpoint::calculate (line 10) ... ok [INFO] [stdout] test src/future_value.rs - future_value::from_pv_and_expected_rates (line 43) ... ok [INFO] [stdout] test src/irr/bisection/functions/are_equal_enough.rs - irr::bisection::functions::are_equal_enough::is_true (line 11) ... ok [INFO] [stdout] test src/present_value.rs - present_value::present_value (line 15) ... ok [INFO] [stdout] test src/irr/bisection/functions/irr.rs - irr::bisection::functions::irr::bisection (line 23) ... ok [INFO] [stdout] test src/present_value.rs - present_value::from_cash_flows_and_discount_rate (line 104) ... ok [INFO] [stdout] test src/present_value.rs - present_value::from_cash_flows_and_discount_rate (line 119) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.84s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "51d7a0931666a2ab1139452c9eac75e0eff51e218d3f1d6389fef54c5f5527f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51d7a0931666a2ab1139452c9eac75e0eff51e218d3f1d6389fef54c5f5527f3", kill_on_drop: false }` [INFO] [stdout] 51d7a0931666a2ab1139452c9eac75e0eff51e218d3f1d6389fef54c5f5527f3