Electrons keep accelerating due to the electric field (produced by the battery) along the circuit. So electrons gain kinetic energy, hence their drift velocity changes. But this is not the case: electrons flow in average with constant drift speed so they must lose kinetic energy. So how do electrons lose their kinetic energy in ideal wire?
Since there is no resistance in ideal wire, there would be no collisions. So how do electrons lose their kinetic energy?