[INFO] cloning repository https://github.com/iamtommo/txn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamtommo/txn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamtommo%2Ftxn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamtommo%2Ftxn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 51140690ea84e049e4b5c5b483bef5ec5a5e86b4
[INFO] checking iamtommo/txn against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamtommo%2Ftxn" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iamtommo/txn
[INFO] finished tweaking git repo https://github.com/iamtommo/txn
[INFO] tweaked toml for git repo https://github.com/iamtommo/txn written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iamtommo/txn on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iamtommo/txn 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ee4e6f0fa519a7c6235ae71382776e88e2cbe67401bd626995841bb0167fb3f1
[INFO] running `Command { std: "docker" "start" "-a" "ee4e6f0fa519a7c6235ae71382776e88e2cbe67401bd626995841bb0167fb3f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee4e6f0fa519a7c6235ae71382776e88e2cbe67401bd626995841bb0167fb3f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee4e6f0fa519a7c6235ae71382776e88e2cbe67401bd626995841bb0167fb3f1", kill_on_drop: false }`
[INFO] [stdout] ee4e6f0fa519a7c6235ae71382776e88e2cbe67401bd626995841bb0167fb3f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29d4e2abf1e1c4107fe6532a1fb001f82544ad6b4252692932dcc6323c77a01d
[INFO] running `Command { std: "docker" "start" "-a" "29d4e2abf1e1c4107fe6532a1fb001f82544ad6b4252692932dcc6323c77a01d", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling rust_decimal v1.17.0
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]    Compiling rust_decimal_macros v1.17.0
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking txn v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `deposit`, `withdrawal`, `dispute`, `resolve`, and `chargeback` are never used
[INFO] [stdout]   --> src/main.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Txn {
[INFO] [stdout]    | -------- associated functions in this implementation
[INFO] [stdout] 52 |     fn new(txntype: TxnType, client: ClientId, tx: TxnId, amount: Option<Decimal>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn deposit(client: ClientId, tx: TxnId, amount: Decimal) -> Self {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn withdrawal(client: ClientId, tx: TxnId, amount: Decimal) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn dispute(client: ClientId, tx: TxnId) -> Self {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     fn resolve(client: ClientId, tx: TxnId) -> Self {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn chargeback(client: ClientId, tx: TxnId) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_balance` is never used
[INFO] [stdout]   --> src/main.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn get_balance(accounts: &Accounts, client: ClientId) -> Balance {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:220:5
[INFO] [stdout]     |
[INFO] [stdout] 220 |     writer.write_record(&["client", "available", "held", "total", "locked"]);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let _ = writer.write_record(&["client", "available", "held", "total", "locked"]);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         writer.serialize((client, balance.available, balance.held, balance.total, account.locked));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let _ = writer.serialize((client, balance.available, balance.held, balance.total, account.locked));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:225:5
[INFO] [stdout]     |
[INFO] [stdout] 225 |     writer.flush();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let _ = writer.flush();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]    --> src/main.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |     use rust_decimal::Decimal;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_account_mut`
[INFO] [stdout]    --> src/main.rs:266:55
[INFO] [stdout]     |
[INFO] [stdout] 266 |     use crate::{Accounts, ClientId, deposit, execute, get_account_mut, get_balance, is_locked, lock, Txn, TxnId, withdraw};
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CURRENCY_PRECISION` and `get_account_mut`
[INFO] [stdout]    --> src/main.rs:421:37
[INFO] [stdout]     |
[INFO] [stdout] 421 |     use crate::{Accounts, ClientId, CURRENCY_PRECISION, deposit, deserialize_record, get_account_mut, get_balance, Txn, TxnId, TxnT...
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:220:5
[INFO] [stdout]     |
[INFO] [stdout] 220 |     writer.write_record(&["client", "available", "held", "total", "locked"]);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let _ = writer.write_record(&["client", "available", "held", "total", "locked"]);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         writer.serialize((client, balance.available, balance.held, balance.total, account.locked));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let _ = writer.serialize((client, balance.available, balance.held, balance.total, account.locked));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:225:5
[INFO] [stdout]     |
[INFO] [stdout] 225 |     writer.flush();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let _ = writer.flush();
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.87s
[INFO] running `Command { std: "docker" "inspect" "29d4e2abf1e1c4107fe6532a1fb001f82544ad6b4252692932dcc6323c77a01d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29d4e2abf1e1c4107fe6532a1fb001f82544ad6b4252692932dcc6323c77a01d", kill_on_drop: false }`
[INFO] [stdout] 29d4e2abf1e1c4107fe6532a1fb001f82544ad6b4252692932dcc6323c77a01d
