diff --git a/iroh/src/node/builder.rs b/iroh/src/node/builder.rs index e29c96377a..fe226d74a5 100644 --- a/iroh/src/node/builder.rs +++ b/iroh/src/node/builder.rs @@ -32,8 +32,8 @@ use tracing::{debug, error, error_span, info, trace, warn, Instrument}; use crate::{ client::RPC_ALPN, - node::NodeInner, docs_engine::{DefaultAuthorStorage, Engine}, + node::NodeInner, rpc_protocol::{Request, Response, RpcService}, util::{fs::load_secret_key, path::IrohPaths}, }; @@ -379,7 +379,7 @@ where } } - async fn spawn_inner(self) -> Result> { + async fn spawn_inner(mut self) -> Result> { trace!("spawning node"); let lp = LocalPoolHandle::new(num_cpus::get());