Run ./i3-migrate-config-to-v4.pl < ~/.i3/config > /tmp/i3.config and see if /tmp/i3.config is fine (especially check the comments starting with XXX, they are inserted by the script).