Cannot use function in custom mix task defined in same app

Is Elixier a copy-paste mistake?