[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] checking mhurd/rust-finance against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhurd%2Frust-finance" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mhurd/rust-finance on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-4/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded leg v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 594369aeb6a486de5c47d0b349c99aeb72a434520c5083ae13fdaf7c021b04d0 [INFO] running `Command { std: "docker" "start" "-a" "594369aeb6a486de5c47d0b349c99aeb72a434520c5083ae13fdaf7c021b04d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "594369aeb6a486de5c47d0b349c99aeb72a434520c5083ae13fdaf7c021b04d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594369aeb6a486de5c47d0b349c99aeb72a434520c5083ae13fdaf7c021b04d0", kill_on_drop: false }` [INFO] [stdout] 594369aeb6a486de5c47d0b349c99aeb72a434520c5083ae13fdaf7c021b04d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f60dfe0d1690796131f71562a2860c54dd158bfc7572f0108f39e266d7a0a5a2 [INFO] running `Command { std: "docker" "start" "-a" "f60dfe0d1690796131f71562a2860c54dd158bfc7572f0108f39e266d7a0a5a2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] winapi v0.3.7: ntsecapi, profileapi [INFO] [stderr] [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking rgb v0.8.13 [INFO] [stderr] Checking rand v0.4.6 [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] Checking num-traits v0.1.43 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking leg v0.1.3 [INFO] [stderr] Checking rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.97s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking leg v0.1.3 [INFO] [stderr] Checking rust v0.1.0 (/tmp/fixit) [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 2.08s [INFO] running `Command { std: "docker" "inspect" "f60dfe0d1690796131f71562a2860c54dd158bfc7572f0108f39e266d7a0a5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f60dfe0d1690796131f71562a2860c54dd158bfc7572f0108f39e266d7a0a5a2", kill_on_drop: false }` [INFO] [stdout] f60dfe0d1690796131f71562a2860c54dd158bfc7572f0108f39e266d7a0a5a2