There currently is one option to travel by night train from Gura Humorului (Romania) to Deva (Romania), taking approximately 10 hours: Namely the 1763 operated by CFR Călători.
CFR Călători is the passenger operator of the Romanian state railway. It runs domestic trains across Romania and international services to Hungary and Austria, including night trains.