You must upgrade the compose comiler version or downgrade the kotlin version to make one compatible. If you decide to downgrade the kotlin version, you must choose one compatible with the compose compiler version you are using.
For the kotlin version you are using(1.9.24), the recommended compose compiler version is 1.5.14, and for the compose compiler version (1.3.2), you must use 1.7.2 kotlin version
For more understandings check out this link :
https://developer.android.com/jetpack/androidx/releases/compose-kotlin?hl=fr