[INFO] cloning repository https://github.com/SpAndrea117/transaction-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpAndrea117/transaction-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpAndrea117%2Ftransaction-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpAndrea117%2Ftransaction-simulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac4926e99b16278e9d8edc16d28245e5cde50192 [INFO] testing SpAndrea117/transaction-simulator against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpAndrea117%2Ftransaction-simulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SpAndrea117/transaction-simulator [INFO] finished tweaking git repo https://github.com/SpAndrea117/transaction-simulator [INFO] tweaked toml for git repo https://github.com/SpAndrea117/transaction-simulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SpAndrea117/transaction-simulator 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/SpAndrea117/transaction-simulator 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-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866 [INFO] running `Command { std: "docker" "start" "18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866", 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" "18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866" "/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" "18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866", 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" "18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866" "/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.105 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling transactions-simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 36.35s [INFO] running `Command { std: "docker" "inspect" "18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866", 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" "18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866" "/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 transactions-simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866", 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" "18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866" "/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.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/transactions_simulator-8c19e3a7c4f27722) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stderr] error: test failed, to rerun pass `--bin transactions-simulator` [INFO] [stdout] test business_logic::test::test_basic ... FAILED [INFO] [stdout] test business_logic::test::test_chargeback ... ok [INFO] [stdout] test business_logic::test::test_dispute_resolve ... ok [INFO] [stdout] test business_logic::test::test_duplicate_tx ... ok [INFO] [stdout] test business_logic::test::test_dispute_on_dispute ... ok [INFO] [stdout] test business_logic::test::test_insufficient_funds ... ok [INFO] [stdout] test business_logic::test::test_fuzz_malformed ... ok [INFO] [stdout] test business_logic::test::test_whitespace_precision ... ok [INFO] [stdout] test business_logic::test::test_invalid_dispute ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- business_logic::test::test_basic stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'business_logic::test::test_basic' (795) panicked at src/business_logic/mod.rs:159:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "client,available,held,total,locked\n2,2.0000,0.0000,2.0000,false\n1,1.5000,0.0000,1.5000,false\n" [INFO] [stdout] right: "client,available,held,total,locked\n1,1.5000,0.0000,1.5000,false\n2,2.0000,0.0000,2.0000,false\n" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b813618901 - <::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt [INFO] [stdout] 1: 0x61b81362d39a - core[7c831bd917ebf35f]::fmt::write [INFO] [stdout] 2: 0x61b81361cdbc - as core[7c831bd917ebf35f]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x61b8135f4ee6 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x61b813611019 - std[104cf6e2632825ea]::panicking::default_hook [INFO] [stdout] 5: 0x61b8135aa050 - test[73009c9f9aebf890]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x61b8136111d2 - std[104cf6e2632825ea]::panicking::panic_with_hook [INFO] [stdout] 7: 0x61b8135f4f92 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x61b8135ed939 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x61b8135f5b8d - __rustc[b0d56fa5b193ad05]::rust_begin_unwind [INFO] [stdout] 10: 0x61b81362dacc - core[7c831bd917ebf35f]::panicking::panic_fmt [INFO] [stdout] 11: 0x61b81362d9e3 - core[7c831bd917ebf35f]::panicking::assert_failed_inner [INFO] [stdout] 12: 0x61b813596cc7 - core[7c831bd917ebf35f]::panicking::assert_failed:: [INFO] [stdout] 13: 0x61b813594b6b - transactions_simulator[e56710f5578671cc]::business_logic::test::check_result [INFO] [stdout] 14: 0x61b813594e1a - transactions_simulator[e56710f5578671cc]::business_logic::test::test_basic [INFO] [stdout] 15: 0x61b813597409 - >::call_once [INFO] [stdout] 16: 0x61b81359d33b - test[73009c9f9aebf890]::__rust_begin_short_backtrace::, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>> [INFO] [stdout] 17: 0x61b8135aa9a5 - test[73009c9f9aebf890]::run_test::{closure#0} [INFO] [stdout] 18: 0x61b8135a3d64 - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 19: 0x61b8135adb02 - ::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 20: 0x61b8136181d9 - ::new::thread_start [INFO] [stdout] 21: 0x7170a1a2e07a - [INFO] [stdout] 22: 0x7170a1ac1534 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] business_logic::test::test_basic [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866", kill_on_drop: false }` [INFO] [stdout] 18479ce5fa74cfe4eca514f268881ea5019f233fc2762abdee3dfe741376f866