Suppressing the 'direct base ‘{anonymous}::S1’ inaccessible in ‘{anonymous}::D9’