[INFO] cloning repository https://github.com/stephaneThorng/bank-kata [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephaneThorng/bank-kata" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstephaneThorng%2Fbank-kata", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstephaneThorng%2Fbank-kata'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3159b1842b60d4248ddd6e3c035a1aa7d453c954 [INFO] checking stephaneThorng/bank-kata against try#26ad8a85dc4eed299af809e52f278da81e284602 for pr-138458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstephaneThorng%2Fbank-kata" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stephaneThorng/bank-kata on toolchain 26ad8a85dc4eed299af809e52f278da81e284602 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stephaneThorng/bank-kata [INFO] finished tweaking git repo https://github.com/stephaneThorng/bank-kata [INFO] tweaked toml for git repo https://github.com/stephaneThorng/bank-kata written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stephaneThorng/bank-kata 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" "+26ad8a85dc4eed299af809e52f278da81e284602" "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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c230ba918f13e29d3f3b46720ecfd181a733d6de18aa4ec11404a34ef2842b72 [INFO] running `Command { std: "docker" "start" "-a" "c230ba918f13e29d3f3b46720ecfd181a733d6de18aa4ec11404a34ef2842b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c230ba918f13e29d3f3b46720ecfd181a733d6de18aa4ec11404a34ef2842b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c230ba918f13e29d3f3b46720ecfd181a733d6de18aa4ec11404a34ef2842b72", kill_on_drop: false }` [INFO] [stdout] c230ba918f13e29d3f3b46720ecfd181a733d6de18aa4ec11404a34ef2842b72 [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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3da5b8dd35afd28e5113e037e233150e2a08183d46bbdec4bca612786f8bf089 [INFO] running `Command { std: "docker" "start" "-a" "3da5b8dd35afd28e5113e037e233150e2a08183d46bbdec4bca612786f8bf089", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking bank-kata v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Operation` [INFO] [stdout] --> src/bank/account.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use super::transaction::{Currency, Operation, Status, Transaction}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Operation` [INFO] [stdout] --> src/bank/account.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use super::transaction::{Currency, Operation, Status, Transaction}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/bank/transaction.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | Deposit(f64, Currency), [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - Deposit(f64, Currency), [INFO] [stdout] 18 + Deposit(f64, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/bank/transaction.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | Withdrawal(f64, Currency), [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Withdrawal(f64, Currency), [INFO] [stdout] 19 + Withdrawal(f64, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pending` and `Cancelled` are never constructed [INFO] [stdout] --> src/bank/transaction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 25 | Pending, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | Completed, [INFO] [stdout] 27 | Cancelled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_rate` is never used [INFO] [stdout] --> src/bank/currency_converter.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl CurrencyConverter { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn update_rate(&mut self, currency: Currency, variation: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/bank/transaction.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | Deposit(f64, Currency), [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - Deposit(f64, Currency), [INFO] [stdout] 18 + Deposit(f64, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/bank/transaction.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | Withdrawal(f64, Currency), [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Withdrawal(f64, Currency), [INFO] [stdout] 19 + Withdrawal(f64, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pending` and `Cancelled` are never constructed [INFO] [stdout] --> src/bank/transaction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 25 | Pending, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | Completed, [INFO] [stdout] 27 | Cancelled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_rate` is never used [INFO] [stdout] --> src/bank/currency_converter.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl CurrencyConverter { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn update_rate(&mut self, currency: Currency, variation: f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `Command { std: "docker" "inspect" "3da5b8dd35afd28e5113e037e233150e2a08183d46bbdec4bca612786f8bf089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da5b8dd35afd28e5113e037e233150e2a08183d46bbdec4bca612786f8bf089", kill_on_drop: false }` [INFO] [stdout] 3da5b8dd35afd28e5113e037e233150e2a08183d46bbdec4bca612786f8bf089