[INFO] cloning repository https://github.com/ihnatz/toy-payments-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ihnatz/toy-payments-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihnatz%2Ftoy-payments-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihnatz%2Ftoy-payments-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d387eda2d1550db621b30d2e2f1afb9ede8e2029 [INFO] testing ihnatz/toy-payments-engine against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihnatz%2Ftoy-payments-engine" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ihnatz/toy-payments-engine [INFO] finished tweaking git repo https://github.com/ihnatz/toy-payments-engine [INFO] tweaked toml for git repo https://github.com/ihnatz/toy-payments-engine written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ihnatz/toy-payments-engine on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ihnatz/toy-payments-engine 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa [INFO] running `Command { std: "docker" "start" "611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rust_decimal_macros v1.37.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling toy-payments-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 36.14s [INFO] running `Command { std: "docker" "inspect" "611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling toy-payments-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/toy_payments_engine-ab8d32a5225673ba) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test ledger::tests::test_add_deposit ... ok [INFO] [stdout] test ledger::tests::test_duplicate_transaction ... ok [INFO] [stdout] test ledger::tests::test_add_withdrawal ... ok [INFO] [stdout] test ledger::tests::test_add_negative_withdrawal ... ok [INFO] [stdout] test ledger::tests::test_fetch_transaction ... ok [INFO] [stdout] test ledger::tests::test_initial_state ... ok [INFO] [stdout] test ledger::tests::test_mixed_operations ... ok [INFO] [stdout] test ledger::tests::test_multiple_disputes_for_same_tx ... ok [INFO] [stdout] test ledger::tests::test_resolve_and_chargeback ... ok [INFO] [stdout] test ledger::tests::test_straight_to_resolve ... ok [INFO] [stdout] test processor::tests::test_adding_amount ... ok [INFO] [stdout] test processor::tests::test_adding_same_amount_twice ... ok [INFO] [stdout] test processor::tests::test_dispute_on_deposit_is_not_ignored ... ok [INFO] [stdout] test processor::tests::test_dispute_on_deposit_with_chargeback ... ok [INFO] [stdout] test processor::tests::test_dispute_on_deposit_with_resolve ... ok [INFO] [stdout] test processor::tests::test_dispute_on_withdrawal ... ok [INFO] [stdout] test processor::tests::test_dispute_on_withdrawal_with_chargeback ... ok [INFO] [stdout] test processor::tests::test_dispute_on_withdrawal_with_chargeback_disables_withdrawal ... ok [INFO] [stdout] test processor::tests::test_dispute_on_withdrawal_with_resolve ... ok [INFO] [stdout] test processor::tests::test_get_money_from_negative_balance ... ok [INFO] [stdout] test processor::tests::test_twice_withdrawal_amount_after_adding ... ok [INFO] [stdout] test processor::tests::test_withdrawal_amount ... ok [INFO] [stdout] test processor::tests::test_withdrawal_amount_after_adding ... ok [INFO] [stdout] test resources::tests::test_missing_file ... ok [INFO] [stdout] test resources::tests::test_successfull_parse ... ok [INFO] [stdout] test resources::tests::test_parse_skips_errors ... ok [INFO] [stdout] test ledger::tests::test_dispute_for_nonexistent_transaction ... ok [INFO] [stdout] test ledger::tests::test_add_dispute ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa", kill_on_drop: false }` [INFO] [stdout] 611d2e236851c5409dd434b1935c2a90f08eadaa94fe3798cd00231c1c6177aa