Treasurer Jim Chalmers has painted a rocky outlook and highlighted "serious risks" for Australia's economy just weeks out from the mid-year budget update.