[INFO] cloning repository https://github.com/vicsnet/Zero-Knowledge-proof-in-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vicsnet/Zero-Knowledge-proof-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvicsnet%2FZero-Knowledge-proof-in-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvicsnet%2FZero-Knowledge-proof-in-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8c5849e1ad57da56e8114efee1d467418d88988 [INFO] checking vicsnet/Zero-Knowledge-proof-in-rust 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%2Fvicsnet%2FZero-Knowledge-proof-in-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vicsnet/Zero-Knowledge-proof-in-rust [INFO] finished tweaking git repo https://github.com/vicsnet/Zero-Knowledge-proof-in-rust [INFO] tweaked toml for git repo https://github.com/vicsnet/Zero-Knowledge-proof-in-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vicsnet/Zero-Knowledge-proof-in-rust 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/vicsnet/Zero-Knowledge-proof-in-rust 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5a600bb5dba408ac307dee4bff56d71de0e4ced23bcf5e93a3832e8b0fef01d7 [INFO] running `Command { std: "docker" "start" "-a" "5a600bb5dba408ac307dee4bff56d71de0e4ced23bcf5e93a3832e8b0fef01d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a600bb5dba408ac307dee4bff56d71de0e4ced23bcf5e93a3832e8b0fef01d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a600bb5dba408ac307dee4bff56d71de0e4ced23bcf5e93a3832e8b0fef01d7", kill_on_drop: false }` [INFO] [stdout] 5a600bb5dba408ac307dee4bff56d71de0e4ced23bcf5e93a3832e8b0fef01d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 40e98d7819227bbc0981e6eecc0a2baecb3a024314b76ca0b436b8474ce837e9 [INFO] running `Command { std: "docker" "start" "-a" "40e98d7819227bbc0981e6eecc0a2baecb3a024314b76ca0b436b8474ce837e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Compiling prost-types v0.13.1 [INFO] [stderr] Compiling prost-build v0.13.1 [INFO] [stderr] Compiling tonic-build v0.12.1 [INFO] [stderr] Compiling kp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking tonic v0.12.1 [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:347:42 [INFO] [stdout] | [INFO] [stdout] 347 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 348 | | let method = RegisterSvc(inner); [INFO] [stdout] 349 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 350 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 360 | | Ok(res) [INFO] [stdout] 361 | | }; [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] --> src/./zkp_auth.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 360 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:398:42 [INFO] [stdout] | [INFO] [stdout] 398 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 399 | | let method = CreateAuthenticationChallengeSvc(inner); [INFO] [stdout] 400 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 401 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 411 | | Ok(res) [INFO] [stdout] 412 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:443:42 [INFO] [stdout] | [INFO] [stdout] 443 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 444 | | let method = VerifyAuthenticationSvc(inner); [INFO] [stdout] 445 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 446 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 456 | | Ok(res) [INFO] [stdout] 457 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:456:25 [INFO] [stdout] | [INFO] [stdout] 456 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:461:41 [INFO] [stdout] | [INFO] [stdout] 461 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 462 | | Ok( [INFO] [stdout] 463 | | http::Response::builder() [INFO] [stdout] 464 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 473 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | / Ok( [INFO] [stdout] 463 | | http::Response::builder() [INFO] [stdout] 464 | | .status(200) [INFO] [stdout] 465 | | .header("grpc-status", tonic::Code::Unimplemented as i32) [INFO] [stdout] ... | [INFO] [stdout] 471 | | .unwrap(), [INFO] [stdout] 472 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kp` (bin "client") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:347:42 [INFO] [stdout] | [INFO] [stdout] 347 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 348 | | let method = RegisterSvc(inner); [INFO] [stdout] 349 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 350 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 360 | | Ok(res) [INFO] [stdout] 361 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | let mut user_info_hashmap = &mut self.user_info.lock().unwrap(); [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] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 360 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:398:42 [INFO] [stdout] | [INFO] [stdout] 398 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 399 | | let method = CreateAuthenticationChallengeSvc(inner); [INFO] [stdout] 400 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 401 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 411 | | Ok(res) [INFO] [stdout] 412 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:443:42 [INFO] [stdout] | [INFO] [stdout] 443 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 444 | | let method = VerifyAuthenticationSvc(inner); [INFO] [stdout] 445 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 446 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 456 | | Ok(res) [INFO] [stdout] 457 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:456:25 [INFO] [stdout] | [INFO] [stdout] 456 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:461:41 [INFO] [stdout] | [INFO] [stdout] 461 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 462 | | Ok( [INFO] [stdout] 463 | | http::Response::builder() [INFO] [stdout] 464 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 473 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | / Ok( [INFO] [stdout] 463 | | http::Response::builder() [INFO] [stdout] 464 | | .status(200) [INFO] [stdout] 465 | | .header("grpc-status", tonic::Code::Unimplemented as i32) [INFO] [stdout] ... | [INFO] [stdout] 471 | | .unwrap(), [INFO] [stdout] 472 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | let mut user_info_hashmap = &mut self.user_info.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | let mut auth_id_to_user = &mut self.auth_id_to_user.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut auth_id_to_user_hashmap = &mut self.auth_id_to_user.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut user_info_hashmap = &mut self.user_info.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:347:42 [INFO] [stdout] | [INFO] [stdout] 347 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 348 | | let method = RegisterSvc(inner); [INFO] [stdout] 349 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 350 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 360 | | Ok(res) [INFO] [stdout] 361 | | }; [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] --> src/./zkp_auth.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 360 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:398:42 [INFO] [stdout] | [INFO] [stdout] 398 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 399 | | let method = CreateAuthenticationChallengeSvc(inner); [INFO] [stdout] 400 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 401 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 411 | | Ok(res) [INFO] [stdout] 412 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:443:42 [INFO] [stdout] | [INFO] [stdout] 443 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 444 | | let method = VerifyAuthenticationSvc(inner); [INFO] [stdout] 445 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 446 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 456 | | Ok(res) [INFO] [stdout] 457 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:456:25 [INFO] [stdout] | [INFO] [stdout] 456 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:461:41 [INFO] [stdout] | [INFO] [stdout] 461 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 462 | | Ok( [INFO] [stdout] 463 | | http::Response::builder() [INFO] [stdout] 464 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 473 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | / Ok( [INFO] [stdout] 463 | | http::Response::builder() [INFO] [stdout] 464 | | .status(200) [INFO] [stdout] 465 | | .header("grpc-status", tonic::Code::Unimplemented as i32) [INFO] [stdout] ... | [INFO] [stdout] 471 | | .unwrap(), [INFO] [stdout] 472 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kp` (bin "server" test) due to 8 previous errors; 5 warnings emitted [INFO] [stderr] error: could not compile `kp` (bin "client" test) due to 8 previous errors [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | let mut user_info_hashmap = &mut self.user_info.lock().unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | let mut user_info_hashmap = &mut self.user_info.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | let mut auth_id_to_user = &mut self.auth_id_to_user.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut auth_id_to_user_hashmap = &mut self.auth_id_to_user.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut user_info_hashmap = &mut self.user_info.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:347:42 [INFO] [stdout] | [INFO] [stdout] 347 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 348 | | let method = RegisterSvc(inner); [INFO] [stdout] 349 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 350 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 360 | | Ok(res) [INFO] [stdout] 361 | | }; [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] --> src/./zkp_auth.rs:360:25 [INFO] [stdout] | [INFO] [stdout] 360 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:398:42 [INFO] [stdout] | [INFO] [stdout] 398 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 399 | | let method = CreateAuthenticationChallengeSvc(inner); [INFO] [stdout] 400 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 401 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 411 | | Ok(res) [INFO] [stdout] 412 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:443:42 [INFO] [stdout] | [INFO] [stdout] 443 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 444 | | let method = VerifyAuthenticationSvc(inner); [INFO] [stdout] 445 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 446 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 456 | | Ok(res) [INFO] [stdout] 457 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:456:25 [INFO] [stdout] | [INFO] [stdout] 456 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:461:41 [INFO] [stdout] | [INFO] [stdout] 461 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 462 | | Ok( [INFO] [stdout] 463 | | http::Response::builder() [INFO] [stdout] 464 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 473 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/./zkp_auth.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | / Ok( [INFO] [stdout] 463 | | http::Response::builder() [INFO] [stdout] 464 | | .status(200) [INFO] [stdout] 465 | | .header("grpc-status", tonic::Code::Unimplemented as i32) [INFO] [stdout] ... | [INFO] [stdout] 471 | | .unwrap(), [INFO] [stdout] 472 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kp` (bin "server") due to 8 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "40e98d7819227bbc0981e6eecc0a2baecb3a024314b76ca0b436b8474ce837e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e98d7819227bbc0981e6eecc0a2baecb3a024314b76ca0b436b8474ce837e9", kill_on_drop: false }` [INFO] [stdout] 40e98d7819227bbc0981e6eecc0a2baecb3a024314b76ca0b436b8474ce837e9