-
Notifications
You must be signed in to change notification settings - Fork 58
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
App crashing on boot #78
Comments
This is the start of the build log:
Bare in mind, I don't know if this is the right place to report this. |
You're at the right place. And the issue is perplexing. That file should not be necessary since I included the If Swift 6.0 is not a hard requirement, you could fall back to the old version of the buildpack that kept the Swift dynamic libraries in the image for now:
In the mean time, I'll probably add a flag that reverts to the old behavior. |
Alternatively, could you try bumping the stack to heroku-22 or heroku-24? Both would be interesting data points. |
I'll try heroku-22 first ☁️ (I tried it earlier, where it never finished building) |
Yes, heroku-22 just stalls building with this as the last thing in the log:
|
I'll try the old version of the buildpack now |
The downgrade on the buildpack seems to work 👀 Why though? 😅 |
@philipengberg looks like the Swift 6 build regression I've reported here: swiftlang/swift#76555 So downgrading the Swift compiler version enabled the builder to not run out of memory. |
Interesting! Makes sense. |
I've pushed two relevant releases to the buildpack. If you switch back to
Anecdotally, dynamic linking has required less memory than static linking, so it might be worth a try. tl;dr: heroku buildpacks:set vapor/vapor
heroku config:set SWIFT_DYNAMIC_STDLIB=true
git push heroku main ☝🏻 should result in a successful build even with Swift 6. |
Out of the blue I get this error when my server instance boots on Heroku:
This is the buildpack I'm using:
I'm using
Heroku-20 stack
.The text was updated successfully, but these errors were encountered: