question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot install Swift

See original GitHub issue

Describe the bug setup-swift cannot install swift

Workflow configuration (please complete the following information):

  • Platform (runs-on): [ubuntu-latest, ubuntu-16.04] (seen on both of them)
  • Swift version (swift-version): [5.1, 5.2] (seen on both of them)

Stack trace: (this specific example is ubuntu-16.04, swift 5.1

##[group]Run fwal/setup-swift@v1
2020-07-01T16:59:22.2108114Z with:
2020-07-01T16:59:22.2108253Z   swift-version: 5.1
2020-07-01T16:59:22.2108394Z ##[endgroup]
2020-07-01T16:59:22.6849068Z [command]/usr/bin/gpg --import /home/runner/work/_temp/54452a17-888b-4684-a271-0bac2b915336
2020-07-01T16:59:22.6952448Z gpg: directory `/home/runner/.gnupg' created
2020-07-01T16:59:22.6957929Z gpg: new configuration file `/home/runner/.gnupg/gpg.conf' created
2020-07-01T16:59:22.6958602Z gpg: WARNING: options in `/home/runner/.gnupg/gpg.conf' are not yet active during this run
2020-07-01T16:59:22.6964182Z gpg: keyring `/home/runner/.gnupg/secring.gpg' created
2020-07-01T16:59:22.6964786Z gpg: keyring `/home/runner/.gnupg/pubring.gpg' created
2020-07-01T16:59:22.7008328Z gpg: /home/runner/.gnupg/trustdb.gpg: trustdb created
2020-07-01T16:59:22.7009032Z gpg: key 412B37AD: public key "Swift Automatic Signing Key #1 <swift-infrastructure@swift.org>" imported
2020-07-01T16:59:22.7020489Z gpg: key 21A56D5F: public key "Swift 2.2 Release Signing Key <swift-infrastructure@swift.org>" imported
2020-07-01T16:59:22.7030816Z gpg: key 91D306C6: public key "Swift 3.x Release Signing Key <swift-infrastructure@swift.org>" imported
2020-07-01T16:59:22.7041370Z gpg: key 71E1B235: public key "Swift 4.x Release Signing Key <swift-infrastructure@swift.org>" imported
2020-07-01T16:59:22.7062368Z gpg: key 2B2B08C4: public key "Swift Automatic Signing Key #2 <swift-infrastructure@swift.org>" imported
2020-07-01T16:59:22.7072914Z gpg: key ED3D1561: public key "Swift 5.x Release Signing Key <swift-infrastructure@swift.org>" imported
2020-07-01T16:59:22.7084067Z gpg: key 1BC16FEA: public key "Swift Automatic Signing Key #3 <swift-infrastructure@swift.org>" imported
2020-07-01T16:59:22.7084283Z gpg: Total number processed: 7
2020-07-01T16:59:22.7084436Z gpg:               imported: 7  (RSA: 7)
2020-07-01T16:59:22.7116840Z [command]/usr/bin/gpg --keyserver hkp://pool.sks-keyservers.net --refresh-keys Swift
2020-07-01T16:59:22.7158926Z gpg: refreshing 7 keys from hkp://pool.sks-keyservers.net
2020-07-01T16:59:22.7166407Z gpg: requesting key 412B37AD from hkp server pool.sks-keyservers.net
2020-07-01T16:59:22.7167507Z gpg: requesting key 21A56D5F from hkp server pool.sks-keyservers.net
2020-07-01T16:59:22.7168595Z gpg: requesting key 91D306C6 from hkp server pool.sks-keyservers.net
2020-07-01T16:59:22.7169176Z gpg: requesting key 71E1B235 from hkp server pool.sks-keyservers.net
2020-07-01T16:59:22.7169699Z gpg: requesting key 2B2B08C4 from hkp server pool.sks-keyservers.net
2020-07-01T16:59:22.7170303Z gpg: requesting key ED3D1561 from hkp server pool.sks-keyservers.net
2020-07-01T16:59:22.7170840Z gpg: requesting key 1BC16FEA from hkp server pool.sks-keyservers.net
2020-07-01T16:59:23.4466621Z gpgkeys: key 7463A81A4B2EEA1B551FFBCFD441C977412B37AD can't be retrieved
2020-07-01T16:59:24.0763053Z gpgkeys: key 1BE1E29A084CB305F397D62A9F597F4D21A56D5F can't be retrieved
2020-07-01T16:59:24.7034462Z gpgkeys: key A3BAFD3556A59079C06894BD63BC1CFE91D306C6 can't be retrieved
2020-07-01T16:59:25.0545510Z gpgkeys: key 5E4DF843FB065D7F7E24FBA2EF5430F071E1B235 can't be retrieved
2020-07-01T16:59:25.4889131Z gpgkeys: key 8513444E2DA36B7C1659AF4D7638F1FB2B2B08C4 can't be retrieved
2020-07-01T16:59:25.8369934Z gpgkeys: key A62AE125BBBFBB96A6E042EC925CC1CCED3D1561 can't be retrieved
2020-07-01T16:59:26.8374338Z gpgkeys: key 8A7495662C3CD4AE18D95637FAF6989E1BC16FEA can't be retrieved
2020-07-01T16:59:26.8390578Z gpg: no valid OpenPGP data found.
2020-07-01T16:59:26.8390914Z gpg: Total number processed: 0
2020-07-01T16:59:26.8391131Z gpg: keyserver communications error: keyserver helper general error
2020-07-01T16:59:26.8391357Z gpg: keyserver communications error: unknown pubkey algorithm
2020-07-01T16:59:26.8394943Z gpg: keyserver refresh failed: unknown pubkey algorithm
2020-07-01T16:59:26.8423108Z ##[error]Unexpected error, unable to continue. Please report at https://github.com/fwal/setup-swift/issues
The process '/usr/bin/gpg' failed with exit code 2
Stacktrace:
Error: The process '/usr/bin/gpg' failed with exit code 2
    at ExecState._setResult (/home/runner/work/_actions/fwal/setup-swift/v1/dist/index.js:926:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/fwal/setup-swift/v1/dist/index.js:909:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/fwal/setup-swift/v1/dist/index.js:803:27)
    at ChildProcess.emit (events.js:210:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
fwalcommented, Jul 10, 2020

That’s great! I’m closing this, feel free to reopen if the problem returns.

1reaction
Samasaur1commented, Jul 5, 2020

I’ll be sure to let you know, but it seems to be working so far

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode 12.5 unable to install app on iOS 14.5 device
I upgraded Xcode to 12.5 and iPhone to 14.5 yesterday. when I want to run it on my iOS 14.5 iPhone.
Read more >
Xcode 11.2 - Unable to install App file to device?
Go to File -> Workspace Settings, and make sure your build system is set to Legacy Build System. I ran into the same...
Read more >
Found some solutions when troubleshooting installing swift on ...
I ran into a few issues installing and using the Swift 5.3.3 toolchain on Windows 10, some of which are mentioned in other...
Read more >
[Xcode] Unable to install app-name - Geek Culture - Medium
When building an actual device with Xcode, the build may Success, but sometimes an error like this occurs and the device cannot be...
Read more >
Can't install MSAL library using swift and Native Modules.
I'm trying to implement a native module using swift in a react native app and I'm getting errors when I run the app....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found