See Federal Rules of Criminal Procedure

Error or defect as affecting substantial rights, Rule 52.

Defects in indictment, Rule 7.

Waiver of error, Rules 12(b)(2) and 30.