[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 try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famanbm%2Fpayment-service" "/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/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/amanbm/payment-service on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5d62ebde748759ed8f0448a97d4809272eb819dfbddfce9338d082f87f23de5 [INFO] running `Command { std: "docker" "start" "-a" "a5d62ebde748759ed8f0448a97d4809272eb819dfbddfce9338d082f87f23de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5d62ebde748759ed8f0448a97d4809272eb819dfbddfce9338d082f87f23de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d62ebde748759ed8f0448a97d4809272eb819dfbddfce9338d082f87f23de5", kill_on_drop: false }` [INFO] [stdout] a5d62ebde748759ed8f0448a97d4809272eb819dfbddfce9338d082f87f23de5 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23bee88a3a87fa9ba3be059d41846425a87e73238110d5b60182ceffe3e20738 [INFO] running `Command { std: "docker" "start" "-a" "23bee88a3a87fa9ba3be059d41846425a87e73238110d5b60182ceffe3e20738", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking figlet-rs v0.1.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling prost-build v0.10.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling petgraph v0.6.0 [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-stream-impl v0.3.3 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking axum-core v0.2.4 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.10.3 [INFO] [stderr] Compiling prost-types v0.10.1 [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: 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> { [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> { [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> { [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> { [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:319:42 [INFO] [stdout] | [INFO] [stdout] 319 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 320 | | let inner = inner.0; [INFO] [stdout] 321 | | let method = SendPaymentSvc(inner); [INFO] [stdout] 322 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 329 | | Ok(res) [INFO] [stdout] 330 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:359:42 [INFO] [stdout] | [INFO] [stdout] 359 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 360 | | let inner = inner.0; [INFO] [stdout] 361 | | let method = CheckBalanceSvc(inner); [INFO] [stdout] 362 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 369 | | Ok(res) [INFO] [stdout] 370 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 397 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 398 | | let inner = inner.0; [INFO] [stdout] 399 | | let method = CloseConnectionSvc(inner); [INFO] [stdout] 400 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 407 | | Ok(res) [INFO] [stdout] 408 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:435:42 [INFO] [stdout] | [INFO] [stdout] 435 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 436 | | let inner = inner.0; [INFO] [stdout] 437 | | let method = OpenConnectionSvc(inner); [INFO] [stdout] 438 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 445 | | Ok(res) [INFO] [stdout] 446 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:471:42 [INFO] [stdout] | [INFO] [stdout] 471 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 472 | | let inner = inner.0; [INFO] [stdout] 473 | | let method = GetUsersSvc(inner); [INFO] [stdout] 474 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 481 | | Ok(res) [INFO] [stdout] 482 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:486:41 [INFO] [stdout] | [INFO] [stdout] 486 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 487 | | Ok( [INFO] [stdout] 488 | | http::Response::builder() [INFO] [stdout] 489 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 495 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | / Ok( [INFO] [stdout] 488 | | http::Response::builder() [INFO] [stdout] 489 | | .status(200) [INFO] [stdout] 490 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 493 | | .unwrap(), [INFO] [stdout] 494 | | ) [INFO] [stdout] | |_________________________^ [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> { [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> { [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> { [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> { [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc_example` (bin "payments-client" test) due to 12 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:319:42 [INFO] [stdout] | [INFO] [stdout] 319 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 320 | | let inner = inner.0; [INFO] [stdout] 321 | | let method = SendPaymentSvc(inner); [INFO] [stdout] 322 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 329 | | Ok(res) [INFO] [stdout] 330 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:359:42 [INFO] [stdout] | [INFO] [stdout] 359 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 360 | | let inner = inner.0; [INFO] [stdout] 361 | | let method = CheckBalanceSvc(inner); [INFO] [stdout] 362 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 369 | | Ok(res) [INFO] [stdout] 370 | | }; [INFO] [stdout] | |_____________________^ [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] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 397 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 398 | | let inner = inner.0; [INFO] [stdout] 399 | | let method = CloseConnectionSvc(inner); [INFO] [stdout] 400 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 407 | | Ok(res) [INFO] [stdout] 408 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:435:42 [INFO] [stdout] | [INFO] [stdout] 435 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 436 | | let inner = inner.0; [INFO] [stdout] 437 | | let method = OpenConnectionSvc(inner); [INFO] [stdout] 438 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 445 | | Ok(res) [INFO] [stdout] 446 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:471:42 [INFO] [stdout] | [INFO] [stdout] 471 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 472 | | let inner = inner.0; [INFO] [stdout] 473 | | let method = GetUsersSvc(inner); [INFO] [stdout] 474 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 481 | | Ok(res) [INFO] [stdout] 482 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:486:41 [INFO] [stdout] | [INFO] [stdout] 486 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 487 | | Ok( [INFO] [stdout] 488 | | http::Response::builder() [INFO] [stdout] 489 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 495 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | / Ok( [INFO] [stdout] 488 | | http::Response::builder() [INFO] [stdout] 489 | | .status(200) [INFO] [stdout] 490 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 493 | | .unwrap(), [INFO] [stdout] 494 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:319:42 [INFO] [stdout] | [INFO] [stdout] 319 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 320 | | let inner = inner.0; [INFO] [stdout] 321 | | let method = SendPaymentSvc(inner); [INFO] [stdout] 322 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 329 | | Ok(res) [INFO] [stdout] 330 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:359:42 [INFO] [stdout] | [INFO] [stdout] 359 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 360 | | let inner = inner.0; [INFO] [stdout] 361 | | let method = CheckBalanceSvc(inner); [INFO] [stdout] 362 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 369 | | Ok(res) [INFO] [stdout] 370 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 397 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 398 | | let inner = inner.0; [INFO] [stdout] 399 | | let method = CloseConnectionSvc(inner); [INFO] [stdout] 400 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 407 | | Ok(res) [INFO] [stdout] 408 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:435:42 [INFO] [stdout] | [INFO] [stdout] 435 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 436 | | let inner = inner.0; [INFO] [stdout] 437 | | let method = OpenConnectionSvc(inner); [INFO] [stdout] 438 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 445 | | Ok(res) [INFO] [stdout] 446 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:471:42 [INFO] [stdout] | [INFO] [stdout] 471 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 472 | | let inner = inner.0; [INFO] [stdout] 473 | | let method = GetUsersSvc(inner); [INFO] [stdout] 474 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 481 | | Ok(res) [INFO] [stdout] 482 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:486:41 [INFO] [stdout] | [INFO] [stdout] 486 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 487 | | Ok( [INFO] [stdout] 488 | | http::Response::builder() [INFO] [stdout] 489 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 495 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | / Ok( [INFO] [stdout] 488 | | http::Response::builder() [INFO] [stdout] 489 | | .status(200) [INFO] [stdout] 490 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 493 | | .unwrap(), [INFO] [stdout] 494 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc_example` (bin "payments-client") due to 12 previous errors; 5 warnings emitted [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] [stderr] error: could not compile `grpc_example` (bin "payments-server") due to 12 previous errors; 4 warnings emitted [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: 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] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:319:42 [INFO] [stdout] | [INFO] [stdout] 319 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 320 | | let inner = inner.0; [INFO] [stdout] 321 | | let method = SendPaymentSvc(inner); [INFO] [stdout] 322 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 329 | | Ok(res) [INFO] [stdout] 330 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:359:42 [INFO] [stdout] | [INFO] [stdout] 359 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 360 | | let inner = inner.0; [INFO] [stdout] 361 | | let method = CheckBalanceSvc(inner); [INFO] [stdout] 362 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 369 | | Ok(res) [INFO] [stdout] 370 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:397:42 [INFO] [stdout] | [INFO] [stdout] 397 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 398 | | let inner = inner.0; [INFO] [stdout] 399 | | let method = CloseConnectionSvc(inner); [INFO] [stdout] 400 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 407 | | Ok(res) [INFO] [stdout] 408 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:435:42 [INFO] [stdout] | [INFO] [stdout] 435 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 436 | | let inner = inner.0; [INFO] [stdout] 437 | | let method = OpenConnectionSvc(inner); [INFO] [stdout] 438 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 445 | | Ok(res) [INFO] [stdout] 446 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 445 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:471:42 [INFO] [stdout] | [INFO] [stdout] 471 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 472 | | let inner = inner.0; [INFO] [stdout] 473 | | let method = GetUsersSvc(inner); [INFO] [stdout] 474 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 481 | | Ok(res) [INFO] [stdout] 482 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:486:41 [INFO] [stdout] | [INFO] [stdout] 486 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 487 | | Ok( [INFO] [stdout] 488 | | http::Response::builder() [INFO] [stdout] 489 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 495 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/grpc_example-f7d1df742c40edb6/out/payments.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | / Ok( [INFO] [stdout] 488 | | http::Response::builder() [INFO] [stdout] 489 | | .status(200) [INFO] [stdout] 490 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 493 | | .unwrap(), [INFO] [stdout] 494 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc_example` (bin "payments-server" test) due to 12 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23bee88a3a87fa9ba3be059d41846425a87e73238110d5b60182ceffe3e20738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23bee88a3a87fa9ba3be059d41846425a87e73238110d5b60182ceffe3e20738", kill_on_drop: false }` [INFO] [stdout] 23bee88a3a87fa9ba3be059d41846425a87e73238110d5b60182ceffe3e20738