[INFO] cloning repository https://github.com/kirkl4nd/ledgemogger
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kirkl4nd/ledgemogger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirkl4nd%2Fledgemogger", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirkl4nd%2Fledgemogger'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b28117804e316c61e22f87b13a7358d046397dc4
[INFO] checking kirkl4nd/ledgemogger/b28117804e316c61e22f87b13a7358d046397dc4 against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirkl4nd%2Fledgemogger" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kirkl4nd/ledgemogger
[INFO] finished tweaking git repo https://github.com/kirkl4nd/ledgemogger
[INFO] tweaked toml for git repo https://github.com/kirkl4nd/ledgemogger written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kirkl4nd/ledgemogger on toolchain dc375db7d8df0aa450e622c529147c95eee756f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kirkl4nd/ledgemogger 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" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d7ef1d3317402126329eae517d07c6d7ba1e10db7e99e84cd213faf2d26d81d8
[INFO] running `Command { std: "docker" "start" "d7ef1d3317402126329eae517d07c6d7ba1e10db7e99e84cd213faf2d26d81d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7ef1d3317402126329eae517d07c6d7ba1e10db7e99e84cd213faf2d26d81d8" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7ef1d3317402126329eae517d07c6d7ba1e10db7e99e84cd213faf2d26d81d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7ef1d3317402126329eae517d07c6d7ba1e10db7e99e84cd213faf2d26d81d8" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking uuid v1.10.0
[INFO] [stderr]     Checking ledgemogger v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Purchase`
[INFO] [stdout]  --> src/main.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use purchase::{Purchase, PurchaseInput};
[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: `Purchase`
[INFO] [stdout]  --> src/main.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use purchase::{Purchase, PurchaseInput};
[INFO] [stdout]   |                ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `payments` is never read
[INFO] [stdout]   --> src/ledger.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Ledger {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub payments: Vec<Payment>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ledger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/ledger.rs:43:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Ledger {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn get_users(&self) -> Vec<User> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn lookup_user_by_id(&self, id: Uuid) -> Option<User> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn validate_user_id(&self, user_id: Uuid) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |     pub fn add_payment(&mut self, payment_input: PaymentInput) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn get_purchases(&self) -> Vec<Purchase> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn get_payments(&self) -> Vec<Payment> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn get_transactions(&self) -> Vec<Transaction> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn lookup_purchase_by_id(&self, id: Uuid) -> Option<Purchase> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn lookup_payment_by_id(&self, id: Uuid) -> Option<Payment> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn lookup_transaction_by_id(&self, id: Uuid) -> Option<Transaction> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaymentInput` is never constructed
[INFO] [stdout]  --> src/payment.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PaymentInput {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_payment` is never used
[INFO] [stdout]   --> src/payment.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl PaymentInput {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |     pub fn to_payment(self) -> Payment {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `amount`, `payer`, and `payee` are never read
[INFO] [stdout]   --> src/payment.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Payment {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 25 |     pub id: Uuid,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 26 |     pub amount: f64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 27 |     pub payer: Uuid,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 28 |     pub payee: Uuid,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Payment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_transaction` is never used
[INFO] [stdout]   --> src/payment.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Payment {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 32 |     pub fn to_transaction(&self) -> Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `title`, and `purchase_id` are never read
[INFO] [stdout]   --> src/purchase.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Purchase {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 28 |     pub id: Uuid,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 29 |     pub title: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub purchase_id: Uuid,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Purchase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/transaction.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Transaction {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 7 |     pub id: Uuid,
[INFO] [stdout]   |         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Transaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_user` is never used
[INFO] [stdout]   --> src/user.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl UserInput {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn to_user(self) -> User {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/user.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl User {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 33 |     pub fn new(username: String, name: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `payments` is never read
[INFO] [stdout]   --> src/ledger.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Ledger {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub payments: Vec<Payment>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ledger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/ledger.rs:43:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Ledger {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn get_users(&self) -> Vec<User> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn lookup_user_by_id(&self, id: Uuid) -> Option<User> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn validate_user_id(&self, user_id: Uuid) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |     pub fn add_payment(&mut self, payment_input: PaymentInput) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn get_purchases(&self) -> Vec<Purchase> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn get_payments(&self) -> Vec<Payment> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn get_transactions(&self) -> Vec<Transaction> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn lookup_purchase_by_id(&self, id: Uuid) -> Option<Purchase> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn lookup_payment_by_id(&self, id: Uuid) -> Option<Payment> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn lookup_transaction_by_id(&self, id: Uuid) -> Option<Transaction> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaymentInput` is never constructed
[INFO] [stdout]  --> src/payment.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PaymentInput {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_payment` is never used
[INFO] [stdout]   --> src/payment.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl PaymentInput {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |     pub fn to_payment(self) -> Payment {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `amount`, `payer`, and `payee` are never read
[INFO] [stdout]   --> src/payment.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Payment {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 25 |     pub id: Uuid,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 26 |     pub amount: f64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 27 |     pub payer: Uuid,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 28 |     pub payee: Uuid,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Payment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_transaction` is never used
[INFO] [stdout]   --> src/payment.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Payment {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 32 |     pub fn to_transaction(&self) -> Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `title`, and `purchase_id` are never read
[INFO] [stdout]   --> src/purchase.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Purchase {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 28 |     pub id: Uuid,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 29 |     pub title: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub purchase_id: Uuid,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Purchase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/transaction.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Transaction {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 7 |     pub id: Uuid,
[INFO] [stdout]   |         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Transaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_user` is never used
[INFO] [stdout]   --> src/user.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl UserInput {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn to_user(self) -> User {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/user.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl User {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 33 |     pub fn new(username: String, name: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.53s
[INFO] running `Command { std: "docker" "inspect" "d7ef1d3317402126329eae517d07c6d7ba1e10db7e99e84cd213faf2d26d81d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7ef1d3317402126329eae517d07c6d7ba1e10db7e99e84cd213faf2d26d81d8", kill_on_drop: false }`
[INFO] [stdout] d7ef1d3317402126329eae517d07c6d7ba1e10db7e99e84cd213faf2d26d81d8
