[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappysalada%2Fsimplified_bank" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/happysalada/simplified_bank on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-12/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-02-22" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91432bab6fde5b04f4d6fc3d3c5de9a3ac2e459be763d9683f5cc9d945c11fde [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "91432bab6fde5b04f4d6fc3d3c5de9a3ac2e459be763d9683f5cc9d945c11fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91432bab6fde5b04f4d6fc3d3c5de9a3ac2e459be763d9683f5cc9d945c11fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91432bab6fde5b04f4d6fc3d3c5de9a3ac2e459be763d9683f5cc9d945c11fde", kill_on_drop: false }` [INFO] [stdout] 91432bab6fde5b04f4d6fc3d3c5de9a3ac2e459be763d9683f5cc9d945c11fde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5344b8f57437d85bef4aa8da96b1c0261d4a20a00835330b5a2a6e476970aa71 [INFO] running `Command { std: "docker" "start" "-a" "5344b8f57437d85bef4aa8da96b1c0261d4a20a00835330b5a2a6e476970aa71", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling anyhow v1.0.49 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling serde v1.0.130 [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 1m 13s [INFO] running `Command { std: "docker" "inspect" "5344b8f57437d85bef4aa8da96b1c0261d4a20a00835330b5a2a6e476970aa71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5344b8f57437d85bef4aa8da96b1c0261d4a20a00835330b5a2a6e476970aa71", kill_on_drop: false }` [INFO] [stdout] 5344b8f57437d85bef4aa8da96b1c0261d4a20a00835330b5a2a6e476970aa71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4681780fd9b60e3df4da44feb15fd46b79f4ac6ca1c229626d66f92c376287cd [INFO] running `Command { std: "docker" "start" "-a" "4681780fd9b60e3df4da44feb15fd46b79f4ac6ca1c229626d66f92c376287cd", kill_on_drop: false }` [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 4.82s [INFO] running `Command { std: "docker" "inspect" "4681780fd9b60e3df4da44feb15fd46b79f4ac6ca1c229626d66f92c376287cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4681780fd9b60e3df4da44feb15fd46b79f4ac6ca1c229626d66f92c376287cd", kill_on_drop: false }` [INFO] [stdout] 4681780fd9b60e3df4da44feb15fd46b79f4ac6ca1c229626d66f92c376287cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b3fab8ea18c5f8f099a9587e4edda4e6d0f5693cb0ff0bd8f3760bd59fc561a6 [INFO] running `Command { std: "docker" "start" "-a" "b3fab8ea18c5f8f099a9587e4edda4e6d0f5693cb0ff0bd8f3760bd59fc561a6", 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.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/simplified_bank-d5a6f0ae58eb0e50) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::dispute_deposit_with_resolution ... ok [INFO] [stdout] test tests::locked_account_cant_withdraw ... ok [INFO] [stdout] test tests::example_input ... ok [INFO] [stdout] test tests::thief ... ok [INFO] [stdout] test tests::dispute_deposit_with_chargeback ... ok [INFO] [stdout] test tests::locked_account_should_be_able_to_deposit ... ok [INFO] [stdout] test tests::dispute_withdrawal_with_resolution ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3fab8ea18c5f8f099a9587e4edda4e6d0f5693cb0ff0bd8f3760bd59fc561a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3fab8ea18c5f8f099a9587e4edda4e6d0f5693cb0ff0bd8f3760bd59fc561a6", kill_on_drop: false }` [INFO] [stdout] b3fab8ea18c5f8f099a9587e4edda4e6d0f5693cb0ff0bd8f3760bd59fc561a6