pub fn build_plan( p: &Planner<'_>, lines: &[ListLine], shard_units: Option<&[Unit]>, ) -> Result<Plan, Fail>
Build the whole plan for one target and list.