A far-right Polish gunman killed six people in Krakow and three relatives at home before police arrested him, shocking the nation and prompting two days of national mourning by President Karol Nawrocki.