Yes.
But how close to the rear of the truck was it? It doesnt mean it wasnt at fault if the taxi got so close behind the rear that the truck driver couldnt see it or have room to stop.