[INFO] cloning repository https://github.com/mhurd/rust-finance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mhurd/rust-finance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhurd%2Frust-finance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhurd%2Frust-finance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cef546983399dfe8b70b5143d80fdd822a9fe72 [INFO] testing mhurd/rust-finance against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhurd%2Frust-finance" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mhurd/rust-finance on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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 /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/mhurd/rust-finance already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a78d318a60318258e9dc16ab2e6f3cd1c53d78bac7423b17ac414c64b8b2bebe [INFO] running `Command { std: "docker" "start" "-a" "a78d318a60318258e9dc16ab2e6f3cd1c53d78bac7423b17ac414c64b8b2bebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a78d318a60318258e9dc16ab2e6f3cd1c53d78bac7423b17ac414c64b8b2bebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78d318a60318258e9dc16ab2e6f3cd1c53d78bac7423b17ac414c64b8b2bebe", kill_on_drop: false }` [INFO] [stdout] a78d318a60318258e9dc16ab2e6f3cd1c53d78bac7423b17ac414c64b8b2bebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92b9e2d0c2d057ff7bfc81bb4b7fc4e5853f62938059ac059ea97b5381a1cc9f [INFO] running `Command { std: "docker" "start" "-a" "92b9e2d0c2d057ff7bfc81bb4b7fc4e5853f62938059ac059ea97b5381a1cc9f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling rgb v0.8.13 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-traits v0.1.43 [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] [stdout] warning: function is never used: `cash_flow_present_value_discrete` [INFO] [stdout] --> src/lib.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn cash_flow_present_value_discrete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cash_flow_present_value_continuous` [INFO] [stdout] --> src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn cash_flow_present_value_continuous( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fill` [INFO] [stdout] --> src/lib.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn fill(size: usize, item: T) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bond_price_discrete` [INFO] [stdout] --> src/lib.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn bond_price_discrete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bond_price_continuous` [INFO] [stdout] --> src/lib.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn bond_price_continuous( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.86s [INFO] running `Command { std: "docker" "inspect" "92b9e2d0c2d057ff7bfc81bb4b7fc4e5853f62938059ac059ea97b5381a1cc9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92b9e2d0c2d057ff7bfc81bb4b7fc4e5853f62938059ac059ea97b5381a1cc9f", kill_on_drop: false }` [INFO] [stdout] 92b9e2d0c2d057ff7bfc81bb4b7fc4e5853f62938059ac059ea97b5381a1cc9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6695283415eb26ef438412c188df1e4130dc575b95f0383e8249d810fe2853cd [INFO] running `Command { std: "docker" "start" "-a" "6695283415eb26ef438412c188df1e4130dc575b95f0383e8249d810fe2853cd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `cash_flow_present_value_discrete` [INFO] [stdout] --> src/lib.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn cash_flow_present_value_discrete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cash_flow_present_value_continuous` [INFO] [stdout] --> src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn cash_flow_present_value_continuous( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fill` [INFO] [stdout] --> src/lib.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn fill(size: usize, item: T) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bond_price_discrete` [INFO] [stdout] --> src/lib.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn bond_price_discrete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bond_price_continuous` [INFO] [stdout] --> src/lib.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn bond_price_continuous( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.68s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust-6d976949a5601b2b) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust-f598a25970c67423) [INFO] running `Command { std: "docker" "inspect" "6695283415eb26ef438412c188df1e4130dc575b95f0383e8249d810fe2853cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6695283415eb26ef438412c188df1e4130dc575b95f0383e8249d810fe2853cd", kill_on_drop: false }` [INFO] [stdout] 6695283415eb26ef438412c188df1e4130dc575b95f0383e8249d810fe2853cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 61cd627515e81f866c6f12cd98dcabd238d21995250b2dd7871aae2cb46a86b7 [INFO] running `Command { std: "docker" "start" "-a" "61cd627515e81f866c6f12cd98dcabd238d21995250b2dd7871aae2cb46a86b7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: function is never used: `cash_flow_present_value_discrete` [INFO] [stderr] --> src/lib.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | fn cash_flow_present_value_discrete( [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:8 [INFO] [stderr] | [INFO] [stderr] 16 | fn cash_flow_present_value_continuous( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fill` [INFO] [stderr] --> src/lib.rs:29:8 [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:8 [INFO] [stderr] | [INFO] [stderr] 37 | fn bond_price_discrete( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `bond_price_continuous` [INFO] [stderr] --> src/lib.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | fn bond_price_continuous( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust` (lib) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 24.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust-6d976949a5601b2b) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test financial::tests::check_bond_price_continuous ... ok [INFO] [stdout] test financial::tests::check_bond_price_discrete ... ok [INFO] [stdout] test financial::tests::check_cash_flow_present_value_continuous ... ok [INFO] [stdout] test financial::tests::check_cash_flow_present_value_discrete ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust-f598a25970c67423) [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; finished in 0.00s [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; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "61cd627515e81f866c6f12cd98dcabd238d21995250b2dd7871aae2cb46a86b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61cd627515e81f866c6f12cd98dcabd238d21995250b2dd7871aae2cb46a86b7", kill_on_drop: false }` [INFO] [stdout] 61cd627515e81f866c6f12cd98dcabd238d21995250b2dd7871aae2cb46a86b7