fn check_incompatible_features(sess: &Session, features: &Features)