The warning about category "sensors" is just a minor issue with the library manager.

But your code needs an opening brace after "void setup(void)"

it should be


void setup(void)
{