Here is a deeper explanation why such an error can happen http://stackoverflow.com/questions/16825328/slick-1-0-0-return-expression-from-for-comprehension/17100339#17100339 . Wanna know why here though :).