fn pump<R: Read + Send + 'static>( stream: R, last_output: Arc<AtomicU64>, started: Instant, is_stderr: bool, ) -> JoinHandle<()>
Forwards a stream line by line, recording when each line arrived.