The compiler gives a wrong (or at least misleading or partial) error message when using anything from Toybox.ActivityRecording:
Permission 'Fit' required for '$.Toybox.ActivityRecording'.
However I already have the "FIT Contributor" permission checked...