[INFO] cloning repository https://github.com/AmirMahdiAmini/being
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AmirMahdiAmini/being" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmirMahdiAmini%2Fbeing", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmirMahdiAmini%2Fbeing'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da6a1a427a01c6634bbf8075d1bdefc43547ea28
[INFO] documenting AmirMahdiAmini/being against beta-2023-07-23 for beta-1.72-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmirMahdiAmini%2Fbeing" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AmirMahdiAmini/being on toolchain beta-2023-07-23
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-07-23" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AmirMahdiAmini/being
[INFO] finished tweaking git repo https://github.com/AmirMahdiAmini/being
[INFO] tweaked toml for git repo https://github.com/AmirMahdiAmini/being written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/AmirMahdiAmini/being 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" "+beta-2023-07-23" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-07-23" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ffc6135fca08abf74bdd69083475885c6bf145aadc0040263e483385b8a0f2d3
[INFO] running `Command { std: "docker" "start" "-a" "ffc6135fca08abf74bdd69083475885c6bf145aadc0040263e483385b8a0f2d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ffc6135fca08abf74bdd69083475885c6bf145aadc0040263e483385b8a0f2d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffc6135fca08abf74bdd69083475885c6bf145aadc0040263e483385b8a0f2d3", kill_on_drop: false }`
[INFO] [stdout] ffc6135fca08abf74bdd69083475885c6bf145aadc0040263e483385b8a0f2d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-07-23" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe93bca0eea23a847491268a6a21f15e8a44f4aef40449b7ab4169e54471ec45
[INFO] running `Command { std: "docker" "start" "-a" "fe93bca0eea23a847491268a6a21f15e8a44f4aef40449b7ab4169e54471ec45", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]     Checking once_cell v1.11.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.9
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]     Checking concurrent-queue v1.2.2
[INFO] [stderr]     Checking http v0.2.7
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking async-task v4.2.0
[INFO] [stderr]     Checking futures-lite v1.12.0
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]    Compiling which v4.2.5
[INFO] [stderr]     Checking async-channel v1.6.1
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking atomic-waker v1.0.0
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]     Checking async-mutex v1.4.0
[INFO] [stderr]    Compiling fixedbitset v0.4.1
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking async-lock v2.5.0
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]     Checking async-executor v1.4.1
[INFO] [stderr]     Checking blocking v1.2.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking data-encoding v2.3.2
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]     Checking tower-layer v0.3.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling openssl-sys v0.9.73
[INFO] [stderr]    Compiling prost-build v0.10.3
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]     Checking quickcheck v1.0.3
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]    Compiling petgraph v0.6.0
[INFO] [stderr]     Checking http-range-header v0.3.0
[INFO] [stderr]     Checking rustc_version v0.2.3
[INFO] [stderr]     Checking ahash v0.7.6
[INFO] [stderr]     Checking sha1_smol v1.0.0
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking cipher v0.4.3
[INFO] [stderr]     Checking sync_wrapper v0.1.1
[INFO] [stderr]     Checking matchit v0.5.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]     Checking sha1 v0.6.1
[INFO] [stderr]     Checking md-5 v0.10.1
[INFO] [stderr]     Checking pbkdf2 v0.10.1
[INFO] [stderr]     Checking rustls-pemfile v0.3.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking pem v1.0.2
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking zeroize v1.5.5
[INFO] [stderr]     Checking dtoa v0.4.8
[INFO] [stderr]     Checking time v0.3.9
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking bcrypt v0.13.0
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling prettyplease v0.1.10
[INFO] [stderr]     Checking webpki-roots v0.22.3
[INFO] [stderr]    Compiling ctor v0.1.22
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling prost-derive v0.10.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]     Checking mio v0.8.3
[INFO] [stderr]     Checking polling v2.2.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking async-io v1.6.0
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking os_info v3.3.0
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking tokio v1.18.2
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking async-process v1.4.0
[INFO] [stderr]     Checking async-global-executor v2.0.4
[INFO] [stderr]     Checking simple_asn1 v0.6.1
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking async-std v1.11.0
[INFO] [stderr]    Compiling prost v0.10.3
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]    Compiling prost-types v0.10.1
[INFO] [stderr]     Checking axum-core v0.2.4
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]    Compiling tonic-build v0.7.2
[INFO] [stderr]    Compiling being-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio-util v0.7.2
[INFO] [stderr]     Checking trust-dns-proto v0.21.2
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking tokio-util v0.6.10
[INFO] [stderr]     Checking tokio-rustls v0.23.4
[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 combine v4.6.4
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking serde_bytes v0.11.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_with v1.13.0
[INFO] [stderr]     Checking trust-dns-resolver v0.21.2
[INFO] [stderr]     Checking tower-http v0.3.3
[INFO] [stderr]     Checking bson v2.2.0
[INFO] [stderr]     Checking jsonwebtoken v8.1.0
[INFO] [stderr]     Checking async-std-resolver v0.21.2
[INFO] [stderr]     Checking mongodb v2.2.1
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking redis v0.21.5
[INFO] [stderr]     Checking axum v0.5.6
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking reqwest v0.11.10
[INFO] [stderr]     Checking tonic v0.7.2
[INFO] [stderr]  Documenting being-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `sms`
[INFO] [stdout]  --> src/app/pkg/mod.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod sms;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `sms`, create file "src/app/pkg/sms.rs" or "src/app/pkg/sms/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `sms`
[INFO] [stdout]  --> src/app/pkg/mod.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod sms;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `sms`, create file "src/app/pkg/sms.rs" or "src/app/pkg/sms/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::app::pkg::sms::Message`
[INFO] [stdout]  --> src/app/services/sms.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::app::pkg::sms::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Message` in `app::pkg::sms`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]   |
[INFO] [stdout] 1 | use prost::Message;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::app::pkg::sms::Message`
[INFO] [stdout]  --> src/app/services/sms.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::app::pkg::sms::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Message` in `app::pkg::sms`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]   |
[INFO] [stdout] 1 | use prost::Message;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `being-api`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2023-07-23-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type lib --crate-name beinglib src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=fb557b7d4a68e904 -L dependency=/opt/rustwide/target/debug/deps --extern bcrypt=/opt/rustwide/target/debug/deps/libbcrypt-2b6631fb7764f21e.rmeta --extern bson=/opt/rustwide/target/debug/deps/libbson-24ba912eea7b5292.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-049f3638a67c1499.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-628d7d0ce2b2e8ad.rmeta --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-364a9855ced7df39.rmeta --extern jsonwebtoken=/opt/rustwide/target/debug/deps/libjsonwebtoken-b9ca16995429685a.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-c7089bf01ac6e86c.rmeta --extern mongodb=/opt/rustwide/target/debug/deps/libmongodb-2b2f838ad41e88fa.rmeta --extern prost=/opt/rustwide/target/debug/deps/libprost-338687a325abd20a.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-fc759d4be35382bb.rmeta --extern redis=/opt/rustwide/target/debug/deps/libredis-506025fee322f773.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-dfbfc8d092d57920.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-0d451165ca9ae33f.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-eaa10bf18a87e5e4.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-729cf705f24e89d2.rmeta --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-61399141eb42ec5c.rmeta --extern tonic=/opt/rustwide/target/debug/deps/libtonic-fc0466acbc703777.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]   --> src/app/handlers/auth.rs:11:93
[INFO] [stdout]    |
[INFO] [stdout] 11 |       async fn signup(&self, request:Request<SignupRequest>)->Result<Response<Default>,Status>{
[INFO] [stdout]    |  _____________________________________________________________________________________________^
[INFO] [stdout] 12 | |         handler_logger("signup",request.remote_addr().unwrap().to_string());
[INFO] [stdout] 13 | |         AuthenticationService::signup(&self.collection,&request.into_inner()).await
[INFO] [stdout] 14 | |     }
[INFO] [stdout]    | |_____^ future created by async block is not `Send`
[INFO] [stdout]    |
[INFO] [stdout] note: opaque type is declared here
[INFO] [stdout]   --> src/app/services/sms.rs:8:60
[INFO] [stdout]    |
[INFO] [stdout] 8  |     pub async fn verify_sms(phone:&String,message:String)->Result<(),String>{
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: this item depends on auto traits of the hidden type, but may also be registering the hidden type. This is not supported right now. You can try moving the opaque type and the item that actually registers a hidden type into a new submodule
[INFO] [stdout]   --> src/app/handlers/auth.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     async fn signup(&self, request:Request<SignupRequest>)->Result<Response<Default>,Status>{
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] note: future is not `Send` as it awaits another future which is not `Send`
[INFO] [stdout]   --> src/app/services/auth.rs:64:23
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 match SMSAuthentication::verify_sms(&data.phone.clone(),String::from("خوش آمدید")).await{
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here on type `impl Future<Output = Result<(), std::string::String>>`, which is not `Send`
[INFO] [stdout]    = note: required for the cast from `Pin<Box<[async block@src/app/handlers/auth.rs:11:93: 14:6]>>` to `Pin<Box<(dyn Future<Output = Result<tonic::Response<being::Default>, tonic::Status>> + Send + 'async_trait)>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]    --> src/app/handlers/auth.rs:15:95
[INFO] [stdout]     |
[INFO] [stdout] 15  |       async fn signin(&self, request:Request<SigninRequest>) ->Result<Response<Default>,Status> {
[INFO] [stdout]     |  _______________________________________________________________________________________________^
[INFO] [stdout] 16  | |         handler_logger("signin",request.remote_addr().unwrap().to_string());
[INFO] [stdout] 17  | |         AuthenticationService::signin(&self.collection,&request.into_inner()).await
[INFO] [stdout] 18  | |     }
[INFO] [stdout]     | |_____^ future created by async block is not `Send`
[INFO] [stdout]     |
[INFO] [stdout] note: opaque type is declared here
[INFO] [stdout]    --> src/app/services/sms.rs:8:60
[INFO] [stdout]     |
[INFO] [stdout] 8   |     pub async fn verify_sms(phone:&String,message:String)->Result<(),String>{
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: this item depends on auto traits of the hidden type, but may also be registering the hidden type. This is not supported right now. You can try moving the opaque type and the item that actually registers a hidden type into a new submodule
[INFO] [stdout]    --> src/app/handlers/auth.rs:15:14
[INFO] [stdout]     |
[INFO] [stdout] 15  |     async fn signin(&self, request:Request<SigninRequest>) ->Result<Response<Default>,Status> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] note: future is not `Send` as it awaits another future which is not `Send`
[INFO] [stdout]    --> src/app/services/auth.rs:107:19
[INFO] [stdout]     |
[INFO] [stdout] 107 |             match SMSAuthentication::verify_sms(&user.phone.clone(),String::from("احراز هویت")).await{
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here on type `impl Future<Output = Result<(), std::string::String>>`, which is not `Send`
[INFO] [stdout]     = note: required for the cast from `Pin<Box<[async block@src/app/handlers/auth.rs:15:95: 18:6]>>` to `Pin<Box<(dyn Future<Output = Result<tonic::Response<being::Default>, tonic::Status>> + Send + 'async_trait)>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]    --> src/app/handlers/auth.rs:23:112
[INFO] [stdout]     |
[INFO] [stdout] 23  |       async fn forgot_password(&self, request:Request<ForgotPasswordRequest>) ->Result<Response<Default>,Status> {
[INFO] [stdout]     |  ________________________________________________________________________________________________________________^
[INFO] [stdout] 24  | |         handler_logger("forgot password",request.remote_addr().unwrap().to_string());
[INFO] [stdout] 25  | |         AuthenticationService::forgot_password(&self.collection,&request.into_inner()).await
[INFO] [stdout] 26  | |     }
[INFO] [stdout]     | |_____^ future created by async block is not `Send`
[INFO] [stdout]     |
[INFO] [stdout] note: opaque type is declared here
[INFO] [stdout]    --> src/app/services/sms.rs:8:60
[INFO] [stdout]     |
[INFO] [stdout] 8   |     pub async fn verify_sms(phone:&String,message:String)->Result<(),String>{
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: this item depends on auto traits of the hidden type, but may also be registering the hidden type. This is not supported right now. You can try moving the opaque type and the item that actually registers a hidden type into a new submodule
[INFO] [stdout]    --> src/app/handlers/auth.rs:23:14
[INFO] [stdout]     |
[INFO] [stdout] 23  |     async fn forgot_password(&self, request:Request<ForgotPasswordRequest>) ->Result<Response<Default>,Status> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] note: future is not `Send` as it awaits another future which is not `Send`
[INFO] [stdout]    --> src/app/services/auth.rs:197:15
[INFO] [stdout]     |
[INFO] [stdout] 197 |         match SMSAuthentication::verify_sms(&data.phone.clone(),String::from("تغییر رمز عبور")).await{
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here on type `impl Future<Output = Result<(), std::string::String>>`, which is not `Send`
[INFO] [stdout]     = note: required for the cast from `Pin<Box<[async block@src/app/handlers/auth.rs:23:112: 26:6]>>` to `Pin<Box<(dyn Future<Output = Result<tonic::Response<being::Default>, tonic::Status>> + Send + 'async_trait)>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `being-api` (lib) due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "fe93bca0eea23a847491268a6a21f15e8a44f4aef40449b7ab4169e54471ec45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe93bca0eea23a847491268a6a21f15e8a44f4aef40449b7ab4169e54471ec45", kill_on_drop: false }`
[INFO] [stdout] fe93bca0eea23a847491268a6a21f15e8a44f4aef40449b7ab4169e54471ec45
