Skip to content
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

Mismatched Swift Versions #401

Closed
SDGGiesbrecht opened this issue May 8, 2023 · 2 comments
Closed

Mismatched Swift Versions #401

SDGGiesbrecht opened this issue May 8, 2023 · 2 comments

Comments

@SDGGiesbrecht
Copy link

SDGGiesbrecht commented May 8, 2023

The following are from the 0.19.0 docker tag. Note the mismatch between 5.8 and 5.7.3.

carton test
- checking Swift compiler path: /root/.carton/sdk/wasm-5.8.0-RELEASE/usr/bin/swift
Inferring basic settings...
- swift executable: /root/.carton/sdk/wasm-5.8.0-RELEASE/usr/bin/swift
SwiftWasm Swift version 5.7.3 (swiftlang-5.7.3)
Target: x86_64-unknown-linux-gnu
/root/.carton/sdk/wasm-5.8.0-RELEASE/usr/bin/swift build -c debug --product WorkspacePackageTests -Xswiftc -color-diagnostics --triple wasm32-unknown-wasi
Process failed and produced following output: 
Error: Process failed with non-zero exit status and following output:
 and following error output:
error: 'workspace': package 'workspace' is using Swift tools version 5.8.0 but the installed version is 5.7.3

Is there a way to work around it with extra flags or something to get Swift 5.8 working now, or do we have to wait for the next release?

@kateinoigakukun
Copy link
Member

Oops! Thank you for letting me know so quickly! I've released a new patched release 0.19.1 to fix the issue. Could you try it again with the new version?

@SDGGiesbrecht
Copy link
Author

Works great with 0.19.1. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants