[INFO] cloning repository https://github.com/scrblue/transaction-processor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scrblue/transaction-processor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrblue%2Ftransaction-processor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrblue%2Ftransaction-processor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e00b3b0cd24dabdeccb5dea56501b06418c43dca [INFO] checking scrblue/transaction-processor against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrblue%2Ftransaction-processor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scrblue/transaction-processor on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scrblue/transaction-processor [INFO] finished tweaking git repo https://github.com/scrblue/transaction-processor [INFO] tweaked toml for git repo https://github.com/scrblue/transaction-processor written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/scrblue/transaction-processor 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking scrblue/transaction-processor against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrblue%2Ftransaction-processor" "/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/scrblue/transaction-processor on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scrblue/transaction-processor [INFO] finished tweaking git repo https://github.com/scrblue/transaction-processor [INFO] tweaked toml for git repo https://github.com/scrblue/transaction-processor written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/scrblue/transaction-processor 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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking scrblue/transaction-processor against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrblue%2Ftransaction-processor" "/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/scrblue/transaction-processor on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scrblue/transaction-processor [INFO] finished tweaking git repo https://github.com/scrblue/transaction-processor [INFO] tweaked toml for git repo https://github.com/scrblue/transaction-processor written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/scrblue/transaction-processor 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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded instant v0.1.11 [INFO] [stderr] Downloaded async-trait v0.1.51 [INFO] [stderr] Downloaded futures-sink v0.3.17 [INFO] [stderr] Downloaded tokio-macros v1.4.1 [INFO] [stderr] Downloaded futures-executor v0.3.17 [INFO] [stderr] Downloaded futures-io v0.3.17 [INFO] [stderr] Downloaded futures-task v0.3.17 [INFO] [stderr] Downloaded futures-macro v0.3.17 [INFO] [stderr] Downloaded futures-channel v0.3.17 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded futures-core v0.3.17 [INFO] [stderr] Downloaded futures v0.3.17 [INFO] [stderr] Downloaded tokio-stream v0.1.7 [INFO] [stderr] Downloaded csv-async v1.2.1 [INFO] [stderr] Downloaded futures-util v0.3.17 [INFO] [stderr] Downloaded bstr v0.2.15 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded libc v0.2.103 [INFO] [stderr] Downloaded tokio v1.12.0 [INFO] [stderr] Downloaded syn v1.0.77 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dd88682b4d54405cda3f76fa4afc638ac8990f3d94bc76272123ee26f7cfe86 [INFO] running `Command { std: "docker" "start" "-a" "2dd88682b4d54405cda3f76fa4afc638ac8990f3d94bc76272123ee26f7cfe86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dd88682b4d54405cda3f76fa4afc638ac8990f3d94bc76272123ee26f7cfe86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd88682b4d54405cda3f76fa4afc638ac8990f3d94bc76272123ee26f7cfe86", kill_on_drop: false }` [INFO] [stdout] 2dd88682b4d54405cda3f76fa4afc638ac8990f3d94bc76272123ee26f7cfe86 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96f28f7d7b881847dd8e0ff1502c4606a820a86bf61bd76187d7e52023dfe8d7 [INFO] running `Command { std: "docker" "start" "-a" "96f28f7d7b881847dd8e0ff1502c4606a820a86bf61bd76187d7e52023dfe8d7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking csv-async v1.2.1 [INFO] [stderr] Checking transaction_processor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `mpsc` is imported redundantly [INFO] [stdout] --> src/reader/csv.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::{fs::File, sync::mpsc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `mpsc` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Transaction` is imported redundantly [INFO] [stdout] --> src/reader/csv.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] 6 | use crate::{HumanReadableTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | ty: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 103 | ty: Transaction::Deposit, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | ty: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 110 | ty: Transaction::Deposit, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | ty: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 117 | ty: Transaction::Deposit, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | ty: TransactionType::Withdrawal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 124 | ty: Transaction::Withdrawal, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | ty: TransactionType::Withdrawal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 131 | ty: Transaction::Withdrawal, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | ty: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 173 | ty: Transaction::Deposit, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | ty: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 180 | ty: Transaction::Deposit, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | ty: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 187 | ty: Transaction::Deposit, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | ty: TransactionType::Withdrawal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 194 | ty: Transaction::Withdrawal, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | ty: TransactionType::Withdrawal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 201 | ty: Transaction::Withdrawal, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | ty: TransactionType::Deposit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 240 | ty: Transaction::Deposit, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | ty: TransactionType::Dispute, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 247 | ty: Transaction::Dispute, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | ty: TransactionType::Resolve, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 254 | ty: Transaction::Resolve, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionType` [INFO] [stdout] --> src/reader/csv.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | ty: TransactionType::Chargeback, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TransactionType` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 261 | ty: Transaction::Chargeback, [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 81 + use crate::TransactionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mpsc` is imported redundantly [INFO] [stdout] --> src/reader/csv.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::{fs::File, sync::mpsc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `mpsc` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/reader/csv.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | use std::{convert::TryInto, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_processing.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(mut referenced_transaction) = referenced_transaction.as_mut() { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_processing.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | if let Some(mut referenced_transaction) = referenced_transaction.as_mut() { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_processing.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | if let Some(mut referenced_transaction) = referenced_transaction.as_mut() { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DB_PATH` is never used [INFO] [stdout] --> src/main.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const DB_PATH: &str = "./database"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/db_layer/sled_db.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SledDb { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(path: impl AsRef, buffer_size: usize) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/writer/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait ClientWriter { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | async fn close(self) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_processing.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(mut referenced_transaction) = referenced_transaction.as_mut() { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_processing.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | if let Some(mut referenced_transaction) = referenced_transaction.as_mut() { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_processing.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | if let Some(mut referenced_transaction) = referenced_transaction.as_mut() { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `transaction_processor` (bin "transaction_processor" test) due to 15 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96f28f7d7b881847dd8e0ff1502c4606a820a86bf61bd76187d7e52023dfe8d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f28f7d7b881847dd8e0ff1502c4606a820a86bf61bd76187d7e52023dfe8d7", kill_on_drop: false }` [INFO] [stdout] 96f28f7d7b881847dd8e0ff1502c4606a820a86bf61bd76187d7e52023dfe8d7