[INFO] cloning repository https://github.com/AdrianoHeller/rust-account-system
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdrianoHeller/rust-account-system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdrianoHeller%2Frust-account-system", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdrianoHeller%2Frust-account-system'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6bf1195da417297d14a527598ed81a3e4118f98c
[INFO] testing AdrianoHeller/rust-account-system against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdrianoHeller%2Frust-account-system" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AdrianoHeller/rust-account-system
[INFO] finished tweaking git repo https://github.com/AdrianoHeller/rust-account-system
[INFO] tweaked toml for git repo https://github.com/AdrianoHeller/rust-account-system written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AdrianoHeller/rust-account-system on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AdrianoHeller/rust-account-system 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e2d089a5c3c949f437b5ab7f774a6da0c04e169d2bf243bf68611d6ef4e7152
[INFO] running `Command { std: "docker" "start" "-a" "0e2d089a5c3c949f437b5ab7f774a6da0c04e169d2bf243bf68611d6ef4e7152", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e2d089a5c3c949f437b5ab7f774a6da0c04e169d2bf243bf68611d6ef4e7152", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e2d089a5c3c949f437b5ab7f774a6da0c04e169d2bf243bf68611d6ef4e7152", kill_on_drop: false }`
[INFO] [stdout] 0e2d089a5c3c949f437b5ab7f774a6da0c04e169d2bf243bf68611d6ef4e7152
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ad4aec1258b394baffe7b5fbcae2d9007f319b1192505af779ffb9bcd162de8
[INFO] running `Command { std: "docker" "start" "-a" "0ad4aec1258b394baffe7b5fbcae2d9007f319b1192505af779ffb9bcd162de8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling finances v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::rngs::ThreadRng;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Associate`
[INFO] [stdout]  --> src/transaction.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{Associate, Hash};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::transaction::Transaction`
[INFO] [stdout]  --> src/action.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::transaction::Transaction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/transaction.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Transaction<'a> {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 10 |     id: &'a str,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     value: &'a f64,
[INFO] [stdout] 12 |     payment_method: &'a PaymentMethod,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     card_number: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 14 |     card_holder: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 15 |     good_thru: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     cvv: &'a str,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     is_blocked: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `insert`, `block_transaction`, and `revert_transaction` are never used
[INFO] [stdout]   --> src/transaction.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl<'b> TransactionList<'b> {
[INFO] [stdout]    | ---------------------------- methods in this implementation
[INFO] [stdout] 51 |     fn insert(&mut self,transaction: Transaction<'b> ) -> () {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `action_type` and `entity` are never read
[INFO] [stdout]   --> src/action.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Action<'a> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 18 |     action_type: &'a ActionType,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 19 |     entity: &'a ActionEntity,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/transaction.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction {
[INFO] [stdout]    |                          ^^^^^                                  ----------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction<'_> {
[INFO] [stdout]    |                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/transaction.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList {
[INFO] [stdout]    |                           ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList<'_> {
[INFO] [stdout]    |                                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransactionList`
[INFO] [stdout]  --> src/main.rs:1:57
[INFO] [stdout]   |
[INFO] [stdout] 1 | use finances::transaction::{PaymentMethod, Transaction, TransactionList};
[INFO] [stdout]   |                                                         ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.68s
[INFO] running `Command { std: "docker" "inspect" "0ad4aec1258b394baffe7b5fbcae2d9007f319b1192505af779ffb9bcd162de8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ad4aec1258b394baffe7b5fbcae2d9007f319b1192505af779ffb9bcd162de8", kill_on_drop: false }`
[INFO] [stdout] 0ad4aec1258b394baffe7b5fbcae2d9007f319b1192505af779ffb9bcd162de8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 17ac2703e547fc3b861485013149cde73c154bd6c83780283a253ac9051789d9
[INFO] running `Command { std: "docker" "start" "-a" "17ac2703e547fc3b861485013149cde73c154bd6c83780283a253ac9051789d9", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::rngs::ThreadRng;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Associate`
[INFO] [stdout]  --> src/transaction.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{Associate, Hash};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::transaction::Transaction`
[INFO] [stdout]  --> src/action.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::transaction::Transaction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/transaction.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Transaction<'a> {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 10 |     id: &'a str,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     value: &'a f64,
[INFO] [stdout] 12 |     payment_method: &'a PaymentMethod,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     card_number: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 14 |     card_holder: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 15 |     good_thru: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     cvv: &'a str,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     is_blocked: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `insert`, `block_transaction`, and `revert_transaction` are never used
[INFO] [stdout]   --> src/transaction.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl<'b> TransactionList<'b> {
[INFO] [stdout]    | ---------------------------- methods in this implementation
[INFO] [stdout] 51 |     fn insert(&mut self,transaction: Transaction<'b> ) -> () {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `action_type` and `entity` are never read
[INFO] [stdout]   --> src/action.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Action<'a> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 18 |     action_type: &'a ActionType,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 19 |     entity: &'a ActionEntity,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/transaction.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction {
[INFO] [stdout]    |                          ^^^^^                                  ----------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction<'_> {
[INFO] [stdout]    |                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling finances v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/transaction.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList {
[INFO] [stdout]    |                           ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList<'_> {
[INFO] [stdout]    |                                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransactionList`
[INFO] [stdout]  --> src/main.rs:1:57
[INFO] [stdout]   |
[INFO] [stdout] 1 | use finances::transaction::{PaymentMethod, Transaction, TransactionList};
[INFO] [stdout]   |                                                         ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::rngs::ThreadRng;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Associate`
[INFO] [stdout]  --> src/transaction.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{Associate, Hash};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::transaction::Transaction`
[INFO] [stdout]  --> src/action.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::transaction::Transaction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/transaction.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Transaction<'a> {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 10 |     id: &'a str,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     value: &'a f64,
[INFO] [stdout] 12 |     payment_method: &'a PaymentMethod,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     card_number: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 14 |     card_holder: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 15 |     good_thru: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     cvv: &'a str,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     is_blocked: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `insert`, `block_transaction`, and `revert_transaction` are never used
[INFO] [stdout]   --> src/transaction.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl<'b> TransactionList<'b> {
[INFO] [stdout]    | ---------------------------- methods in this implementation
[INFO] [stdout] 51 |     fn insert(&mut self,transaction: Transaction<'b> ) -> () {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `action_type` and `entity` are never read
[INFO] [stdout]   --> src/action.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Action<'a> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 18 |     action_type: &'a ActionType,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 19 |     entity: &'a ActionEntity,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/transaction.rs:55:26
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction {
[INFO] [stdout]    |                          ^^^^^                                  ----------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction<'_> {
[INFO] [stdout]    |                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/transaction.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList {
[INFO] [stdout]    |                           ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList<'_> {
[INFO] [stdout]    |                                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] running `Command { std: "docker" "inspect" "17ac2703e547fc3b861485013149cde73c154bd6c83780283a253ac9051789d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17ac2703e547fc3b861485013149cde73c154bd6c83780283a253ac9051789d9", kill_on_drop: false }`
[INFO] [stdout] 17ac2703e547fc3b861485013149cde73c154bd6c83780283a253ac9051789d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b24b49fb927d71f301e92c9509aad473436288f0f803a6af1d726965010bcb4a
[INFO] running `Command { std: "docker" "start" "-a" "b24b49fb927d71f301e92c9509aad473436288f0f803a6af1d726965010bcb4a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `rand::rngs::ThreadRng`
[INFO] [stderr]  --> src/lib.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use rand::rngs::ThreadRng;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Associate`
[INFO] [stderr]  --> src/transaction.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{Associate, Hash};
[INFO] [stderr]   |             ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::transaction::Transaction`
[INFO] [stderr]  --> src/action.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::transaction::Transaction;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> src/transaction.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 9  | pub struct Transaction<'a> {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 10 |     id: &'a str,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 11 |     value: &'a f64,
[INFO] [stderr] 12 |     payment_method: &'a PaymentMethod,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 13 |     card_number: &'a str,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 14 |     card_holder: &'a str,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 15 |     good_thru: &'a str,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 16 |     cvv: &'a str,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 17 |     is_blocked: bool,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `insert`, `block_transaction`, and `revert_transaction` are never used
[INFO] [stderr]   --> src/transaction.rs:51:8
[INFO] [stderr]    |
[INFO] [stderr] 50 | impl<'b> TransactionList<'b> {
[INFO] [stderr]    | ---------------------------- methods in this implementation
[INFO] [stderr] 51 |     fn insert(&mut self,transaction: Transaction<'b> ) -> () {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `action_type` and `entity` are never read
[INFO] [stderr]   --> src/action.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct Action<'a> {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] 18 |     action_type: &'a ActionType,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 19 |     entity: &'a ActionEntity,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/transaction.rs:55:26
[INFO] [stderr]    |
[INFO] [stderr] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction {
[INFO] [stderr]    |                          ^^^^^                                  ----------- the lifetime gets resolved as `'_`
[INFO] [stderr]    |                          |
[INFO] [stderr]    |                          this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 55 |     fn block_transaction(&self,transaction: &'b Transaction) -> Transaction<'_> {
[INFO] [stderr]    |                                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/transaction.rs:62:27
[INFO] [stderr]    |
[INFO] [stderr] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList {
[INFO] [stderr]    |                           ^^^^^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_`
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 62 |     fn revert_transaction(&mut self, transaction: &'b Transaction) -> TransactionList<'_> {
[INFO] [stderr]    |                                                                                      ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `finances` (lib) generated 8 warnings (run `cargo fix --lib -p finances` to apply 3 suggestions)
[INFO] [stderr] warning: unused import: `TransactionList`
[INFO] [stderr]  --> src/main.rs:1:57
[INFO] [stderr]   |
[INFO] [stderr] 1 | use finances::transaction::{PaymentMethod, Transaction, TransactionList};
[INFO] [stderr]   |                                                         ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `finances` (bin "finances" test) generated 1 warning (run `cargo fix --bin "finances" --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `finances` (lib test) generated 8 warnings (8 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/finances-03c31230e17aec27)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/finances-94fbdb1c695a64d6)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests finances
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b24b49fb927d71f301e92c9509aad473436288f0f803a6af1d726965010bcb4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b24b49fb927d71f301e92c9509aad473436288f0f803a6af1d726965010bcb4a", kill_on_drop: false }`
[INFO] [stdout] b24b49fb927d71f301e92c9509aad473436288f0f803a6af1d726965010bcb4a
