[INFO] cloning repository https://github.com/amanbm/payment-service
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amanbm/payment-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famanbm%2Fpayment-service", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famanbm%2Fpayment-service'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 92b1128ff53dd78e2e33266b4998e0df76e5d949
[INFO] checking amanbm/payment-service against master#ff647322379c48947c196639599067665ff9eb88 for pr-151539-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famanbm%2Fpayment-service" "/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/amanbm/payment-service
[INFO] finished tweaking git repo https://github.com/amanbm/payment-service
[INFO] tweaked toml for git repo https://github.com/amanbm/payment-service written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/amanbm/payment-service on toolchain ff647322379c48947c196639599067665ff9eb88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/amanbm/payment-service 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" "+ff647322379c48947c196639599067665ff9eb88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded figlet-rs v0.1.4
[INFO] [stderr]   Downloaded axum v0.5.5
[INFO] [stderr]   Downloaded syn v1.0.93
[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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2a7d4e84d579a7817192cd7f09c8d191486880175936543432eb25ee0ebf4718
[INFO] running `Command { std: "docker" "start" "2a7d4e84d579a7817192cd7f09c8d191486880175936543432eb25ee0ebf4718", 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" "2a7d4e84d579a7817192cd7f09c8d191486880175936543432eb25ee0ebf4718" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a7d4e84d579a7817192cd7f09c8d191486880175936543432eb25ee0ebf4718", 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" "2a7d4e84d579a7817192cd7f09c8d191486880175936543432eb25ee0ebf4718" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.93
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]     Checking figlet-rs v0.1.4
[INFO] [stderr]    Compiling prettyplease v0.1.10
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling prost-derive v0.10.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]     Checking tokio v1.18.2
[INFO] [stderr]     Checking axum-core v0.2.4
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]    Compiling prost v0.10.3
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]    Compiling prost-types v0.10.1
[INFO] [stderr]    Compiling prost-build v0.10.3
[INFO] [stderr]    Compiling tonic-build v0.7.2
[INFO] [stderr]    Compiling grpc_example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking tower v0.4.12
[INFO] [stderr]     Checking tower-http v0.3.3
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking axum v0.5.5
[INFO] [stderr]     Checking tonic v0.7.2
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/server.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let mut m = HashMap::new();
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/server.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `resp_message` is never read
[INFO] [stdout]    --> src/server.rs:173:32
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let mut resp_message = String::new();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 181 |             resp_message = format!("Welcome new user {}!", req.client_id);
[INFO] [stdout]     |             ------------ `resp_message` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client_id` is never read
[INFO] [stdout]  --> src/user_info.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct User {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 3 |     pub client_id: String,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` 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: variable `currEntry` should have a snake case name
[INFO] [stdout]    --> src/server.rs:202:17
[INFO] [stdout]     |
[INFO] [stdout] 202 |             let currEntry = map.get(&req.client_id).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^ help: convert the identifier to snake case: `curr_entry`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `client_name` is never read
[INFO] [stdout]   --> src/client.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut client_name = String::new();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 62 |         client_name = client_name_untrim.trim().into();
[INFO] [stdout]    |         ----------- `client_name` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let mut m = HashMap::new();
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `client_to_send` is never read
[INFO] [stdout]    --> src/client.rs:141:30
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let mut client_to_send = String::new();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 148 |     client_to_send = client_to_send_untrim.trim().into();
[INFO] [stdout]     |     -------------- `client_to_send` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sync_get_balance` is never used
[INFO] [stdout]   --> src/client.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn sync_get_balance (client_name: &String) -> Result<(), Box<dyn std::error::Error>> {
[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 `sync_sign_in` is never used
[INFO] [stdout]   --> src/client.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn sync_sign_in (client_name: &String) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sync_send_payment` is never used
[INFO] [stdout]   --> src/client.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn sync_send_payment (client_name: &String) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sync_all_users` is never used
[INFO] [stdout]   --> src/client.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn sync_all_users (client_name: &String) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sync_close_con` is never used
[INFO] [stdout]   --> src/client.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn sync_close_con (client_name: &String) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `client_name` is never read
[INFO] [stdout]   --> src/client.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut client_name = String::new();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 62 |         client_name = client_name_untrim.trim().into();
[INFO] [stdout]    |         ----------- `client_name` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `client_to_send` is never read
[INFO] [stdout]    --> src/client.rs:141:30
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let mut client_to_send = String::new();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 148 |     client_to_send = client_to_send_untrim.trim().into();
[INFO] [stdout]     |     -------------- `client_to_send` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sync_get_balance` is never used
[INFO] [stdout]   --> src/client.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn sync_get_balance (client_name: &String) -> Result<(), Box<dyn std::error::Error>> {
[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 `sync_sign_in` is never used
[INFO] [stdout]   --> src/client.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn sync_sign_in (client_name: &String) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sync_send_payment` is never used
[INFO] [stdout]   --> src/client.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn sync_send_payment (client_name: &String) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sync_all_users` is never used
[INFO] [stdout]   --> src/client.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn sync_all_users (client_name: &String) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sync_close_con` is never used
[INFO] [stdout]   --> src/client.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn sync_close_con (client_name: &String) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `resp_message` is never read
[INFO] [stdout]    --> src/server.rs:173:32
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let mut resp_message = String::new();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 181 |             resp_message = format!("Welcome new user {}!", req.client_id);
[INFO] [stdout]     |             ------------ `resp_message` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client_id` is never read
[INFO] [stdout]  --> src/user_info.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct User {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 3 |     pub client_id: String,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` 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: variable `currEntry` should have a snake case name
[INFO] [stdout]    --> src/server.rs:202:17
[INFO] [stdout]     |
[INFO] [stdout] 202 |             let currEntry = map.get(&req.client_id).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^ help: convert the identifier to snake case: `curr_entry`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.21s
[INFO] running `Command { std: "docker" "inspect" "2a7d4e84d579a7817192cd7f09c8d191486880175936543432eb25ee0ebf4718", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a7d4e84d579a7817192cd7f09c8d191486880175936543432eb25ee0ebf4718", kill_on_drop: false }`
[INFO] [stdout] 2a7d4e84d579a7817192cd7f09c8d191486880175936543432eb25ee0ebf4718
