On my third playthrough, I know that Danse simply ended up as a settler. On my second playthrough, I was Institute, which sorta meant everyone died.
I remember my first playthrough, I focused on the Minutemen and got X6 killed. This is my fourth playthrough of the game and I've honestly forgotten how that was possible.