Kint works in pre_process but not in Twig
In php you use kint like this, kint($variable), but in twig you use kint like this, {{ kint(variable) }}.

This is the only problem I can spot by looking at your question.

Hope it helps.