[INFO] cloning repository https://github.com/sarah-ngn/bank_account [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sarah-ngn/bank_account" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsarah-ngn%2Fbank_account", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsarah-ngn%2Fbank_account'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 118caba1107c5c158e45c86699776341572d881a [INFO] checking sarah-ngn/bank_account against try#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsarah-ngn%2Fbank_account" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-0-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.filemode' to 'true' [INFO] checking sarah-ngn/bank_account against try#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsarah-ngn%2Fbank_account" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sarah-ngn/bank_account on toolchain a0cd57eba5d417638d3351ba13fc414ad1a24bec [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sarah-ngn/bank_account [INFO] finished tweaking git repo https://github.com/sarah-ngn/bank_account [INFO] tweaked toml for git repo https://github.com/sarah-ngn/bank_account written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sarah-ngn/bank_account 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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12a1b618a2911f6cb6da4874f98ed084c9cb3859fa67140aececef7d380015a6 [INFO] running `Command { std: "docker" "start" "-a" "12a1b618a2911f6cb6da4874f98ed084c9cb3859fa67140aececef7d380015a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12a1b618a2911f6cb6da4874f98ed084c9cb3859fa67140aececef7d380015a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a1b618a2911f6cb6da4874f98ed084c9cb3859fa67140aececef7d380015a6", kill_on_drop: false }` [INFO] [stdout] 12a1b618a2911f6cb6da4874f98ed084c9cb3859fa67140aececef7d380015a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] facb0e385c5cecbf8117a3416d2a780c52315328ca695347b922d56aaf0c7090 [INFO] running `Command { std: "docker" "start" "-a" "facb0e385c5cecbf8117a3416d2a780c52315328ca695347b922d56aaf0c7090", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bank_account v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/bank_account.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/bank_account.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BankAccount` is never constructed [INFO] [stdout] --> src/bank_account.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct BankAccount { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `deposit_amount`, and `withdraw_amount` are never used [INFO] [stdout] --> src/bank_account.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl BankAccount { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | fn new(id: u32, transactions: &Vec) -> BankAccount{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn deposit_amount(&mut self, amount: f32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn withdraw_amount(&mut self, amount: f32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/bank_account.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct BankAccount { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `withdraw_amount` is never used [INFO] [stdout] --> src/bank_account.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl BankAccount { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | fn withdraw_amount(&mut self, amount: f32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "facb0e385c5cecbf8117a3416d2a780c52315328ca695347b922d56aaf0c7090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "facb0e385c5cecbf8117a3416d2a780c52315328ca695347b922d56aaf0c7090", kill_on_drop: false }` [INFO] [stdout] facb0e385c5cecbf8117a3416d2a780c52315328ca695347b922d56aaf0c7090