It will be interesting to see the career progression of today's young pilots over the next 40-50 years, assuming retirement age is raised to 70+. I seriously doubt the F/O position would still be viable at 2050-2060, and this would mean a mass cull of F/Os as the airlines renew their fleets in the future.
There's also the possibility of automation "dumbing down" the pilot's role to the point where the pilot becomes an extra flight attendant during cruise.