Preheat the oven to 450°F (230°C).
Remove the giblets and pat the chicken completely dry.
Mix the salt, paprika, garlic powder, onion powder, pepper, sugar, and thyme.
Loosen the skin and rub some spice mix onto the breast meat.
Coat the outside of the chicken with oil and the remaining rub.
Stuff the cavity with lemon and garlic.
Tie the legs together and tuck the wing tips under.
Place the chicken breast-side up on a rack in a roasting pan.
Roast for 15 minutes at 450°F.
Lower the heat to 375°F (190°C) and roast 55–65 minutes more.
Check that the breast reads 165°F and the thigh reads 175°F.
Rest the chicken for 15 minutes before carving.