Build cache differs on CI and on local machines

Hi!

We have 100+ modules Android project.
The problem that we have different build cache keys for compile task at only one module (one of feature modules which only app module have in dependencies).
In the gradle scan we can see that the difference starts from ksp and kapt tasks.
In the logs output with org.gradle.caching.debug=true we can see difference in classpathSnapshotProperties.classpath and classpathSnapshotProperties.classpathSnapshot keys (both kapt and ksp).

But we can not see from what these keys appended because all parts of them are marked as ignored and have the same values.

Question: where should we look for the next?