[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] checking AdrianoHeller/rust-account-system against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdrianoHeller%2Frust-account-system" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AdrianoHeller/rust-account-system on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a221c226aab96f3db7f1bb33b00e44d4967bba3146b9833d0e6c4be07a75f015
[INFO] running `Command { std: "docker" "start" "-a" "a221c226aab96f3db7f1bb33b00e44d4967bba3146b9833d0e6c4be07a75f015", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a221c226aab96f3db7f1bb33b00e44d4967bba3146b9833d0e6c4be07a75f015", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a221c226aab96f3db7f1bb33b00e44d4967bba3146b9833d0e6c4be07a75f015", kill_on_drop: false }`
[INFO] [stdout] a221c226aab96f3db7f1bb33b00e44d4967bba3146b9833d0e6c4be07a75f015
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4e98e654f7678341cf1f0088b6fc526ccdb1e5ef731808fb015a924d6974bddf
[INFO] running `Command { std: "docker" "start" "-a" "4e98e654f7678341cf1f0088b6fc526ccdb1e5ef731808fb015a924d6974bddf", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking 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: 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: 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: 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: `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 3.00s
[INFO] running `Command { std: "docker" "inspect" "4e98e654f7678341cf1f0088b6fc526ccdb1e5ef731808fb015a924d6974bddf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e98e654f7678341cf1f0088b6fc526ccdb1e5ef731808fb015a924d6974bddf", kill_on_drop: false }`
[INFO] [stdout] 4e98e654f7678341cf1f0088b6fc526ccdb1e5ef731808fb015a924d6974bddf
