square / square/wire

Compile hang on 97%

Open
#3,052 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
4.4k
Forks
627
Avg merge
3d 15m
Merged PRs (30d)
20

Description

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: com.squareup.wire:wire-runtime @ /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: com.squareup.wire:wire-runtime @ /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: com.squareup.wire:wire-runtime @ /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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing gradlew build in the linked Bi2 repository and inspect the linkReleaseFrameworkIosX64, linkReleaseFrameworkIosArm64, and linkReleaseFrameworkIosSimulatorArm64 tasks. Review the reported calls in wire-runtime's ProtoReader.kt and -Platform.kt; done means the build completes without hanging during iOS framework linking.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, kotlin
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.