Kotlin : Trust boundary violation