I've been using Unity Burst compilation for years to great effect, but only now learned that the supported function signatures are completely different depending on whether they're entry points (marked with [BurstCompile]) or non-entry points (no attribute, but called from another Burst function).
So just adding [BurstCompile] to everything that should be Burst-compilable doesn't work, as you lose the ability to return structs on all such functions.
Not easy to tell from the docs or errors.