Hi, during project compilation (maven 3.6.3, kotli...
# announcements
m
Hi, during project compilation (maven 3.6.3, kotlin 1.3.61) I received following error:
Copy code
[INFO] Possible cache corruption. Rebuilding. <http://com.intellij.util.io|com.intellij.util.io>.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted /builds/swb/api/api/target/kotlin-ic/compile/caches-jvm/inputs/source-snapshot.tab
<http://com.intellij.util.io|com.intellij.util.io>.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted /builds/swb/api/api/target/kotlin-ic/compile/caches-jvm/inputs/source-snapshot.tab
    at <http://com.intellij.util.io|com.intellij.util.io>.PersistentEnumeratorBase.<init>(PersistentEnumeratorBase.java:221)
    at <http://com.intellij.util.io|com.intellij.util.io>.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:73)
    at <http://com.intellij.util.io|com.intellij.util.io>.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:47)
    at <http://com.intellij.util.io|com.intellij.util.io>.PersistentHashMap.<init>(PersistentHashMap.java:163)
    at <http://com.intellij.util.io|com.intellij.util.io>.PersistentHashMap.<init>(PersistentHashMap.java:152)
    at <http://com.intellij.util.io|com.intellij.util.io>.PersistentHashMap.<init>(PersistentHashMap.java:143)
    at <http://com.intellij.util.io|com.intellij.util.io>.PersistentHashMap.<init>(PersistentHashMap.java:135)
    at <http://com.intellij.util.io|com.intellij.util.io>.PersistentHashMap.<init>(PersistentHashMap.java:128)
Problem occurs only on Gitlab-CI pipeline. Compilation on local machine works well. Can anybody help me to fix it?
­čĹÇ 1
a
This is some problem with incremental compilation cache corruption. It should help if you turn it off on CI (it doesn't make sense to compile incrementally on CI anyway): https://kotlinlang.org/docs/reference/using-maven.html#incremental-compilation. If it doesn't help, please file an issue at http://kotl.in/issue with some details to help investigation, such as build logs and project source, or at least Maven configuration files. Thanks.