[INFO] cloning repository https://github.com/sudachen/code_test_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sudachen/code_test_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudachen%2Fcode_test_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudachen%2Fcode_test_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3cd8e04a9bb35e6baed8e5be88f6fe732826cf1d
[INFO] testing sudachen/code_test_rs against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudachen%2Fcode_test_rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sudachen/code_test_rs
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/sudachen/code_test_rs
[INFO] tweaked toml for git repo https://github.com/sudachen/code_test_rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sudachen/code_test_rs on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sudachen/code_test_rs 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.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sealed v0.4.0
[INFO] [stderr]   Downloaded rust_decimal_macros v1.27.0
[INFO] [stderr]   Downloaded synthez-codegen v0.2.0
[INFO] [stderr]   Downloaded terminal_size v0.2.3
[INFO] [stderr]   Downloaded is-terminal v0.4.1
[INFO] [stderr]   Downloaded rust_decimal v1.27.0
[INFO] [stderr]   Downloaded synthez v0.2.0
[INFO] [stderr]   Downloaded inventory v0.3.2
[INFO] [stderr]   Downloaded sealed v0.3.0
[INFO] [stderr]   Downloaded drain_filter_polyfill v0.1.2
[INFO] [stderr]   Downloaded async-trait v0.1.59
[INFO] [stderr]   Downloaded gherkin v0.13.0
[INFO] [stderr]   Downloaded cucumber-expressions v0.2.1
[INFO] [stderr]   Downloaded cucumber-codegen v0.15.3
[INFO] [stderr]   Downloaded ghost v0.1.6
[INFO] [stderr]   Downloaded smawk v0.3.1
[INFO] [stderr]   Downloaded synthez-core v0.2.0
[INFO] [stderr]   Downloaded console v0.15.2
[INFO] [stderr]   Downloaded typed-builder v0.10.0
[INFO] [stderr]   Downloaded nom_locate v4.0.0
[INFO] [stderr]   Downloaded uuid v1.2.2
[INFO] [stderr]   Downloaded cc v1.0.77
[INFO] [stderr]   Downloaded unicode-linebreak v0.1.4
[INFO] [stderr]   Downloaded cucumber v0.15.3
[INFO] [stderr]   Downloaded clap v4.0.29
[INFO] [stderr]   Downloaded sled v0.34.7
[INFO] [stderr]   Downloaded linux-raw-sys v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017
[INFO] running `Command { std: "docker" "start" "e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017", 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" "e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017", 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" "e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.105
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling libc v0.2.138
[INFO] [stderr]    Compiling serde_derive v1.0.149
[INFO] [stderr]    Compiling serde v1.0.149
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling once_cell v1.16.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling itoa v1.0.4
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling io-lifetimes v1.0.3
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling rustix v0.36.5
[INFO] [stderr]    Compiling serde_json v1.0.89
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.13
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling linux-raw-sys v0.1.3
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling peg-runtime v0.6.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling futures-io v0.3.25
[INFO] [stderr]    Compiling bytecount v0.6.3
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling thread_local v1.1.4
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling async-trait v0.1.59
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling smawk v0.3.1
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling peg-macros v0.6.3
[INFO] [stderr]    Compiling os_str_bytes v6.4.1
[INFO] [stderr]    Compiling rust_decimal v1.27.0
[INFO] [stderr]    Compiling time-macros v0.2.6
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]    Compiling clap_lex v0.3.0
[INFO] [stderr]    Compiling terminal_size v0.1.17
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling console v0.15.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.2
[INFO] [stderr]    Compiling regex v1.7.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.6
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling time v0.3.17
[INFO] [stderr]    Compiling peg v0.6.3
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling drain_filter_polyfill v0.1.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling rust_decimal_macros v1.27.0
[INFO] [stderr]    Compiling crossbeam v0.8.2
[INFO] [stderr]    Compiling is-terminal v0.4.1
[INFO] [stderr]    Compiling terminal_size v0.2.3
[INFO] [stderr]    Compiling nom_locate v4.0.0
[INFO] [stderr]    Compiling unicode-linebreak v0.1.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling sealed v0.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling ghost v0.1.6
[INFO] [stderr]    Compiling clap_derive v4.0.21
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling sealed v0.4.0
[INFO] [stderr]    Compiling textwrap v0.16.0
[INFO] [stderr]    Compiling synthez-core v0.2.0
[INFO] [stderr]    Compiling inventory v0.3.2
[INFO] [stderr]    Compiling synthez-codegen v0.2.0
[INFO] [stderr]    Compiling cucumber-expressions v0.2.1
[INFO] [stderr]    Compiling synthez v0.2.0
[INFO] [stderr]    Compiling clap v4.0.29
[INFO] [stderr]    Compiling cucumber-codegen v0.15.3
[INFO] [stderr]    Compiling futures-executor v0.3.25
[INFO] [stderr]    Compiling futures v0.3.25
[INFO] [stderr]    Compiling bstr v0.2.17
[INFO] [stderr]    Compiling uuid v1.2.2
[INFO] [stderr]    Compiling serde_bytes v0.11.7
[INFO] [stderr]    Compiling globset v0.4.9
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling bson v2.4.0
[INFO] [stderr]    Compiling ignore v0.4.18
[INFO] [stderr]    Compiling gherkin v0.13.0
[INFO] [stderr]    Compiling globwalk v0.8.1
[INFO] [stderr]    Compiling cucumber v0.15.3
[INFO] [stderr]    Compiling toybank v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.04s
[INFO] running `Command { std: "docker" "inspect" "e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017", 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" "e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling toybank v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.56s
[INFO] running `Command { std: "docker" "inspect" "e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017", 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" "e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/toybank-8f869c3404b5ca06)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test basic::test_csv_processing ... ok
[INFO] [stdout] client,available,held,total,locked
[INFO] [stdout] 1,1,0,1,false
[INFO] [stdout] 2,3.0000,0,3.0000,true
[INFO] [stdout] 3,3,0,3,false
[INFO] [stdout] test advanced::test_concurrent_csv_processing_2 ... ok
[INFO] [stdout] client,available,held,total,locked
[INFO] [stdout] 1,1,0,1,false
[INFO] [stdout] 2,3.0000,0,3.0000,true
[INFO] [stdout] 3,3,0,3,false
[INFO] [stdout] test advanced::test_concurrent_csv_processing_1 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/execute.rs (/opt/rustwide/target/debug/deps/execute-0486c4129bbe54ae)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test_basic.rs (/opt/rustwide/target/debug/deps/test_basic-ec339e1c6bf94d26)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] Feature: Csv Processing
[INFO] [stdout]   Rule: allow negative balance for dispute
[INFO] [stdout]     Scenario: dispute with insufficient balance
[INFO] [stdout]      ✔  Given new ledger
[INFO] [stdout]      ✔  When execute csv
[INFO] [stdout]      ✔  Then validate accounts
[INFO] [stdout]   Rule: default
[INFO] [stdout]     Scenario: predefined test
[INFO] [stdout]      ✔  Given new ledger
[INFO] [stdout]      ✔  When execute csv
[INFO] [stdout]      ✔  Then validate accounts
[INFO] [stdout]     Scenario: a little more complex flow
[INFO] [stdout]      ✔  Given new ledger
[INFO] [stdout]      ✔  When execute csv
[INFO] [stdout]      ✔  Then validate accounts
[INFO] [stdout] Feature: General Cases
[INFO] [stdout]   Scenario: Try to deposit funds
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 10.1 to 1
[INFO] [stdout]    ✔  Then account 1 has total 10.1 available 10.1 held 0
[INFO] [stdout]    ✔  When tx 2 deposit 1.03 to 1
[INFO] [stdout]    ✔  Then account 1 has total 11.13 available 11.13 held 0
[INFO] [stdout]   Scenario: Dispute and Resolve
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And dispute 1 for 1
[INFO] [stdout]    ✔  Then account 1 has total 1.1 available 0 held 1.1
[INFO] [stdout]    ✔  When resolve 1 for 1
[INFO] [stdout]    ✔  Then account 1 has total 1.1 available 1.1 held=0
[INFO] [stdout]   Scenario: Dispute and Chargeback
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And dispute 1 for 1
[INFO] [stdout]    ✔  Then account 1 has total 1.1 available 0 held 1.1
[INFO] [stdout]    ✔  When chargeback 1 for 1
[INFO] [stdout]    ✔  Then account 1 has total 0 available 0 held=0
[INFO] [stdout]    ✔  And account 1 is locked
[INFO] [stdout]   Scenario: Double deposit
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And tx 1 deposit 15 to 1 ignored
[INFO] [stdout]    ✔  Then account 1 has total 1.1 available 1.1 held 0
[INFO] [stdout]   Scenario: Double withdrawal
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And tx 2 withdrawal 1 from 1
[INFO] [stdout]    ✔  And tx 2 withdrawal 1 from 1 ignored
[INFO] [stdout]    ✔  Then account 1 has total 0.1 available 0.1 held 0
[INFO] [stdout]   Scenario: Dispute/resolve/chargeback a withdrawal transaction
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And tx 2 withdrawal 0.1 from 1
[INFO] [stdout]    ✔  And dispute 2 for 1 rejected
[INFO] [stdout]    ✔  And resolve 2 for 1 rejected
[INFO] [stdout]    ✔  And chargeback 2 for 1 rejected
[INFO] [stdout]    ✔  Then account 1 has total 1 available 1 held 0
[INFO] [stdout]   Scenario: Double dispute
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And dispute 1 for 1
[INFO] [stdout]    ✔  And dispute 1 for 1 ignored
[INFO] [stdout]    ✔  Then account 1 has total 1.1 available 0 held 1.1
[INFO] [stdout] [Summary]
[INFO] [stdout] 2 features
[INFO] [stdout] 2 rules
[INFO] [stdout] 10 scenarios (10 passed)
[INFO] [stdout] 48 steps (48 passed)
[INFO] [stdout] test test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test_with_file.rs (/opt/rustwide/target/debug/deps/test_with_file-bf893c748eceb08d)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] Feature: Csv Processing
[INFO] [stdout]   Rule: allow negative balance for dispute
[INFO] [stdout]     Scenario: dispute with insufficient balance
[INFO] [stdout]      ✔  Given new ledger
[INFO] [stdout]      ✔  When execute csv
[INFO] [stdout]      ✔  Then validate accounts
[INFO] [stdout]   Rule: default
[INFO] [stdout]     Scenario: predefined test
[INFO] [stdout]      ✔  Given new ledger
[INFO] [stdout]      ✔  When execute csv
[INFO] [stdout]      ✔  Then validate accounts
[INFO] [stdout]     Scenario: a little more complex flow
[INFO] [stdout]      ✔  Given new ledger
[INFO] [stdout]      ✔  When execute csv
[INFO] [stdout]      ✔  Then validate accounts
[INFO] [stdout] Feature: General Cases
[INFO] [stdout]   Scenario: Try to deposit funds
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 10.1 to 1
[INFO] [stdout]    ✔  Then account 1 has total 10.1 available 10.1 held 0
[INFO] [stdout]    ✔  When tx 2 deposit 1.03 to 1
[INFO] [stdout]    ✔  Then account 1 has total 11.13 available 11.13 held 0
[INFO] [stdout]   Scenario: Dispute and Resolve
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And dispute 1 for 1
[INFO] [stdout]    ✔  Then account 1 has total 1.1 available 0 held 1.1
[INFO] [stdout]    ✔  When resolve 1 for 1
[INFO] [stdout]    ✔  Then account 1 has total 1.1 available 1.1 held=0
[INFO] [stdout]   Scenario: Dispute and Chargeback
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And dispute 1 for 1
[INFO] [stdout]    ✔  Then account 1 has total 1.1 available 0 held 1.1
[INFO] [stdout]    ✔  When chargeback 1 for 1
[INFO] [stdout]    ✔  Then account 1 has total 0 available 0 held=0
[INFO] [stdout]    ✔  And account 1 is locked
[INFO] [stdout]   Scenario: Double deposit
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And tx 1 deposit 15 to 1 ignored
[INFO] [stdout]    ✔  Then account 1 has total 1.1 available 1.1 held 0
[INFO] [stdout]   Scenario: Double withdrawal
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And tx 2 withdrawal 1 from 1
[INFO] [stdout]    ✔  And tx 2 withdrawal 1 from 1 ignored
[INFO] [stdout]    ✔  Then account 1 has total 0.1 available 0.1 held 0
[INFO] [stdout]   Scenario: Dispute/resolve/chargeback a withdrawal transaction
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And tx 2 withdrawal 0.1 from 1
[INFO] [stdout]    ✔  And dispute 2 for 1 rejected
[INFO] [stdout]    ✔  And resolve 2 for 1 rejected
[INFO] [stdout]    ✔  And chargeback 2 for 1 rejected
[INFO] [stdout]    ✔  Then account 1 has total 1 available 1 held 0
[INFO] [stdout]   Scenario: Double dispute
[INFO] [stdout]    ✔  Given new ledger
[INFO] [stdout]    ✔  When tx 1 deposit 1.1 to 1
[INFO] [stdout]    ✔  And dispute 1 for 1
[INFO] [stdout]    ✔  And dispute 1 for 1 ignored
[INFO] [stdout]    ✔  Then account 1 has total 1.1 available 0 held 1.1
[INFO] [stdout] [Summary]
[INFO] [stdout] 2 features
[INFO] [stdout] 2 rules
[INFO] [stdout] 10 scenarios (10 passed)
[INFO] [stdout] 48 steps (48 passed)
[INFO] [stdout] Feature: Advanced Csv Processing
[INFO] [stdout]   Scenario: a little more complex flow
[INFO] [stdout]    ✘  Given new ledger tests/test.ledger
[INFO] [stdout]       Step failed:
[INFO] [stdout]       Defined: tests/features/advanced/csv.feature:3:5
[INFO] [stdout]       Matched: tests/suite/mod.rs:99:1
[INFO] [stdout]       Step panicked. Captured output: called `Result::unwrap()` on an `Err` value: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
[INFO] [stdout]   Scenario: reuse ledger
[INFO] [stdout]    ✘  Given existing ledger tests/test.ledger
[INFO] [stdout]       Step failed:
[INFO] [stdout]       Defined: tests/features/advanced/csv.feature:45:5
[INFO] [stdout]       Matched: tests/suite/mod.rs:107:1
[INFO] [stdout]       Step panicked. Captured output: called `Result::unwrap()` on an `Err` value: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
[INFO] [stdout] [Summary]
[INFO] [stdout] 1 feature
[INFO] [stdout] 2 scenarios (2 failed)
[INFO] [stdout] 2 steps (2 failed)
[INFO] [stdout] test test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test' (3142) panicked at tests/suite/mod.rs:228:5:
[INFO] [stdout] assertion `left == right` failed: 2 failed scenarios
[INFO] [stdout]   left: 2
[INFO] [stdout]  right: 0
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x567896b79a68 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x567896b79a68 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::trace_unsynchronized::<std[10d71ac2c42b111e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x567896b79a68 - std[10d71ac2c42b111e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x567896b79a68 - <<std[10d71ac2c42b111e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8fb95b77d25ab6c8]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x567896b90c0a - <core[8fb95b77d25ab6c8]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x567896b90c0a - core[8fb95b77d25ab6c8]::fmt::write
[INFO] [stdout]    6:     0x567896b7ea32 - std[10d71ac2c42b111e]::io::default_write_fmt::<alloc[a7ee25936407c584]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x567896b7ea32 - <alloc[a7ee25936407c584]::vec::Vec<u8> as std[10d71ac2c42b111e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x567896b55c56 - <std[10d71ac2c42b111e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x567896b55c56 - std[10d71ac2c42b111e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x567896b708c9 - std[10d71ac2c42b111e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5678964b657c - <alloc[a7ee25936407c584]::boxed::Box<dyn for<'a, 'b> core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9
[INFO] [stdout]   12:     0x5678964b657c - test[213991da798b1c03]::test_main_inner::<test[213991da798b1c03]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x567896b70a82 - <alloc[a7ee25936407c584]::boxed::Box<dyn for<'a, 'b> core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9
[INFO] [stdout]   14:     0x567896b70a82 - std[10d71ac2c42b111e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x567896b55d12 - std[10d71ac2c42b111e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x567896b4abe9 - std[10d71ac2c42b111e]::sys::backtrace::__rust_end_short_backtrace::<std[10d71ac2c42b111e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x567896b56aed - __rustc[3be9ba60078d4c86]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x567896b913cc - core[8fb95b77d25ab6c8]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x567896b912e3 - core[8fb95b77d25ab6c8]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:434:23
[INFO] [stdout]   20:     0x567896b8b74d - core[8fb95b77d25ab6c8]::panicking::assert_failed::<usize, usize>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x56789641f988 - test_with_file[587f820533b98176]::suite::succeeded_with::<test_with_file[587f820533b98176]::TheFactory>
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/suite/mod.rs:228:5
[INFO] [stdout]   22:     0x56789646cec3 - test_with_file[587f820533b98176]::test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/test_with_file.rs:18:5
[INFO] [stdout]   23:     0x5678964680b7 - test_with_file[587f820533b98176]::test::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/test_with_file.rs:16:10
[INFO] [stdout]   24:     0x5678963d98a6 - <test_with_file[587f820533b98176]::test::{closure#0} as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5678964a965b - <fn() -> core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5678964a965b - test[213991da798b1c03]::__rust_begin_short_backtrace::<core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>, fn() -> core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5678964b6ed5 - test[213991da798b1c03]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5678964b6ed5 - <core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5678964b6ed5 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}>, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5678964b6ed5 - std[10d71ac2c42b111e]::panicking::catch_unwind::<core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>, core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5678964b6ed5 - std[10d71ac2c42b111e]::panic::catch_unwind::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<test[213991da798b1c03]::run_test_in_process::{closure#0}>, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5678964b6ed5 - test[213991da798b1c03]::run_test_in_process
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5678964b6ed5 - test[213991da798b1c03]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5678964b07e4 - test[213991da798b1c03]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5678964b07e4 - std[10d71ac2c42b111e]::sys::backtrace::__rust_begin_short_backtrace::<test[213991da798b1c03]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5678964b9f52 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5678964b9f52 - <core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5678964b9f52 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5678964b9f52 - std[10d71ac2c42b111e]::panicking::catch_unwind::<(), core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5678964b9f52 - std[10d71ac2c42b111e]::panic::catch_unwind::<core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe<std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5678964b9f52 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5678964b9f52 - <std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1} as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x567896b78fdf - <alloc[a7ee25936407c584]::boxed::Box<dyn core[8fb95b77d25ab6c8]::ops::function::FnOnce<(), Output = ()> + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2275:9
[INFO] [stdout]   44:     0x567896b78fdf - <std[10d71ac2c42b111e]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x78680928caa4 - <unknown>
[INFO] [stdout]   46:     0x786809319a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test test_with_file`
[INFO] running `Command { std: "docker" "inspect" "e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017", kill_on_drop: false }`
[INFO] [stdout] e48639a6ba463a7b3e87c4c3c48da2e217acb91c8d2192cd6abc81d2a8b8a017
