Sargun Vohra
05/10/2025, 6:16 AMw: KLIB resolver: The same 'unique_name=annotation_commonMain' found in more than one library: /Users/runner/work/maplibre-compose/maplibre-compose/lib/maplibre-compose/build/kotlinTransformedMetadataLibraries/commonMain/androidx.annotation-annotation-1.9.1-commonMain-WmoUwA.klib, /Users/runner/work/maplibre-compose/maplibre-compose/lib/maplibre-compose/build/kotlinTransformedMetadataLibraries/commonMain/org.jetbrains.compose.annotation-internal-annotation-1.8.0-commonMain-nX1O7g.klib
w: KLIB resolver: The same 'unique_name=collection_commonMain' found in more than one library: /Users/runner/work/maplibre-compose/maplibre-compose/lib/maplibre-compose/build/kotlinTransformedMetadataLibraries/nativeMain/androidx.collection-collection-1.5.0-commonMain-j7f1lg.klib, /Users/runner/work/maplibre-compose/maplibre-compose/lib/maplibre-compose/build/kotlinTransformedMetadataLibraries/nativeMain/org.jetbrains.compose.collection-internal-collection-1.8.0-commonMain-5vjmwQ.klib
> Task :lib:maplibre-compose:compileIosMainKotlinMetadata FAILED
Full CI log here: https://github.com/sargunv/maplibre-compose/actions/runs/14942414618/job/41981406361?pr=317#step:4:466
Looking at the dependency tree, it seems org.jetbrains.compose.collection-internal-collection-1.8.0 depends on androidx.collection-collection-1.5.0, and ditto for the annotation conflict, so sounds like this is likely to be a bug in Compose Multiplatform v1.8.0? Are there any workarounds?Sargun Vohra
05/10/2025, 6:37 AMcompilerOptions {
allWarningsAsErrors = false
}
Still, would be good to find a more targeted workaround, as I don't want to ignore all warnings in CI