[INFO] cloning repository https://github.com/happysalada/simplified_bank [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/happysalada/simplified_bank" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappysalada%2Fsimplified_bank", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappysalada%2Fsimplified_bank'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05f38fb718f60671a05750ab1eeb4335bb4eb834 [INFO] testing happysalada/simplified_bank against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappysalada%2Fsimplified_bank" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/happysalada/simplified_bank on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/happysalada/simplified_bank [INFO] finished tweaking git repo https://github.com/happysalada/simplified_bank [INFO] tweaked toml for git repo https://github.com/happysalada/simplified_bank written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/happysalada/simplified_bank already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d66a7ee39d2492670fb504514f0e31efbb2dd629650f148a8c969aca2d339286 [INFO] running `Command { std: "docker" "start" "-a" "d66a7ee39d2492670fb504514f0e31efbb2dd629650f148a8c969aca2d339286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d66a7ee39d2492670fb504514f0e31efbb2dd629650f148a8c969aca2d339286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66a7ee39d2492670fb504514f0e31efbb2dd629650f148a8c969aca2d339286", kill_on_drop: false }` [INFO] [stdout] d66a7ee39d2492670fb504514f0e31efbb2dd629650f148a8c969aca2d339286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f66117d7ebeb98518dd65ba1e6236376cc9174e45df272703c04f1537b51d89 [INFO] running `Command { std: "docker" "start" "-a" "1f66117d7ebeb98518dd65ba1e6236376cc9174e45df272703c04f1537b51d89", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.49 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling rust_decimal v1.17.0 [INFO] [stderr] Compiling csv-async v1.2.3 [INFO] [stderr] Compiling simplified_bank v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `amount` [INFO] [stdout] --> src/main.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | Deposit { amount: Decimal }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amount` [INFO] [stdout] --> src/main.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | Withdrawal { amount: Decimal }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.03s [INFO] running `Command { std: "docker" "inspect" "1f66117d7ebeb98518dd65ba1e6236376cc9174e45df272703c04f1537b51d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f66117d7ebeb98518dd65ba1e6236376cc9174e45df272703c04f1537b51d89", kill_on_drop: false }` [INFO] [stdout] 1f66117d7ebeb98518dd65ba1e6236376cc9174e45df272703c04f1537b51d89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdb94a24d48de498657400d2c30daa06b1d835a780dd35e6edf37bca5e150a37 [INFO] running `Command { std: "docker" "start" "-a" "bdb94a24d48de498657400d2c30daa06b1d835a780dd35e6edf37bca5e150a37", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling simplified_bank v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `amount` [INFO] [stdout] --> src/main.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | Deposit { amount: Decimal }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amount` [INFO] [stdout] --> src/main.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | Withdrawal { amount: Decimal }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.66s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/simplified_bank-d5a6f0ae58eb0e50) [INFO] running `Command { std: "docker" "inspect" "bdb94a24d48de498657400d2c30daa06b1d835a780dd35e6edf37bca5e150a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdb94a24d48de498657400d2c30daa06b1d835a780dd35e6edf37bca5e150a37", kill_on_drop: false }` [INFO] [stdout] bdb94a24d48de498657400d2c30daa06b1d835a780dd35e6edf37bca5e150a37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a9edaa8937a264a597fb42e2515eabd6279d7378b2df8ae4d06cf41e582418b [INFO] running `Command { std: "docker" "start" "-a" "8a9edaa8937a264a597fb42e2515eabd6279d7378b2df8ae4d06cf41e582418b", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `amount` [INFO] [stderr] --> src/main.rs:171:15 [INFO] [stderr] | [INFO] [stderr] 171 | Deposit { amount: Decimal }, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `amount` [INFO] [stderr] --> src/main.rs:172:18 [INFO] [stderr] | [INFO] [stderr] 172 | Withdrawal { amount: Decimal }, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `simplified_bank` (bin "simplified_bank" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simplified_bank-d5a6f0ae58eb0e50) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::dispute_deposit_with_chargeback ... ok [INFO] [stdout] test tests::dispute_withdrawal_with_resolution ... ok [INFO] [stdout] test tests::thief ... ok [INFO] [stdout] test tests::dispute_deposit_with_resolution ... ok [INFO] [stdout] test tests::locked_account_cant_withdraw ... ok [INFO] [stdout] test tests::locked_account_should_be_able_to_deposit ... ok [INFO] [stdout] test tests::example_input ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8a9edaa8937a264a597fb42e2515eabd6279d7378b2df8ae4d06cf41e582418b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a9edaa8937a264a597fb42e2515eabd6279d7378b2df8ae4d06cf41e582418b", kill_on_drop: false }` [INFO] [stdout] 8a9edaa8937a264a597fb42e2515eabd6279d7378b2df8ae4d06cf41e582418b