The PHB's description of wish specifies a few different ways to use the spell:
The basic use of this spell is to duplicate any other spell of 8th level or lower. You don't need to meet any requirements in that spell, including costly components. The spell simply takes effect.
Alternatively, you can create one of the following effects of your choice:
Examples include: healing allies, creating a mundane item worth 25K gp, granting resistance from a damage type, granting immunity to a damage type for 8 hours, etc.
Then later in the spell description, it states this:
The stress of casting this spell to produce any effect other than duplicating another spell weakens you. [...]
Does that mean that if the caster creates a 25K gp diamond with wish, they still suffer the negative side effects?
I originally thought that since they were suggested ways to use the spell, they were consequence-free.