Why front derailleur is rubbing crank arm?
Pic 1 shows that the outside plate of the FD is unnecessarily far out. It should just be a hair away from the chain when in big front and rear small. You'll have to adjust the limit screw quarter turn by quarter turn, so that the chain climbs on the big ring and does not rub against the outer plate. Also the outer plate should be parallel to the big ring.

On some bikes this adjustment can be a fiddly process requiring lots of patience. Also on YouTube check the videos from several pages like GCN or Park Tool.