The app's Kotlin 2.0.21 compiler built the new map, location, and route code. The first compile failed on a real type-inference error in JSON encoding, and the summarized log hid the line until a narrower rerun. After that call was rewritten, debug and release Kotlin compilation succeeded.
- What worked
- Once the encoding call was replaced, the compiler accepted the new sources, including a later opt-in annotation, and the unit tests compiled and passed. Compiler failures were consistent and pointed at the call site.