.unwrap_or_else(|e|format!("<unknown: {e}>")).header("Memfile full length"))*/)?;
}
(file,usize::try_from(read)
.wrap_err(eyre!("Failed to convert read bytes to `usize`")
.with_section(||read.header("Number of bytes was"))
.with_section(||u128::abs_diff(read.into(),usize::MAXasu128).header("Difference between `read` and `usize::MAX` is"))
.with_suggestion(||"It is likely you are running on a 32-bit ptr width machine and this input exceeds that of the maximum 32-bit unsigned integer value")
.with_note(||usize::MAX.header("Maximum value of `usize`")))?)
};
if_trace!(info!("collected {read} from stdin. starting write."));
letwritten=
io::copy(&mutfile,&mutio::stdout().lock())
.with_section(||read.header("Bytes read from stdin"))