[INFO] cloning repository https://github.com/lambda-y/rust-bank-account-class [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lambda-y/rust-bank-account-class" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flambda-y%2Frust-bank-account-class", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flambda-y%2Frust-bank-account-class'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8597ee338b6415a77e1faa175e2e50081e0948f6 [INFO] checking lambda-y/rust-bank-account-class against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flambda-y%2Frust-bank-account-class" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lambda-y/rust-bank-account-class on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lambda-y/rust-bank-account-class [INFO] finished tweaking git repo https://github.com/lambda-y/rust-bank-account-class [INFO] tweaked toml for git repo https://github.com/lambda-y/rust-bank-account-class written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lambda-y/rust-bank-account-class 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57bbe5a7bd273b2d22bdaf0463aa3a69bf4460497decdfb26a6e77247a2644bb [INFO] running `Command { std: "docker" "start" "-a" "57bbe5a7bd273b2d22bdaf0463aa3a69bf4460497decdfb26a6e77247a2644bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57bbe5a7bd273b2d22bdaf0463aa3a69bf4460497decdfb26a6e77247a2644bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57bbe5a7bd273b2d22bdaf0463aa3a69bf4460497decdfb26a6e77247a2644bb", kill_on_drop: false }` [INFO] [stdout] 57bbe5a7bd273b2d22bdaf0463aa3a69bf4460497decdfb26a6e77247a2644bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2207b16c4b397d79a1ee938e58c1293ccdd5136cfd0e0bd69220611099157315 [INFO] running `Command { std: "docker" "start" "-a" "2207b16c4b397d79a1ee938e58c1293ccdd5136cfd0e0bd69220611099157315", kill_on_drop: false }` [INFO] [stderr] Checking rustplayground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_name`, `get_balance`, `get_interest_rate`, `withdraw`, `deposit`, and `calculate_interest` are never used [INFO] [stdout] --> src/accounts/account.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Accountable { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 8 | fn new(name: &str, balance: f64, interest_rate: f64) -> Self; [INFO] [stdout] 9 | fn get_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | fn get_balance(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | fn get_interest_rate(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn withdraw(&mut self, amount: f64) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | fn deposit(&mut self, amount: f64) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | fn calculate_interest(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name`, `get_balance`, `get_interest_rate`, `withdraw`, `deposit`, and `calculate_interest` are never used [INFO] [stdout] --> src/accounts/account.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Accountable { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 8 | fn new(name: &str, balance: f64, interest_rate: f64) -> Self; [INFO] [stdout] 9 | fn get_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | fn get_balance(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | fn get_interest_rate(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn withdraw(&mut self, amount: f64) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | fn deposit(&mut self, amount: f64) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | fn calculate_interest(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/accounts/investment.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let monthly_interest_rate:f64 = (self.account.interest_rate / 12.0).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/accounts/investment.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let monthly_interest_rate:f64 = (self.account.interest_rate / 12.0).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustplayground` (bin "rustplayground" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustplayground` (bin "rustplayground") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2207b16c4b397d79a1ee938e58c1293ccdd5136cfd0e0bd69220611099157315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2207b16c4b397d79a1ee938e58c1293ccdd5136cfd0e0bd69220611099157315", kill_on_drop: false }` [INFO] [stdout] 2207b16c4b397d79a1ee938e58c1293ccdd5136cfd0e0bd69220611099157315