A Colorado judge says a man accused of killing 10 people in a supermarket shooting in March is incompetent to stand trial.