diff --git a/crates/next-core/src/next_client/context.rs b/crates/next-core/src/next_client/context.rs index 0537955af5ae6..2ec59af0d37eb 100644 --- a/crates/next-core/src/next_client/context.rs +++ b/crates/next-core/src/next_client/context.rs @@ -177,7 +177,6 @@ pub fn get_client_chunking_context( ) .hot_module_replacment() .build() - .into() } #[turbo_tasks::function] diff --git a/crates/next-core/src/nodejs/node_api_source.rs b/crates/next-core/src/nodejs/node_api_source.rs index 220c62a726890..b8740ed73e8ad 100644 --- a/crates/next-core/src/nodejs/node_api_source.rs +++ b/crates/next-core/src/nodejs/node_api_source.rs @@ -99,8 +99,7 @@ impl ContentSource for NodeApiContentSource { .cell(), *body, )) - .cell() - .into()); + .cell()); } else { return Ok(ContentSourceResult::NeedData { source: self_vc.into(), diff --git a/crates/next-core/src/nodejs/pool.rs b/crates/next-core/src/nodejs/pool.rs index 40f15cec6fabf..e6ed016c1300d 100644 --- a/crates/next-core/src/nodejs/pool.rs +++ b/crates/next-core/src/nodejs/pool.rs @@ -113,9 +113,9 @@ impl NodeJsPoolProcess { cmd.current_dir(cwd); cmd.arg(entrypoint); cmd.arg(&marker.marker); - cmd.arg(&OperationMarker::STEP); - cmd.arg(&OperationMarker::SUCCESS); - cmd.arg(&OperationMarker::ERROR); + cmd.arg(OperationMarker::STEP); + cmd.arg(OperationMarker::SUCCESS); + cmd.arg(OperationMarker::ERROR); cmd.env_clear(); cmd.env( "PATH", @@ -227,7 +227,7 @@ impl NodeJsPool { self.cwd.as_path(), &self.env, self.entrypoint.as_path(), - &*marker, + &marker, ); let fresh = spawn_blocking(move || NodeJsPoolProcess::start(cmd, marker)).await?; (fresh, permit) @@ -283,7 +283,7 @@ impl NodeJsOperation { let read = child.read_until(b'\n', buf)?; total_read += read; - match child.marker.read_event(&buf) { + match child.marker.read_event(buf) { Some((read, event)) => { buf.truncate(buf.len() - read); break Ok((total_read - read, event)); diff --git a/crates/next-core/src/server_rendered_source.rs b/crates/next-core/src/server_rendered_source.rs index 8e72da8136bc5..d956678374583 100644 --- a/crates/next-core/src/server_rendered_source.rs +++ b/crates/next-core/src/server_rendered_source.rs @@ -159,8 +159,7 @@ async fn create_server_rendered_source_for_file( intermediate_output_path.join("chunks"), get_client_assets_path(server_root, Value::new(ContextType::Pages { pages_dir })), ) - .build() - .into(); + .build(); Ok(if *is_api_path.await? { create_node_api_source(