[INFO] cloning repository https://github.com/TheWizardTower/off-chain-transactions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheWizardTower/off-chain-transactions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheWizardTower%2Foff-chain-transactions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheWizardTower%2Foff-chain-transactions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d43eb26e4e7bba3cd3d3f0a5699fa9043a02c25f [INFO] checking TheWizardTower/off-chain-transactions/d43eb26e4e7bba3cd3d3f0a5699fa9043a02c25f against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheWizardTower%2Foff-chain-transactions" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheWizardTower/off-chain-transactions on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheWizardTower/off-chain-transactions [INFO] finished tweaking git repo https://github.com/TheWizardTower/off-chain-transactions [INFO] tweaked toml for git repo https://github.com/TheWizardTower/off-chain-transactions written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TheWizardTower/off-chain-transactions 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5339ca56bd21b8d1be06acdd54ae0c9edd72765b441438c876831aff21bf81d [INFO] running `Command { std: "docker" "start" "-a" "d5339ca56bd21b8d1be06acdd54ae0c9edd72765b441438c876831aff21bf81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5339ca56bd21b8d1be06acdd54ae0c9edd72765b441438c876831aff21bf81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5339ca56bd21b8d1be06acdd54ae0c9edd72765b441438c876831aff21bf81d", kill_on_drop: false }` [INFO] [stdout] d5339ca56bd21b8d1be06acdd54ae0c9edd72765b441438c876831aff21bf81d [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6554913a16d5d3a48866b84f8085169e67aa45a7d848d84d658a06930347ce0 [INFO] running `Command { std: "docker" "start" "-a" "b6554913a16d5d3a48866b84f8085169e67aa45a7d848d84d658a06930347ce0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling rust_decimal_macros v1.34.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking csv-async v1.3.0 [INFO] [stderr] Checking off-chain-ledger v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (4 fixes) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/processing.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | while let Some(record) = records.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/processing.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1128:23 [INFO] [stdout] | [INFO] [stdout] 1128 | held: dec!(0.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1128 | held: vec!(0.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1127:28 [INFO] [stdout] | [INFO] [stdout] 1127 | available: dec!(150.00), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1127 | available: vec!(150.00), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1110:23 [INFO] [stdout] | [INFO] [stdout] 1110 | held: dec!(0.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1110 | held: vec!(0.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1109:28 [INFO] [stdout] | [INFO] [stdout] 1109 | available: dec!(50_000_000_000.00), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1109 | available: vec!(50_000_000_000.00), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1086:23 [INFO] [stdout] | [INFO] [stdout] 1086 | held: dec!(0.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1086 | held: vec!(0.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1085:28 [INFO] [stdout] | [INFO] [stdout] 1085 | available: dec!(50_000_000.00), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1085 | available: vec!(50_000_000.00), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1067:27 [INFO] [stdout] | [INFO] [stdout] 1067 | held: dec!(0.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1067 | held: vec!(0.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1066:32 [INFO] [stdout] | [INFO] [stdout] 1066 | available: dec!(10_000.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1066 | available: vec!(10_000.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1059:27 [INFO] [stdout] | [INFO] [stdout] 1059 | held: dec!(0.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1059 | held: vec!(0.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1058:32 [INFO] [stdout] | [INFO] [stdout] 1058 | available: dec!(1000.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1058 | available: vec!(1000.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1051:27 [INFO] [stdout] | [INFO] [stdout] 1051 | held: dec!(0.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1051 | held: vec!(0.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1050:32 [INFO] [stdout] | [INFO] [stdout] 1050 | available: dec!(600.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1050 | available: vec!(600.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1043:27 [INFO] [stdout] | [INFO] [stdout] 1043 | held: dec!(0.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1043 | held: vec!(0.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:1042:32 [INFO] [stdout] | [INFO] [stdout] 1042 | available: dec!(500.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1042 | available: vec!(500.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:968:29 [INFO] [stdout] | [INFO] [stdout] 968 | client_info.held -= dec!(50.0); [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 968 | client_info.held -= vec!(50.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:932:29 [INFO] [stdout] | [INFO] [stdout] 932 | client_info.held -= dec!(50.0); [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 932 | client_info.held -= vec!(50.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:931:34 [INFO] [stdout] | [INFO] [stdout] 931 | client_info.available += dec!(50.0); [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 931 | client_info.available += vec!(50.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:895:28 [INFO] [stdout] | [INFO] [stdout] 895 | client_info.held = dec!(100.0); [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 895 | client_info.held = vec!(100.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:894:33 [INFO] [stdout] | [INFO] [stdout] 894 | client_info.available = dec!(0.0); [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 894 | client_info.available = vec!(0.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:605:22 [INFO] [stdout] | [INFO] [stdout] 605 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 605 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:573:22 [INFO] [stdout] | [INFO] [stdout] 573 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 573 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:540:22 [INFO] [stdout] | [INFO] [stdout] 540 | amount: Some(dec!(50_000.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 540 | amount: Some(vec!(50_000.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:509:22 [INFO] [stdout] | [INFO] [stdout] 509 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 509 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:478:22 [INFO] [stdout] | [INFO] [stdout] 478 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 478 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:448:22 [INFO] [stdout] | [INFO] [stdout] 448 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 448 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:421:22 [INFO] [stdout] | [INFO] [stdout] 421 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 421 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:413:60 [INFO] [stdout] | [INFO] [stdout] 413 | .and_modify(|client_info| client_info.available += dec!(50.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 413 | .and_modify(|client_info| client_info.available += vec!(50.0)); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:343:23 [INFO] [stdout] | [INFO] [stdout] 343 | held: dec!(0.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 343 | held: vec!(0.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:342:28 [INFO] [stdout] | [INFO] [stdout] 342 | available: dec!(50.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 342 | available: vec!(50.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:324:22 [INFO] [stdout] | [INFO] [stdout] 324 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 324 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 115 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 105 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 95 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 85 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | amount: Some(dec!(50.0)), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 64 | amount: Some(vec!(50.0)), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | held: dec!(100.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 47 | held: vec!(100.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | available: dec!(500.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 46 | available: vec!(500.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | held: dec!(0.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 | held: vec!(0.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | available: dec!(0.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 38 | available: vec!(0.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | held: dec!(0.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 31 | held: vec!(0.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `dec` in this scope [INFO] [stdout] --> src/tests.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | available: dec!(50.0), [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/alloc/src/macros.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 | available: vec!(50.0), [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal_macros::dec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_default_ledger() -> HashMap { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_default_ledger() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | HashMap::from([ [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_default_transactions() -> HashMap { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_default_transactions() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | HashMap::from([ [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | tx_type: TransactionType::Withdrawal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | tx_type: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | disputed_status: TransactionStatus::Disputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | tx_type: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | tx_type: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | disputed_status: TransactionStatus::Disputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | tx_type: TransactionType::Withdrawal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | disputed_status: TransactionStatus::Chargebacked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | tx_type: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | disputed_status: TransactionStatus::Disputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:125:33 [INFO] [stdout] | [INFO] [stdout] 125 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:125:46 [INFO] [stdout] | [INFO] [stdout] 125 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:125:61 [INFO] [stdout] | [INFO] [stdout] 125 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:126:52 [INFO] [stdout] | [INFO] [stdout] 126 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | tx_type: TransactionType::Dispute, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | TransactionError::CannotDisputeNonexistantTransaction [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:150:36 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:157:61 [INFO] [stdout] | [INFO] [stdout] 157 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:158:52 [INFO] [stdout] | [INFO] [stdout] 158 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | tx_type: TransactionType::Resolve, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | TransactionError::CannotResolveNonexistantTransaction [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:189:46 [INFO] [stdout] | [INFO] [stdout] 189 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:190:39 [INFO] [stdout] | [INFO] [stdout] 190 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:190:52 [INFO] [stdout] | [INFO] [stdout] 190 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | tx_type: TransactionType::Chargeback, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | TransactionError::CannotChargebackNonexistantTransaction [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:214:36 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | let mut result = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:221:46 [INFO] [stdout] | [INFO] [stdout] 221 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:221:61 [INFO] [stdout] | [INFO] [stdout] 221 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:222:39 [INFO] [stdout] | [INFO] [stdout] 222 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:222:52 [INFO] [stdout] | [INFO] [stdout] 222 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | tx_type: TransactionType::Dispute, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 228 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | TransactionError::CannotDisputeTransactionForNonexistantCustomer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:246:36 [INFO] [stdout] | [INFO] [stdout] 246 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | assert_eq!(result, HashMap::from([])) [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | let mut result = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:253:33 [INFO] [stdout] | [INFO] [stdout] 253 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:253:46 [INFO] [stdout] | [INFO] [stdout] 253 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:253:61 [INFO] [stdout] | [INFO] [stdout] 253 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:254:39 [INFO] [stdout] | [INFO] [stdout] 254 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:254:52 [INFO] [stdout] | [INFO] [stdout] 254 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | tx_type: TransactionType::Resolve, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:261:26 [INFO] [stdout] | [INFO] [stdout] 261 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | TransactionError::CannotResolveTransactionForNonexistantCustomer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:278:36 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:279:24 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(result, HashMap::from([])) [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:284:22 [INFO] [stdout] | [INFO] [stdout] 284 | let mut result = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:285:33 [INFO] [stdout] | [INFO] [stdout] 285 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:285:46 [INFO] [stdout] | [INFO] [stdout] 285 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:285:61 [INFO] [stdout] | [INFO] [stdout] 285 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:286:39 [INFO] [stdout] | [INFO] [stdout] 286 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:286:52 [INFO] [stdout] | [INFO] [stdout] 286 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 288 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 289 | tx_type: TransactionType::Chargeback, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:293:26 [INFO] [stdout] | [INFO] [stdout] 293 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | TransactionError::CannotChargebackTransactionForNonexistantCustomer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:310:36 [INFO] [stdout] | [INFO] [stdout] 310 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:311:24 [INFO] [stdout] | [INFO] [stdout] 311 | assert_eq!(result, HashMap::from([])) [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:316:22 [INFO] [stdout] | [INFO] [stdout] 316 | let mut result = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:317:46 [INFO] [stdout] | [INFO] [stdout] 317 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:317:61 [INFO] [stdout] | [INFO] [stdout] 317 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:318:39 [INFO] [stdout] | [INFO] [stdout] 318 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:318:52 [INFO] [stdout] | [INFO] [stdout] 318 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | tx_type: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:336:36 [INFO] [stdout] | [INFO] [stdout] 336 | assert_eq!(transaction_ledger, HashMap::from([(1, record.clone())])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | HashMap::from([( [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | let mut result = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:353:33 [INFO] [stdout] | [INFO] [stdout] 353 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:353:46 [INFO] [stdout] | [INFO] [stdout] 353 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:353:61 [INFO] [stdout] | [INFO] [stdout] 353 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:354:39 [INFO] [stdout] | [INFO] [stdout] 354 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:354:52 [INFO] [stdout] | [INFO] [stdout] 354 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:356:18 [INFO] [stdout] | [INFO] [stdout] 356 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:357:18 [INFO] [stdout] | [INFO] [stdout] 357 | tx_type: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:360:24 [INFO] [stdout] | [INFO] [stdout] 360 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:373:31 [INFO] [stdout] | [INFO] [stdout] 373 | vec![(record.clone(), TransactionError::MissingAmountField)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:375:36 [INFO] [stdout] | [INFO] [stdout] 375 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:376:24 [INFO] [stdout] | [INFO] [stdout] 376 | assert_eq!(result, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:381:22 [INFO] [stdout] | [INFO] [stdout] 381 | let mut result = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:382:33 [INFO] [stdout] | [INFO] [stdout] 382 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:382:46 [INFO] [stdout] | [INFO] [stdout] 382 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:382:61 [INFO] [stdout] | [INFO] [stdout] 382 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:383:39 [INFO] [stdout] | [INFO] [stdout] 383 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:383:52 [INFO] [stdout] | [INFO] [stdout] 383 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:385:18 [INFO] [stdout] | [INFO] [stdout] 385 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:386:18 [INFO] [stdout] | [INFO] [stdout] 386 | tx_type: TransactionType::Withdrawal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:389:24 [INFO] [stdout] | [INFO] [stdout] 389 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:390:26 [INFO] [stdout] | [INFO] [stdout] 390 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 402 | vec![(record.clone(), TransactionError::MissingAmountField)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:404:36 [INFO] [stdout] | [INFO] [stdout] 404 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:405:24 [INFO] [stdout] | [INFO] [stdout] 405 | assert_eq!(result, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:414:33 [INFO] [stdout] | [INFO] [stdout] 414 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:414:46 [INFO] [stdout] | [INFO] [stdout] 414 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:414:61 [INFO] [stdout] | [INFO] [stdout] 414 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:415:39 [INFO] [stdout] | [INFO] [stdout] 415 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:415:52 [INFO] [stdout] | [INFO] [stdout] 415 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:418:18 [INFO] [stdout] | [INFO] [stdout] 418 | tx_type: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:422:26 [INFO] [stdout] | [INFO] [stdout] 422 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:434:36 [INFO] [stdout] | [INFO] [stdout] 434 | assert_eq!(transaction_ledger, HashMap::from([(1, record.clone())])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:441:33 [INFO] [stdout] | [INFO] [stdout] 441 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:441:46 [INFO] [stdout] | [INFO] [stdout] 441 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:441:61 [INFO] [stdout] | [INFO] [stdout] 441 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:442:39 [INFO] [stdout] | [INFO] [stdout] 442 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:442:52 [INFO] [stdout] | [INFO] [stdout] 442 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:444:18 [INFO] [stdout] | [INFO] [stdout] 444 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:445:18 [INFO] [stdout] | [INFO] [stdout] 445 | tx_type: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:449:26 [INFO] [stdout] | [INFO] [stdout] 449 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | TransactionError::CannotDepoistIntoLockedAccount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:466:36 [INFO] [stdout] | [INFO] [stdout] 466 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:474:18 [INFO] [stdout] | [INFO] [stdout] 474 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | tx_type: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:479:26 [INFO] [stdout] | [INFO] [stdout] 479 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:482:33 [INFO] [stdout] | [INFO] [stdout] 482 | let mut transaction_ledger: HashMap = HashMap::from([(1, record.clone())]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:482:46 [INFO] [stdout] | [INFO] [stdout] 482 | let mut transaction_ledger: HashMap = HashMap::from([(1, record.clone())]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:482:61 [INFO] [stdout] | [INFO] [stdout] 482 | let mut transaction_ledger: HashMap = HashMap::from([(1, record.clone())]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:483:38 [INFO] [stdout] | [INFO] [stdout] 483 | let expected_transaction_ledger: HashMap = transaction_ledger.clone(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:483:51 [INFO] [stdout] | [INFO] [stdout] 483 | let expected_transaction_ledger: HashMap = transaction_ledger.clone(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:484:39 [INFO] [stdout] | [INFO] [stdout] 484 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:484:52 [INFO] [stdout] | [INFO] [stdout] 484 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:486:31 [INFO] [stdout] | [INFO] [stdout] 486 | vec![(record.clone(), TransactionError::DuplicateTransactionId)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:505:18 [INFO] [stdout] | [INFO] [stdout] 505 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:506:18 [INFO] [stdout] | [INFO] [stdout] 506 | tx_type: TransactionType::Withdrawal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:510:26 [INFO] [stdout] | [INFO] [stdout] 510 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:513:33 [INFO] [stdout] | [INFO] [stdout] 513 | let mut transaction_ledger: HashMap = HashMap::from([(1, record.clone())]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:513:46 [INFO] [stdout] | [INFO] [stdout] 513 | let mut transaction_ledger: HashMap = HashMap::from([(1, record.clone())]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:513:61 [INFO] [stdout] | [INFO] [stdout] 513 | let mut transaction_ledger: HashMap = HashMap::from([(1, record.clone())]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:514:38 [INFO] [stdout] | [INFO] [stdout] 514 | let expected_transaction_ledger: HashMap = transaction_ledger.clone(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:514:51 [INFO] [stdout] | [INFO] [stdout] 514 | let expected_transaction_ledger: HashMap = transaction_ledger.clone(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:515:39 [INFO] [stdout] | [INFO] [stdout] 515 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:515:52 [INFO] [stdout] | [INFO] [stdout] 515 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:517:31 [INFO] [stdout] | [INFO] [stdout] 517 | vec![(record.clone(), TransactionError::DuplicateTransactionId)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:536:18 [INFO] [stdout] | [INFO] [stdout] 536 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:537:18 [INFO] [stdout] | [INFO] [stdout] 537 | tx_type: TransactionType::Withdrawal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:541:26 [INFO] [stdout] | [INFO] [stdout] 541 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:544:33 [INFO] [stdout] | [INFO] [stdout] 544 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:544:46 [INFO] [stdout] | [INFO] [stdout] 544 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:544:61 [INFO] [stdout] | [INFO] [stdout] 544 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:545:38 [INFO] [stdout] | [INFO] [stdout] 545 | let expected_transaction_ledger: HashMap = transaction_ledger.clone(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:545:51 [INFO] [stdout] | [INFO] [stdout] 545 | let expected_transaction_ledger: HashMap = transaction_ledger.clone(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:546:39 [INFO] [stdout] | [INFO] [stdout] 546 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:546:52 [INFO] [stdout] | [INFO] [stdout] 546 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:548:31 [INFO] [stdout] | [INFO] [stdout] 548 | vec![(record.clone(), TransactionError::CannotOverdrawByWithdrawal)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:566:33 [INFO] [stdout] | [INFO] [stdout] 566 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:566:46 [INFO] [stdout] | [INFO] [stdout] 566 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:566:61 [INFO] [stdout] | [INFO] [stdout] 566 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:567:39 [INFO] [stdout] | [INFO] [stdout] 567 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:567:52 [INFO] [stdout] | [INFO] [stdout] 567 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:569:18 [INFO] [stdout] | [INFO] [stdout] 569 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:570:18 [INFO] [stdout] | [INFO] [stdout] 570 | tx_type: TransactionType::Withdrawal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:574:26 [INFO] [stdout] | [INFO] [stdout] 574 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | TransactionError::CannotWithdrawFromLockedAccount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:591:36 [INFO] [stdout] | [INFO] [stdout] 591 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:598:33 [INFO] [stdout] | [INFO] [stdout] 598 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:598:46 [INFO] [stdout] | [INFO] [stdout] 598 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:598:61 [INFO] [stdout] | [INFO] [stdout] 598 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:599:39 [INFO] [stdout] | [INFO] [stdout] 599 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:599:52 [INFO] [stdout] | [INFO] [stdout] 599 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:601:18 [INFO] [stdout] | [INFO] [stdout] 601 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:602:18 [INFO] [stdout] | [INFO] [stdout] 602 | tx_type: TransactionType::Withdrawal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:606:26 [INFO] [stdout] | [INFO] [stdout] 606 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | TransactionError::CannotWithdrawFromNonexistantCustomer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:623:36 [INFO] [stdout] | [INFO] [stdout] 623 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:630:33 [INFO] [stdout] | [INFO] [stdout] 630 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:630:46 [INFO] [stdout] | [INFO] [stdout] 630 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:630:61 [INFO] [stdout] | [INFO] [stdout] 630 | let mut transaction_ledger: HashMap = HashMap::from([]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:631:39 [INFO] [stdout] | [INFO] [stdout] 631 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:631:52 [INFO] [stdout] | [INFO] [stdout] 631 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:633:18 [INFO] [stdout] | [INFO] [stdout] 633 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:634:18 [INFO] [stdout] | [INFO] [stdout] 634 | tx_type: TransactionType::Dispute, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:637:24 [INFO] [stdout] | [INFO] [stdout] 637 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:638:26 [INFO] [stdout] | [INFO] [stdout] 638 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | TransactionError::CannotDisputeTransactionForNonexistantCustomer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:655:36 [INFO] [stdout] | [INFO] [stdout] 655 | assert_eq!(transaction_ledger, HashMap::from([])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:663:18 [INFO] [stdout] | [INFO] [stdout] 663 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:664:18 [INFO] [stdout] | [INFO] [stdout] 664 | tx_type: TransactionType::Dispute, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:667:24 [INFO] [stdout] | [INFO] [stdout] 667 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:668:26 [INFO] [stdout] | [INFO] [stdout] 668 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:671:33 [INFO] [stdout] | [INFO] [stdout] 671 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:671:46 [INFO] [stdout] | [INFO] [stdout] 671 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:672:38 [INFO] [stdout] | [INFO] [stdout] 672 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:672:51 [INFO] [stdout] | [INFO] [stdout] 672 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:673:39 [INFO] [stdout] | [INFO] [stdout] 673 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:673:52 [INFO] [stdout] | [INFO] [stdout] 673 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | TransactionError::CannotDisputeAlreadyDisputedTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:696:18 [INFO] [stdout] | [INFO] [stdout] 696 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:697:18 [INFO] [stdout] | [INFO] [stdout] 697 | tx_type: TransactionType::Resolve, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:700:24 [INFO] [stdout] | [INFO] [stdout] 700 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:701:26 [INFO] [stdout] | [INFO] [stdout] 701 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:704:33 [INFO] [stdout] | [INFO] [stdout] 704 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:704:46 [INFO] [stdout] | [INFO] [stdout] 704 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:705:38 [INFO] [stdout] | [INFO] [stdout] 705 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:705:51 [INFO] [stdout] | [INFO] [stdout] 705 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:706:39 [INFO] [stdout] | [INFO] [stdout] 706 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:706:52 [INFO] [stdout] | [INFO] [stdout] 706 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | TransactionError::CannotResolveForLockedAccount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:729:18 [INFO] [stdout] | [INFO] [stdout] 729 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:730:18 [INFO] [stdout] | [INFO] [stdout] 730 | tx_type: TransactionType::Resolve, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:733:24 [INFO] [stdout] | [INFO] [stdout] 733 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:734:26 [INFO] [stdout] | [INFO] [stdout] 734 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:737:33 [INFO] [stdout] | [INFO] [stdout] 737 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:737:46 [INFO] [stdout] | [INFO] [stdout] 737 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:738:38 [INFO] [stdout] | [INFO] [stdout] 738 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:738:51 [INFO] [stdout] | [INFO] [stdout] 738 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:739:39 [INFO] [stdout] | [INFO] [stdout] 739 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:739:52 [INFO] [stdout] | [INFO] [stdout] 739 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:742:9 [INFO] [stdout] | [INFO] [stdout] 742 | TransactionError::CannotResolveUndisputedTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:762:18 [INFO] [stdout] | [INFO] [stdout] 762 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:763:18 [INFO] [stdout] | [INFO] [stdout] 763 | tx_type: TransactionType::Chargeback, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:766:24 [INFO] [stdout] | [INFO] [stdout] 766 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:767:26 [INFO] [stdout] | [INFO] [stdout] 767 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:770:33 [INFO] [stdout] | [INFO] [stdout] 770 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:770:46 [INFO] [stdout] | [INFO] [stdout] 770 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:771:38 [INFO] [stdout] | [INFO] [stdout] 771 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:771:51 [INFO] [stdout] | [INFO] [stdout] 771 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:772:39 [INFO] [stdout] | [INFO] [stdout] 772 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:772:52 [INFO] [stdout] | [INFO] [stdout] 772 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:775:9 [INFO] [stdout] | [INFO] [stdout] 775 | TransactionError::CannotChargebackUndisputedTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:795:18 [INFO] [stdout] | [INFO] [stdout] 795 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:796:18 [INFO] [stdout] | [INFO] [stdout] 796 | tx_type: TransactionType::Dispute, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:799:24 [INFO] [stdout] | [INFO] [stdout] 799 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:800:26 [INFO] [stdout] | [INFO] [stdout] 800 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:803:33 [INFO] [stdout] | [INFO] [stdout] 803 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:803:46 [INFO] [stdout] | [INFO] [stdout] 803 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:804:38 [INFO] [stdout] | [INFO] [stdout] 804 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:804:51 [INFO] [stdout] | [INFO] [stdout] 804 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:805:39 [INFO] [stdout] | [INFO] [stdout] 805 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:805:52 [INFO] [stdout] | [INFO] [stdout] 805 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:808:9 [INFO] [stdout] | [INFO] [stdout] 808 | TransactionError::DisputeTransactionClientIDDoesNotMatchRequestClientID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:828:18 [INFO] [stdout] | [INFO] [stdout] 828 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:829:18 [INFO] [stdout] | [INFO] [stdout] 829 | tx_type: TransactionType::Resolve, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:832:24 [INFO] [stdout] | [INFO] [stdout] 832 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:833:26 [INFO] [stdout] | [INFO] [stdout] 833 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:836:33 [INFO] [stdout] | [INFO] [stdout] 836 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:836:46 [INFO] [stdout] | [INFO] [stdout] 836 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:837:38 [INFO] [stdout] | [INFO] [stdout] 837 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:837:51 [INFO] [stdout] | [INFO] [stdout] 837 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:838:39 [INFO] [stdout] | [INFO] [stdout] 838 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:838:52 [INFO] [stdout] | [INFO] [stdout] 838 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:841:9 [INFO] [stdout] | [INFO] [stdout] 841 | TransactionError::ResolveTransactionClientIDDoesNotMatchRequestClientID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:861:18 [INFO] [stdout] | [INFO] [stdout] 861 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:862:18 [INFO] [stdout] | [INFO] [stdout] 862 | tx_type: TransactionType::Chargeback, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:865:24 [INFO] [stdout] | [INFO] [stdout] 865 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:866:26 [INFO] [stdout] | [INFO] [stdout] 866 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:869:33 [INFO] [stdout] | [INFO] [stdout] 869 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:869:46 [INFO] [stdout] | [INFO] [stdout] 869 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:870:38 [INFO] [stdout] | [INFO] [stdout] 870 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:870:51 [INFO] [stdout] | [INFO] [stdout] 870 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:871:39 [INFO] [stdout] | [INFO] [stdout] 871 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:871:52 [INFO] [stdout] | [INFO] [stdout] 871 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:874:9 [INFO] [stdout] | [INFO] [stdout] 874 | TransactionError::ChargebackTransactionClientIDDoesNotMatchRequestClientID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:898:18 [INFO] [stdout] | [INFO] [stdout] 898 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:899:18 [INFO] [stdout] | [INFO] [stdout] 899 | tx_type: TransactionType::Dispute, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:903:26 [INFO] [stdout] | [INFO] [stdout] 903 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:906:33 [INFO] [stdout] | [INFO] [stdout] 906 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:906:46 [INFO] [stdout] | [INFO] [stdout] 906 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:907:42 [INFO] [stdout] | [INFO] [stdout] 907 | let mut expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:907:55 [INFO] [stdout] | [INFO] [stdout] 907 | let mut expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:910:53 [INFO] [stdout] | [INFO] [stdout] 910 | .and_modify(|entry| entry.disputed_status = TransactionStatus::Disputed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:911:39 [INFO] [stdout] | [INFO] [stdout] 911 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:911:52 [INFO] [stdout] | [INFO] [stdout] 911 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:935:18 [INFO] [stdout] | [INFO] [stdout] 935 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:936:18 [INFO] [stdout] | [INFO] [stdout] 936 | tx_type: TransactionType::Resolve, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:940:26 [INFO] [stdout] | [INFO] [stdout] 940 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:943:33 [INFO] [stdout] | [INFO] [stdout] 943 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:943:46 [INFO] [stdout] | [INFO] [stdout] 943 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:944:42 [INFO] [stdout] | [INFO] [stdout] 944 | let mut expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:944:55 [INFO] [stdout] | [INFO] [stdout] 944 | let mut expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:947:53 [INFO] [stdout] | [INFO] [stdout] 947 | .and_modify(|entry| entry.disputed_status = TransactionStatus::Undisputed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:948:39 [INFO] [stdout] | [INFO] [stdout] 948 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:948:52 [INFO] [stdout] | [INFO] [stdout] 948 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:972:18 [INFO] [stdout] | [INFO] [stdout] 972 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:973:18 [INFO] [stdout] | [INFO] [stdout] 973 | tx_type: TransactionType::Chargeback, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:977:26 [INFO] [stdout] | [INFO] [stdout] 977 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:980:33 [INFO] [stdout] | [INFO] [stdout] 980 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:980:46 [INFO] [stdout] | [INFO] [stdout] 980 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:981:42 [INFO] [stdout] | [INFO] [stdout] 981 | let mut expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:981:55 [INFO] [stdout] | [INFO] [stdout] 981 | let mut expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:983:33 [INFO] [stdout] | [INFO] [stdout] 983 | entry.disputed_status = TransactionStatus::Chargebacked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:985:39 [INFO] [stdout] | [INFO] [stdout] 985 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:985:52 [INFO] [stdout] | [INFO] [stdout] 985 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:1005:18 [INFO] [stdout] | [INFO] [stdout] 1005 | let record = LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/tests.rs:1006:18 [INFO] [stdout] | [INFO] [stdout] 1006 | tx_type: TransactionType::Chargeback, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/tests.rs:1009:24 [INFO] [stdout] | [INFO] [stdout] 1009 | amount: None::, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use rust_decimal::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionStatus` [INFO] [stdout] --> src/tests.rs:1010:26 [INFO] [stdout] | [INFO] [stdout] 1010 | disputed_status: TransactionStatus::Undisputed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:1013:33 [INFO] [stdout] | [INFO] [stdout] 1013 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:1013:46 [INFO] [stdout] | [INFO] [stdout] 1013 | let mut transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/tests.rs:1014:38 [INFO] [stdout] | [INFO] [stdout] 1014 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:1014:51 [INFO] [stdout] | [INFO] [stdout] 1014 | let expected_transaction_ledger: HashMap = get_default_transactions(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LedgerEntry` in this scope [INFO] [stdout] --> src/tests.rs:1015:39 [INFO] [stdout] | [INFO] [stdout] 1015 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::LedgerEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionError` in this scope [INFO] [stdout] --> src/tests.rs:1015:52 [INFO] [stdout] | [INFO] [stdout] 1015 | let mut failed_transactions: Vec<(LedgerEntry, TransactionError)> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionError` [INFO] [stdout] --> src/tests.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1018 | TransactionError::CannotChargebackAlreadyChargebackedTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::TransactionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:1038:9 [INFO] [stdout] | [INFO] [stdout] 1038 | HashMap::from([ [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:1041:17 [INFO] [stdout] | [INFO] [stdout] 1041 | AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `off-chain-ledger` (bin "off-chain-ledger" test) due to 392 previous errors [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:1049:17 [INFO] [stdout] | [INFO] [stdout] 1049 | AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:1057:17 [INFO] [stdout] | [INFO] [stdout] 1057 | AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:1065:17 [INFO] [stdout] | [INFO] [stdout] 1065 | AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:1082:9 [INFO] [stdout] | [INFO] [stdout] 1082 | HashMap::from([( [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:1084:13 [INFO] [stdout] | [INFO] [stdout] 1084 | AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:1106:9 [INFO] [stdout] | [INFO] [stdout] 1106 | HashMap::from([( [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:1108:13 [INFO] [stdout] | [INFO] [stdout] 1108 | AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/tests.rs:1124:9 [INFO] [stdout] | [INFO] [stdout] 1124 | HashMap::from([( [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AccountInfo` in this scope [INFO] [stdout] --> src/tests.rs:1126:13 [INFO] [stdout] | [INFO] [stdout] 1126 | AccountInfo { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use crate::types::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 391 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b6554913a16d5d3a48866b84f8085169e67aa45a7d848d84d658a06930347ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6554913a16d5d3a48866b84f8085169e67aa45a7d848d84d658a06930347ce0", kill_on_drop: false }` [INFO] [stdout] b6554913a16d5d3a48866b84f8085169e67aa45a7d848d84d658a06930347ce0