What Luigi says works for me. I'm not sure why you need a type parameter, since you already specify the input as an Int list:
def incr(l: List[Int]): List[Int] = l.foldRight(List[Int]())((x,z) => (x+1) :: z) incr(List(1,2,3)) //> res0: List[Int] = List(2, 3, 4)
But on the side and not related to the actual question, if this is the intended result, an alternative way could be:
def incr2(l:List[Int]):List[Int] = l map (_+1)
source share