Japan earned a first pool match win in 31 years at the Women's Rugby World Cup after seeing off Spain 29-21 in York on Sunday. Spain finished its seventh World Cup without a win for the first time.