We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting errors from the Rust compiler and I don't know enough about Rust to troubleshoot.
27.91 warning: unused import: `path::PathBuf` 27.91 --> src/main.rs:26:28 27.91 | 27.91 26 | use std::{net::SocketAddr, path::PathBuf}; 27.91 | ^^^^^^^^^^^^^ 27.91 | 27.91 = note: `#[warn(unused_imports)]` on by default 27.91 28.69 error[E0308]: mismatched types 28.69 --> src/main.rs:229:28 28.69 | 28.69 229 | run_profiles_query(&arc, Duration::from_secs(60 * 10)) 28.69 | ------------------ ^^^^ expected `&RwLock<ServerConfigInstance>`, found `&Arc<ServerConfigWrapper>` 28.69 | | 28.69 | arguments to this function are incorrect 28.69 | 28.69 = note: expected reference `&tokio::sync::RwLock<ServerConfigInstance>` 28.69 found reference `&Arc<ServerConfigWrapper>` 28.69 note: function defined here 28.69 --> src/main.rs:1739:10 28.69 | 28.69 1739 | async fn run_profiles_query( 28.69 | ^^^^^^^^^^^^^^^^^^ 28.69 1740 | sc_mutex: &RwLock<ServerConfigInstance>, 28.69 | --------------------------------------- 28.69 28.69 error[E0308]: mismatched types 28.69 --> src/main.rs:248:40 28.69 | 28.69 248 | run_profiles_query(&update_profiles_task_arc, Duration::from_secs(60 * 10)) 28.69 | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&RwLock<ServerConfigInstance>`, found `&Arc<ServerConfigWrapper>` 28.69 | | 28.69 | arguments to this function are incorrect 28.69 | 28.69 = note: expected reference `&tokio::sync::RwLock<ServerConfigInstance>` 28.69 found reference `&Arc<ServerConfigWrapper>` 28.69 note: function defined here 28.69 --> src/main.rs:1739:10 28.69 | 28.69 1739 | async fn run_profiles_query( 28.69 | ^^^^^^^^^^^^^^^^^^ 28.69 1740 | sc_mutex: &RwLock<ServerConfigInstance>, 28.69 | --------------------------------------- 28.69 28.76 warning: unused import: `std::io::prelude` 28.76 --> src/main.rs:19:5 28.76 | 28.76 19 | use std::io::prelude::*; 28.76 | ^^^^^^^^^^^^^^^^ 28.76 28.95 For more information about this error, try `rustc --explain E0308`. 28.96 warning: `skyfeed-query-engine` (bin "skyfeed-query-engine") generated 2 warnings 28.96 error: could not compile `skyfeed-query-engine` (bin "skyfeed-query-engine") due to 2 previous errors; 2 warnings emitted
<\details>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm getting errors from the Rust compiler and I don't know enough about Rust to troubleshoot.
Error Output:
<\details>
The text was updated successfully, but these errors were encountered: