Hello, Fly!
My name is Nikita, I use Fly for deploying my Vapor App.
I want to deploy the Vapor App with the ‘Sign in with Apple’ package called JWT.
So I added this to my package file.
When I deployed the Vapor App without this package, everything worked fine.
But when I include the JWT package, my deploy process every time shows an error.
Last updates in the terminal look like this:
#15 189.6 [1367/1369] Compiling FluentPostgresDriver DatabaseID+PostgreSQL.swift
#15 233.2 [1369/1370] Compiling Vapor Application.swift
#15 233.4 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
#15 233.4 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
#15 235.4 [1371/1373] Compiling JWT Application+JWT.swift
#15 236.6 [1373/1374] Compiling Fluent FluentProvider+Concurrency.swift
#15 236.6 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
#15 242.0 [1375/1376] Compiling App BangsController.swift
#15 249.4 error: link command failed with exit code 254 (use -v to see invocation)
#15 249.4 clang-13: error: unable to execute command: Killed
#15 249.4 clang-13: error: linker command failed due to signal (use -v to see invocation)
#15 249.4 [1376/1377] Linking App
Error: failed to fetch an image or build from source: error building: executor failed running [/bin/sh -c swift build -c release --static-swift-stdlib]: exit code: 1
Also, you sent my mail that ‘it seems I ran out of memory’, so I upgraded my plan.
But I don’t know if this is enough. Or if the problem is with the memory or something else.
Could you help me please here?