The answer depends on where the maneuver happens: you move ahead of a moving truck by leaving your lane, and you do it in an intersection. By definition this is passing, and passing is banned in intersections. The fact that the truck has its right turn signal on and is leaving your path changes nothing: it is still moving, and you are leaving your lane to get ahead of it. You need to stay behind the truck until it turns, then continue in your lane