[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 beta-2025-09-21 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudachen%2Fcode_test_rs" "/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/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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sudachen/code_test_rs on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a13094e72e3c588ef20925b151299dc55763fe0201e90dd816b1f079dc92bd71
[INFO] running `Command { std: "docker" "start" "-a" "a13094e72e3c588ef20925b151299dc55763fe0201e90dd816b1f079dc92bd71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a13094e72e3c588ef20925b151299dc55763fe0201e90dd816b1f079dc92bd71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a13094e72e3c588ef20925b151299dc55763fe0201e90dd816b1f079dc92bd71", kill_on_drop: false }`
[INFO] [stdout] a13094e72e3c588ef20925b151299dc55763fe0201e90dd816b1f079dc92bd71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c6081e0ff7099c50bc271d9f1b3e6b429458366d43188488e9f111649735ddf7
[INFO] running `Command { std: "docker" "start" "-a" "c6081e0ff7099c50bc271d9f1b3e6b429458366d43188488e9f111649735ddf7", 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 ahash v0.7.6
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling itoa v1.0.4
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling once_cell v1.16.0
[INFO] [stderr]    Compiling io-lifetimes v1.0.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling serde_json v1.0.89
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling rustix v0.36.5
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.13
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling linux-raw-sys v0.1.3
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling regex v1.7.0
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling bytecount v0.6.3
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling futures-io v0.3.25
[INFO] [stderr]    Compiling peg-runtime v0.6.3
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling peg-macros v0.6.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling thread_local v1.1.4
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling os_str_bytes v6.4.1
[INFO] [stderr]    Compiling smawk v0.3.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling nom_locate v4.0.0
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]    Compiling async-trait v0.1.59
[INFO] [stderr]    Compiling rust_decimal v1.27.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling time-macros v0.2.6
[INFO] [stderr]    Compiling clap_lex v0.3.0
[INFO] [stderr]    Compiling is-terminal v0.4.1
[INFO] [stderr]    Compiling terminal_size v0.2.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling terminal_size v0.1.17
[INFO] [stderr]    Compiling peg v0.6.3
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling console v0.15.2
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling time v0.3.17
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling crossbeam-deque v0.8.2
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling crossbeam-channel v0.5.6
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling unicode-linebreak v0.1.4
[INFO] [stderr]    Compiling drain_filter_polyfill v0.1.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling crossbeam v0.8.2
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling rust_decimal_macros v1.27.0
[INFO] [stderr]    Compiling sealed v0.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]    Compiling synthez-core v0.2.0
[INFO] [stderr]    Compiling textwrap v0.16.0
[INFO] [stderr]    Compiling clap_derive v4.0.21
[INFO] [stderr]    Compiling synthez-codegen v0.2.0
[INFO] [stderr]    Compiling ghost v0.1.6
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling synthez v0.2.0
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling sealed v0.4.0
[INFO] [stderr]    Compiling inventory v0.3.2
[INFO] [stderr]    Compiling cucumber-expressions v0.2.1
[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 ignore v0.4.18
[INFO] [stderr]    Compiling bson v2.4.0
[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 1m 32s
[INFO] running `Command { std: "docker" "inspect" "c6081e0ff7099c50bc271d9f1b3e6b429458366d43188488e9f111649735ddf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6081e0ff7099c50bc271d9f1b3e6b429458366d43188488e9f111649735ddf7", kill_on_drop: false }`
[INFO] [stdout] c6081e0ff7099c50bc271d9f1b3e6b429458366d43188488e9f111649735ddf7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] caf6f4a79064182c3d0568c30f720c600201a43e6ab44c5ec226c83b73e8bc6b
[INFO] running `Command { std: "docker" "start" "-a" "caf6f4a79064182c3d0568c30f720c600201a43e6ab44c5ec226c83b73e8bc6b", kill_on_drop: false }`
[INFO] [stderr]    Compiling toybank v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 11.29s
[INFO] running `Command { std: "docker" "inspect" "caf6f4a79064182c3d0568c30f720c600201a43e6ab44c5ec226c83b73e8bc6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "caf6f4a79064182c3d0568c30f720c600201a43e6ab44c5ec226c83b73e8bc6b", kill_on_drop: false }`
[INFO] [stdout] caf6f4a79064182c3d0568c30f720c600201a43e6ab44c5ec226c83b73e8bc6b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3f9daf231f3217af301cc94e8d6889227128999132971e5976d318c7de0316b0
[INFO] running `Command { std: "docker" "start" "-a" "3f9daf231f3217af301cc94e8d6889227128999132971e5976d318c7de0316b0", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/toybank-376a4c640c60131c)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] client,available,held,total,locked
[INFO] [stdout] 3,3,0,3,false
[INFO] [stdout] 1,1,0,1,false
[INFO] [stdout] 2,3.0000,0,3.0000,true
[INFO] [stdout] test basic::test_csv_processing ... ok
[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.14s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/execute.rs (/opt/rustwide/target/debug/deps/execute-1cfb97d0368bf954)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running tests/test_basic.rs (/opt/rustwide/target/debug/deps/test_basic-5766e9b09ceb3726)
[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] [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.11s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test_with_file.rs (/opt/rustwide/target/debug/deps/test_with_file-9db9e79b33152f4b)
[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' (38) 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:     0x5a0318326de2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a0318326de2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a0318326de2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5a0318326de2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h67edf0e4d33c343c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5a0318338c7f - core::fmt::rt::Argument::fmt::hef94184842aeafdd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5a0318338c7f - core::fmt::write::hcf0c66b48a8fa606
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5a03182f19a1 - std::io::default_write_fmt::h69967ac0ba93195f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5a03182f19a1 - std::io::Write::write_fmt::h8db9396209deaa1c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5a03182fe952 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5a0318303e3f - std::panicking::default_hook::{{closure}}::h91001850288db5f7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5a0318303cd1 - std::panicking::default_hook::h2346dbb704ef5512
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5a0317c1fcce - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h18383b2e29377420
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   12:     0x5a0317c1fcce - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5a03183044ff - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6dba6e441651a0d1
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   14:     0x5a03183044ff - std::panicking::panic_with_hook::hd2b063a6090d23a4
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5a031830435a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5a03182fea89 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5a03182e4e0d - __rustc[1d67440d6e82e4f]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5a0318342e60 - core::panicking::panic_fmt::h420ddb7fd73daf53
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5a0318342cf3 - core::panicking::assert_failed_inner::h448e1d534f4c3d4b
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:434:23
[INFO] [stdout]   20:     0x5a0318342a47 - core::panicking::assert_failed::h87b296a5d40a0ee9
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x5a0317b9125f - test_with_file::suite::succeeded_with::h394bcb193a6a8c1c
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/suite/mod.rs:228:5
[INFO] [stdout]   22:     0x5a0317bf46a3 - test_with_file::test::h4547373386eedf05
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/test_with_file.rs:18:5
[INFO] [stdout]   23:     0x5a0317bf46c7 - test_with_file::test::{{closure}}::h87316d7f085177dd
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/test_with_file.rs:16:10
[INFO] [stdout]   24:     0x5a0317b69de6 - core::ops::function::FnOnce::call_once::h00ccb70a6e73c632
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a0317c1fa8b - core::ops::function::FnOnce::call_once::h70887edf07a630ba
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a0317c1fa8b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5a0317c356f5 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5a0317c356f5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x5a0317c356f5 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   30:     0x5a0317c356f5 - std::panicking::catch_unwind::hae1ec7bf94407afa
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   31:     0x5a0317c356f5 - std::panic::catch_unwind::h0f4ff4773d84d3cd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a0317c356f5 - test::run_test_in_process::h03fbc77ae48b3f10
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5a0317c356f5 - test::run_test::{{closure}}::h83476a9c453dc4d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5a0317c0bee4 - test::run_test::{{closure}}::h515482ad1e7fe7de
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5a0317c0bee4 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   36:     0x5a0317c0f7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   37:     0x5a0317c0f7aa - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x5a0317c0f7aa - std::panicking::catch_unwind::do_call::hdc29e11311eb7655
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   39:     0x5a0317c0f7aa - std::panicking::catch_unwind::h9e402d6a96fef41c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   40:     0x5a0317c0f7aa - std::panic::catch_unwind::h9213c0c54aec70e0
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a0317c0f7aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   42:     0x5a0317c0f7aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a03182f9bef - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h2044e71c41d3958a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   44:     0x5a03182f9bef - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17
[INFO] [stdout]   45:     0x7e9532d22aa4 - <unknown>
[INFO] [stdout]   46:     0x7e9532dafa34 - 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.58s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test test_with_file`
[INFO] running `Command { std: "docker" "inspect" "3f9daf231f3217af301cc94e8d6889227128999132971e5976d318c7de0316b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f9daf231f3217af301cc94e8d6889227128999132971e5976d318c7de0316b0", kill_on_drop: false }`
[INFO] [stdout] 3f9daf231f3217af301cc94e8d6889227128999132971e5976d318c7de0316b0
