You bestow a curse upon a 30-foot Cube within range, eating away metal within the area. Each object thinner than 3 inches in any dimension made of metal within the area is destroyed (including nonmagical shields, weapons, and ammunition). Objects that aren't completely destroyed by the spell become coated with a layer of rust. Each nonmagical suit of medium or heavy armor made of metal within the area instead takes a permanent -5 penalty to the AC it offers. If the penalty reduces the armor's AC to 10 or lower, it is destroyed. Otherwise, the armor seizes at the joints, and a creature wearing it becomes Restrained. A creature Restrained by the armor can use its Action to make a Strength check against your spell save DC, freeing itself on a success.
Objects made of silver, gold, platinum, mithril, and adamantine are unaffected by this spell.
Upcasting. You target an additional 30-foot Cube for each spell level above 4th. Each Cube must have at least one face adjacent to the face of another Cube, and must originate from a point within range.