[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] testing scrblue/transaction-processor against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrblue%2Ftransaction-processor" "/workspace/builds/worker-66/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-66/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scrblue/transaction-processor on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-66/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: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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 tokio-macros v1.4.1 [INFO] [stderr] Downloaded bstr v0.2.15 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded csv-async v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 063127ac2630ca0a5e31ed687c1f1e25c85feb7a36fad816bd707b4e7c94a382 [INFO] running `Command { std: "docker" "start" "-a" "063127ac2630ca0a5e31ed687c1f1e25c85feb7a36fad816bd707b4e7c94a382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "063127ac2630ca0a5e31ed687c1f1e25c85feb7a36fad816bd707b4e7c94a382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063127ac2630ca0a5e31ed687c1f1e25c85feb7a36fad816bd707b4e7c94a382", kill_on_drop: false }` [INFO] [stdout] 063127ac2630ca0a5e31ed687c1f1e25c85feb7a36fad816bd707b4e7c94a382 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b936c0a6f9b4f1d51e6c29114bf60ae20f067f471afdc14f0c75bc46c7d85175 [INFO] running `Command { std: "docker" "start" "-a" "b936c0a6f9b4f1d51e6c29114bf60ae20f067f471afdc14f0c75bc46c7d85175", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling csv-async v1.2.1 [INFO] [stderr] Compiling transaction_processor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/db_layer/sled_db.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(path: impl AsRef, buffer_size: usize) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DB_PATH` [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | const DB_PATH: &str = "./database"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.49s [INFO] running `Command { std: "docker" "inspect" "b936c0a6f9b4f1d51e6c29114bf60ae20f067f471afdc14f0c75bc46c7d85175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b936c0a6f9b4f1d51e6c29114bf60ae20f067f471afdc14f0c75bc46c7d85175", kill_on_drop: false }` [INFO] [stdout] b936c0a6f9b4f1d51e6c29114bf60ae20f067f471afdc14f0c75bc46c7d85175 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81d01f84e7b02e6872b0bfe14c1df9486e043f0c2dd14d684c531d3f7d01a149 [INFO] running `Command { std: "docker" "start" "-a" "81d01f84e7b02e6872b0bfe14c1df9486e043f0c2dd14d684c531d3f7d01a149", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling transaction_processor v0.1.0 (/opt/rustwide/workdir) [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning 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` due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "81d01f84e7b02e6872b0bfe14c1df9486e043f0c2dd14d684c531d3f7d01a149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81d01f84e7b02e6872b0bfe14c1df9486e043f0c2dd14d684c531d3f7d01a149", kill_on_drop: false }` [INFO] [stdout] 81d01f84e7b02e6872b0bfe14c1df9486e043f0c2dd14d684c531d3f7d01a149