This was obvious from the start just looking at their refugee numbers and the fact that they didn't have enough experience with immigration.
This whole thing is a bit of a mindfuck for me because I can't find any logical reason for what Sweden has done. I think the government has actually acted out of pure humanity and accepted so many refugees without thinking through any of it and now they're paying the price.
Compare that with Canada who picks and chooses their immigrants and has a 100-year outlook on the future of their demography.