Skip to content

Compiled module was created by a newer version of the compiler #1362

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

Closed
j-f1 opened this issue Jul 3, 2020 · 3 comments
Closed

Compiled module was created by a newer version of the compiler #1362

j-f1 opened this issue Jul 3, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@j-f1
Copy link
Member

j-f1 commented Jul 3, 2020

With the Tokamak demo, a clean .build/wasm32-unknown-wasi directory, and .swift-version specified as wasm-5.3-SNAPSHOT-2020-07-02-a, I get this error:

$ carton dev --product TokamakDemo
Polyfill integrity verified: /Users/jed/.carton/static/dev.js
Inferring basic settings...
- swift executable: /Users/jed/.carton/sdk/wasm-5.3-SNAPSHOT-2020-07-02-a/usr/bin/swift
Swift version 5.3-dev (LLVM 52273b3a73, Swift a970a7362c)
Target: x86_64-apple-darwin19.5.0
Parsing package manifest: /Users/jed/.carton/sdk/wasm-5.3-SNAPSHOT-2020-07-02-a/usr/bin/swift package dump-package
Error: Process failed with non-zero exit status and following error output:
/Users/jed/Documents/github-clones/Forks/Tokamak: error: manifest parse error(s):
<unknown>:0: error: compiled module was created by a newer version of the compiler: /Users/jed/.carton/sdk/wasm-5.3-SNAPSHOT-2020-07-02-a/usr/lib/swift/macosx/Swift.swiftmodule/x86_64-apple-macos.swiftmodule
@MaxDesiatov
Copy link

MaxDesiatov commented Jul 3, 2020

I hope that the issue is fixed in c7557be, if the build passes it would be tagged as a new 5.3 snapshot tonight. Let's wait and see.

@MaxDesiatov MaxDesiatov added the bug Something isn't working label Jul 3, 2020
@MaxDesiatov

This comment has been minimized.

@MaxDesiatov
Copy link

Haven't seen this reproduced in long time, closing as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants