Text this: Design method, performance evaluation, and tolerance analysis of the rectilinear cooling channel for a muon collider