square / wire

gRPC and protocol buffers for Android, Kotlin, Swift and Java.
https://square.github.io/wire/
Apache License 2.0
4.23k stars 571 forks source link

Compile hang on 97% #3052

Open storytellerF opened 1 month ago

storytellerF commented 1 month ago

This is my repository https://github.com/storytellerF/Bi2. When I complie project by gradlew build, It can never be completed, it always execute linkReleasFrameworkIosXXX task.

i: @ /Users/runner/work/wire/wire/wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:170:42: Constructor 'EOFException.' can not be called: The call site provides less value arguments (0) than the constructor requires (1) i: @ /Users/runner/work/wire/wire/wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt:253:11: Constructor 'EOFException.' can not be called: The call site provides less value arguments (0) than the constructor requires (1) i: @ /Users/runner/work/wire/wire/wire-runtime/src/nativeMain/kotlin/com/squareup/wire/internal/-Platform.kt:28:47: Constructor 'IOException.' can not be called: The call site provides less value arguments (0) than the constructor requires (1) <============-> 97% EXECUTING [1h 6m 54s] IDLE IDLE IDLE :composeApp:linkReleaseFrameworkIosX64 :composeApp:linkReleaseFrameworkIosArm64 IDLE :composeApp:linkReleaseFrameworkIosSimulatorArm64 IDLE

When I remove wire, total complie only need 7 minutes.

oldergod commented 1 month ago

Have you tried to profile your build?

storytellerF commented 1 month ago

Have you tried to profile your build?

No. Is profile working properly when build task never end?

oldergod commented 1 week ago

I would expect they do