Is your project configured (by someone) to run a linter as a build step?
If so, is that linter performing auto corrections? (Yikes!)
And if so, is that linter triggering on your structs that contain no instance properties?
(I’m familiar with SwiftLint which has a rule that suggests changing struct to enum when there are only static properties, but it doesn’t trigger on your Padding struct. Maybe a different linter does something similar but goes wrong in your case.)
Topic:
Programming Languages
SubTopic:
Swift