Time growing desperately short, House Republican efforts to pass legislation averting a Treasury default and ending a partial government shutdown collapsed Tuesday night, and one of the country's top ratings firms warned of a possible downgrade in the nation's creditworthiness.