Passage buys lawmakers time to craft measures to fund federal agencies, programs; If cap not raised by Oct. 18, the US probably will face financial crisis, treasury head warns