Skip to content

Swift 6.1 hangs on Ubuntu 24.04 when re-building project #81272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
EsbenRud opened this issue May 3, 2025 · 0 comments
Open

Swift 6.1 hangs on Ubuntu 24.04 when re-building project #81272

EsbenRud opened this issue May 3, 2025 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels

Comments

@EsbenRud
Copy link

EsbenRud commented May 3, 2025

Description

When I re-build my project using swift 6.1 on Ubuntu 24.04 it hangs and produces no output.

Deleting .build folder and re-issuing the build command makes it work but the whole project with dependencies is then compiled.

Why does swift 6.1 hang when .build folder is existing?

I have tried other projects and the same situation (hang) happens every time I try.

Reproduction

This build command will hang when .build folder does exist:

$HOME/swift-6.1-RELEASE-ubuntu24.04/usr/bin/swift build -c release --package-path $HOME/Projects/SyncherApi

Expected behavior

I would expect the swift command to end when the modified files have been re-compiled.

Environment

Swift version 6.1 (swift-6.1-RELEASE)
Target: x86_64-unknown-linux-gnu

Additional information

No response

@EsbenRud EsbenRud added bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels labels May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
Projects
None yet
Development

No branches or pull requests

1 participant