[INFO] cloning repository https://github.com/kodmanyagha/zero-knowledge-tutor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kodmanyagha/zero-knowledge-tutor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodmanyagha%2Fzero-knowledge-tutor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodmanyagha%2Fzero-knowledge-tutor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bdfb74c853e1ae0c440ab1c40985958f1ecb6af [INFO] testing kodmanyagha/zero-knowledge-tutor against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodmanyagha%2Fzero-knowledge-tutor" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kodmanyagha/zero-knowledge-tutor [INFO] finished tweaking git repo https://github.com/kodmanyagha/zero-knowledge-tutor [INFO] tweaked toml for git repo https://github.com/kodmanyagha/zero-knowledge-tutor written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kodmanyagha/zero-knowledge-tutor on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kodmanyagha/zero-knowledge-tutor 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.96 [INFO] [stderr] Downloaded bitflags v2.7.0 [INFO] [stderr] Downloaded dotenvy v0.15.7 [INFO] [stderr] Downloaded prettyplease v0.2.29 [INFO] [stderr] Downloaded tower v0.5.2 [INFO] [stderr] Downloaded axum-core v0.4.5 [INFO] [stderr] Downloaded env_logger v0.11.6 [INFO] [stderr] Downloaded prost v0.13.5 [INFO] [stderr] Downloaded tonic v0.12.3 [INFO] [stderr] Downloaded sync_wrapper v1.0.2 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded hyper-timeout v0.5.2 [INFO] [stderr] Downloaded prost-build v0.13.5 [INFO] [stderr] Downloaded prost-types v0.13.5 [INFO] [stderr] Downloaded pin-project-internal v1.1.8 [INFO] [stderr] Downloaded pin-project v1.1.8 [INFO] [stderr] Downloaded tonic-build v0.12.3 [INFO] [stderr] Downloaded prost-derive v0.13.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c292b51e2a71dd5485fe429b1c60f99340d788ec8aee9acf13c5d121db10084 [INFO] running `Command { std: "docker" "start" "-a" "1c292b51e2a71dd5485fe429b1c60f99340d788ec8aee9acf13c5d121db10084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c292b51e2a71dd5485fe429b1c60f99340d788ec8aee9acf13c5d121db10084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c292b51e2a71dd5485fe429b1c60f99340d788ec8aee9acf13c5d121db10084", kill_on_drop: false }` [INFO] [stdout] 1c292b51e2a71dd5485fe429b1c60f99340d788ec8aee9acf13c5d121db10084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 533d2d8c8321bd6792ee490ea957cc5a35044ac7b0bf019e656a8edb832b81d3 [INFO] running `Command { std: "docker" "start" "-a" "533d2d8c8321bd6792ee490ea957cc5a35044ac7b0bf019e656a8edb832b81d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling zkp_chaum_pedersen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `tonic_build::Builder::compile`: renamed to `compile_protos()` [INFO] [stdout] --> build.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | .compile(&["proto/zkp_auth.proto"], &["proto/"]) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/bin/server/grpc_impl/auth/auth_impl.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, HashMap}, [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 imports: `Auth`, `AuthenticationAnswerRequest`, `AuthenticationAnswerResponse`, `AuthenticationChallengeRequest`, `AuthenticationChallengeResponse`, `RegisterRequest`, and `RegisterResponse` [INFO] [stdout] --> src/bin/server/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | auth_server::{Auth, AuthServer}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | AuthenticationAnswerRequest, AuthenticationAnswerResponse, AuthenticationChallengeRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | AuthenticationChallengeResponse, RegisterRequest, RegisterResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/bin/client/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let client = AuthClient::connect("http://127.0.0.1:5051") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/server/grpc_impl/auth/auth_impl.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut user_info_map = &mut self.user_info.lock(); [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/bin/server/grpc_impl/auth/auth_impl.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut user_info_map = &mut self.user_info.lock(); [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/bin/server/grpc_impl/auth/auth_impl.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut auth_id_to_user = &mut self.auth_id_to_user.lock(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verification` [INFO] [stdout] --> src/bin/server/grpc_impl/auth/auth_impl.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let verification = zkp.verify( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/server/grpc_impl/auth/auth_impl.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut auth_id_to_user_map = &mut self.auth_id_to_user.lock(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.62s [INFO] running `Command { std: "docker" "inspect" "533d2d8c8321bd6792ee490ea957cc5a35044ac7b0bf019e656a8edb832b81d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533d2d8c8321bd6792ee490ea957cc5a35044ac7b0bf019e656a8edb832b81d3", kill_on_drop: false }` [INFO] [stdout] 533d2d8c8321bd6792ee490ea957cc5a35044ac7b0bf019e656a8edb832b81d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24f03fd0ac735a0be680d272808d9b85d54e42a4a2bd5ada0e9f975a93ceee71 [INFO] running `Command { std: "docker" "start" "-a" "24f03fd0ac735a0be680d272808d9b85d54e42a4a2bd5ada0e9f975a93ceee71", kill_on_drop: false }` [INFO] [stderr] Compiling zkp_chaum_pedersen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `tonic_build::Builder::compile`: renamed to `compile_protos()` [INFO] [stdout] --> build.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | .compile(&["proto/zkp_auth.proto"], &["proto/"]) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/bin/server/grpc_impl/auth/auth_impl.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, HashMap}, [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 imports: `Auth`, `AuthenticationAnswerRequest`, `AuthenticationAnswerResponse`, `AuthenticationChallengeRequest`, `AuthenticationChallengeResponse`, `RegisterRequest`, and `RegisterResponse` [INFO] [stdout] --> src/bin/server/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | auth_server::{Auth, AuthServer}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | AuthenticationAnswerRequest, AuthenticationAnswerResponse, AuthenticationChallengeRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | AuthenticationChallengeResponse, RegisterRequest, RegisterResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/server/grpc_impl/auth/auth_impl.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut user_info_map = &mut self.user_info.lock(); [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/bin/server/grpc_impl/auth/auth_impl.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut user_info_map = &mut self.user_info.lock(); [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/bin/server/grpc_impl/auth/auth_impl.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut auth_id_to_user = &mut self.auth_id_to_user.lock(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verification` [INFO] [stdout] --> src/bin/server/grpc_impl/auth/auth_impl.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let verification = zkp.verify( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/bin/client/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let client = AuthClient::connect("http://127.0.0.1:5051") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/server/grpc_impl/auth/auth_impl.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut auth_id_to_user_map = &mut self.auth_id_to_user.lock(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "24f03fd0ac735a0be680d272808d9b85d54e42a4a2bd5ada0e9f975a93ceee71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24f03fd0ac735a0be680d272808d9b85d54e42a4a2bd5ada0e9f975a93ceee71", kill_on_drop: false }` [INFO] [stdout] 24f03fd0ac735a0be680d272808d9b85d54e42a4a2bd5ada0e9f975a93ceee71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5eb14a6e2d77e7f5982f01eae2e0eed6e41141d04616a9d55d4b590bab3a28d6 [INFO] running `Command { std: "docker" "start" "-a" "5eb14a6e2d77e7f5982f01eae2e0eed6e41141d04616a9d55d4b590bab3a28d6", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `tonic_build::Builder::compile`: renamed to `compile_protos()` [INFO] [stderr] --> build.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | .compile(&["proto/zkp_auth.proto"], &["proto/"]) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `zkp_chaum_pedersen` (build script) generated 1 warning [INFO] [stderr] warning: unused import: `BTreeMap` [INFO] [stderr] --> src/bin/server/grpc_impl/auth/auth_impl.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | collections::{BTreeMap, HashMap}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Auth`, `AuthenticationAnswerRequest`, `AuthenticationAnswerResponse`, `AuthenticationChallengeRequest`, `AuthenticationChallengeResponse`, `RegisterRequest`, and `RegisterResponse` [INFO] [stderr] --> src/bin/server/main.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | auth_server::{Auth, AuthServer}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 10 | AuthenticationAnswerRequest, AuthenticationAnswerResponse, AuthenticationChallengeRequest, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | AuthenticationChallengeResponse, RegisterRequest, RegisterResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/server/grpc_impl/auth/auth_impl.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | let mut user_info_map = &mut self.user_info.lock(); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/server/grpc_impl/auth/auth_impl.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | let mut user_info_map = &mut self.user_info.lock(); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/server/grpc_impl/auth/auth_impl.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | let mut auth_id_to_user = &mut self.auth_id_to_user.lock(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `verification` [INFO] [stderr] --> src/bin/server/grpc_impl/auth/auth_impl.rs:118:17 [INFO] [stderr] | [INFO] [stderr] 118 | let verification = zkp.verify( [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/server/grpc_impl/auth/auth_impl.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | let mut auth_id_to_user_map = &mut self.auth_id_to_user.lock(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/bin/client/main.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let client = AuthClient::connect("http://127.0.0.1:5051") [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `zkp_chaum_pedersen` (bin "server" test) generated 7 warnings (run `cargo fix --bin "server" --tests` to apply 6 suggestions) [INFO] [stderr] warning: `zkp_chaum_pedersen` (bin "client" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zkp_chaum_pedersen-520c046e324b830a) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test::test_toy_example_with_random_numbers ... ok [INFO] [stdout] test test::test_toy_example ... ok [INFO] [stderr] Running unittests src/bin/client/main.rs (/opt/rustwide/target/debug/deps/client-36147e780b910115) [INFO] [stdout] test test::test_1024_bit_constants ... ok [INFO] [stderr] Running unittests src/bin/server/main.rs (/opt/rustwide/target/debug/deps/server-c835e44a55cae018) [INFO] [stdout] [INFO] [stderr] Doc-tests zkp_chaum_pedersen [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5eb14a6e2d77e7f5982f01eae2e0eed6e41141d04616a9d55d4b590bab3a28d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb14a6e2d77e7f5982f01eae2e0eed6e41141d04616a9d55d4b590bab3a28d6", kill_on_drop: false }` [INFO] [stdout] 5eb14a6e2d77e7f5982f01eae2e0eed6e41141d04616a9d55d4b590bab3a28d6