[INFO] cloning repository https://github.com/robliedka/retirement_calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robliedka/retirement_calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobliedka%2Fretirement_calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobliedka%2Fretirement_calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e6a57287b1b7826d72c5fdc62b05886008cb875 [INFO] checking robliedka/retirement_calculator against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobliedka%2Fretirement_calculator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/robliedka/retirement_calculator [INFO] finished tweaking git repo https://github.com/robliedka/retirement_calculator [INFO] tweaked toml for git repo https://github.com/robliedka/retirement_calculator written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/robliedka/retirement_calculator on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/robliedka/retirement_calculator 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking robliedka/retirement_calculator against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobliedka%2Fretirement_calculator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/robliedka/retirement_calculator [INFO] finished tweaking git repo https://github.com/robliedka/retirement_calculator [INFO] tweaked toml for git repo https://github.com/robliedka/retirement_calculator written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/robliedka/retirement_calculator on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/robliedka/retirement_calculator 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fc2d33459c6a7d86136cbee19fce5e67130170de73ecddfb9f2f94e23d62d71 [INFO] running `Command { std: "docker" "start" "-a" "2fc2d33459c6a7d86136cbee19fce5e67130170de73ecddfb9f2f94e23d62d71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fc2d33459c6a7d86136cbee19fce5e67130170de73ecddfb9f2f94e23d62d71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc2d33459c6a7d86136cbee19fce5e67130170de73ecddfb9f2f94e23d62d71", kill_on_drop: false }` [INFO] [stdout] 2fc2d33459c6a7d86136cbee19fce5e67130170de73ecddfb9f2f94e23d62d71 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49aff55e5738bb90956856d01c12fea604259841704183d3d3e82fc2c95c4ad5 [INFO] running `Command { std: "docker" "start" "-a" "49aff55e5738bb90956856d01c12fea604259841704183d3d3e82fc2c95c4ad5", kill_on_drop: false }` [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking retirement-calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::task::ready` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:15:67 [INFO] [stdout] | [INFO] [stdout] 15 | let future_value = calculate_value_over_time(current_balance, (monthly_contribution * 12.0), annual_interest_rate, years_to_retirement); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - let future_value = calculate_value_over_time(current_balance, (monthly_contribution * 12.0), annual_interest_rate, years_to_retirement); [INFO] [stdout] 15 + let future_value = calculate_value_over_time(current_balance, monthly_contribution * 12.0 , annual_interest_rate, years_to_retirement); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | while(!acceptable_input) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - while(!acceptable_input) { [INFO] [stdout] 37 + while !acceptable_input { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | while (!acceptable_input) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - while (!acceptable_input) { [INFO] [stdout] 62 + while !acceptable_input { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::ready` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:15:67 [INFO] [stdout] | [INFO] [stdout] 15 | let future_value = calculate_value_over_time(current_balance, (monthly_contribution * 12.0), annual_interest_rate, years_to_retirement); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - let future_value = calculate_value_over_time(current_balance, (monthly_contribution * 12.0), annual_interest_rate, years_to_retirement); [INFO] [stdout] 15 + let future_value = calculate_value_over_time(current_balance, monthly_contribution * 12.0 , annual_interest_rate, years_to_retirement); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | while(!acceptable_input) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - while(!acceptable_input) { [INFO] [stdout] 37 + while !acceptable_input { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | while (!acceptable_input) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - while (!acceptable_input) { [INFO] [stdout] 62 + while !acceptable_input { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_formatted_string` exists for type `f32`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:17:102 [INFO] [stdout] | [INFO] [stdout] 17 | ...t age {}.", future_value.to_formatted_string(&Locale::en), retirement_age); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called on `f32` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `f32: ToFormattedStr` [INFO] [stdout] which is required by `f32: ToFormattedString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_formatted_string` exists for type `f32`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:17:102 [INFO] [stdout] | [INFO] [stdout] 17 | ...t age {}.", future_value.to_formatted_string(&Locale::en), retirement_age); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called on `f32` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `f32: ToFormattedStr` [INFO] [stdout] which is required by `f32: ToFormattedString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `retirement-calculator` (bin "retirement-calculator") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `retirement-calculator` (bin "retirement-calculator" test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "49aff55e5738bb90956856d01c12fea604259841704183d3d3e82fc2c95c4ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49aff55e5738bb90956856d01c12fea604259841704183d3d3e82fc2c95c4ad5", kill_on_drop: false }` [INFO] [stdout] 49aff55e5738bb90956856d01c12fea604259841704183d3d3e82fc2c95c4ad5