The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PayPal, reference main (600a97), with Swift 6.1 for Linux on 24 Feb 2026 04:11:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/paypal/paypal-ios.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/paypal/paypal-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 600a97a Implement GITHUB_ENV for Workflow Security Hardening (#376)
Cloned https://github.com/paypal/paypal-ios.git
Revision (git rev-parse @):
600a97a5f69ea6f44db3cf2f8b631276fd0152d8
SUCCESS checkout https://github.com/paypal/paypal-ios.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/paypal/paypal-ios.git
https://github.com/paypal/paypal-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PayPal",
  "name" : "PayPal",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "CorePayments",
      "targets" : [
        "CorePayments"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PaymentButtons",
      "targets" : [
        "PaymentButtons"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PayPalWebPayments",
      "targets" : [
        "PayPalWebPayments"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CardPayments",
      "targets" : [
        "CardPayments"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FraudProtection",
      "targets" : [
        "FraudProtection",
        "PPRiskMagnes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PaymentButtons",
      "module_type" : "SwiftTarget",
      "name" : "PaymentButtons",
      "path" : "Sources/PaymentButtons",
      "product_memberships" : [
        "PaymentButtons"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/PaymentButtons/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Coordinator.swift",
        "PayPalButton.swift",
        "PayPalCreditButton.swift",
        "PayPalPayLaterButton.swift",
        "PaymentButton+ImageAsset.swift",
        "PaymentButton.swift",
        "PaymentButtonColor.swift",
        "PaymentButtonEdges.swift",
        "PaymentButtonFont.swift",
        "PaymentButtonFundingSource.swift",
        "PaymentButtonLabel.swift",
        "PaymentButtonSize.swift"
      ],
      "target_dependencies" : [
        "CorePayments"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PayPalWebPayments",
      "module_type" : "SwiftTarget",
      "name" : "PayPalWebPayments",
      "path" : "Sources/PayPalWebPayments",
      "product_memberships" : [
        "PayPalWebPayments"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/PayPalWebPayments/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Environment+PayPalWebCheckout.swift",
        "PayPalError.swift",
        "PayPalVaultRequest.swift",
        "PayPalVaultResult.swift",
        "PayPalWebCheckoutClient.swift",
        "PayPalWebCheckoutFundingSource.swift",
        "PayPalWebCheckoutRequest.swift",
        "PayPalWebCheckoutResult.swift"
      ],
      "target_dependencies" : [
        "CorePayments"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PPRiskMagnes",
      "module_type" : "BinaryTarget",
      "name" : "PPRiskMagnes",
      "path" : "Frameworks/XCFrameworks/PPRiskMagnes.xcframework",
      "product_memberships" : [
        "FraudProtection"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "FraudProtection",
      "module_type" : "SwiftTarget",
      "name" : "FraudProtection",
      "path" : "Sources/FraudProtection",
      "product_memberships" : [
        "FraudProtection"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/FraudProtection/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CoreConfig+MagnesSDK.swift",
        "DeviceInspector.swift",
        "DeviceInspectorProtocol.swift",
        "MagnesSDKProtocol.swift",
        "MagnesSDKResult.swift",
        "MagnesSetupParams.swift",
        "PayPalDataCollector.swift"
      ],
      "target_dependencies" : [
        "CorePayments",
        "PPRiskMagnes"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CorePayments",
      "module_type" : "SwiftTarget",
      "name" : "CorePayments",
      "path" : "Sources/CorePayments",
      "product_memberships" : [
        "CorePayments",
        "PaymentButtons",
        "PayPalWebPayments",
        "CardPayments",
        "FraudProtection"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/CorePayments/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AnalyticsEventData.swift",
        "CoreConfig.swift",
        "CorePaymentsError.swift",
        "CoreSDKError.swift",
        "Networking/AnalyticsService.swift",
        "Networking/ClientConfigResponse.swift",
        "Networking/Enums/Environment.swift",
        "Networking/Enums/HTTPHeader.swift",
        "Networking/Enums/HTTPMethod.swift",
        "Networking/GraphQL/GraphQLErrorResponse.swift",
        "Networking/GraphQL/GraphQLHTTPPostBody.swift",
        "Networking/GraphQL/GraphQLHTTPResponse.swift",
        "Networking/GraphQL/GraphQLRequest.swift",
        "Networking/HTTP.swift",
        "Networking/HTTPRequest.swift",
        "Networking/HTTPResponse.swift",
        "Networking/HTTPResponseParser.swift",
        "Networking/Models/ErrorResponse.swift",
        "Networking/NetworkingClient.swift",
        "Networking/NetworkingError.swift",
        "Networking/RESTRequest.swift",
        "Networking/TrackingEventsAPI.swift",
        "Networking/URLSession+URLSessionProtocol.swift",
        "Networking/URLSessionProtocol.swift",
        "Networking/UpdateClientConfigAPI.swift",
        "Networking/UpdateClientConfigVariables.swift",
        "PayPalCoreConstants.swift",
        "WebAuthenticationSession.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CardPayments",
      "module_type" : "SwiftTarget",
      "name" : "CardPayments",
      "path" : "Sources/CardPayments",
      "product_memberships" : [
        "CardPayments"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/CardPayments/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "APIRequests/CheckoutOrdersAPI.swift",
        "APIRequests/ConfirmPaymentSourceRequest.swift",
        "APIRequests/ConfirmPaymentSourceResponse.swift",
        "APIRequests/UpdateSetupTokenResponse.swift",
        "APIRequests/UpdateVaultVariables.swift",
        "APIRequests/VaultPaymentTokensAPI.swift",
        "CardClient.swift",
        "CardError.swift",
        "Models/Address.swift",
        "Models/Card.swift",
        "Models/CardRequest.swift",
        "Models/CardResult.swift",
        "Models/CardVaultRequest.swift",
        "Models/CardVaultResult.swift",
        "Models/PaymentSource.swift",
        "Models/SCA.swift"
      ],
      "target_dependencies" : [
        "CorePayments"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/PaymentButtons/Assets.xcassets
Building for debugging...
[0/11] Write sources
[0/11] Copying PrivacyInfo.xcprivacy
[0/11] Write sources
[0/11] Copying PrivacyInfo.xcprivacy
[0/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/38] Emitting module CorePayments
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[13/41] Compiling CorePayments AnalyticsService.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[14/41] Compiling CorePayments ClientConfigResponse.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[15/41] Compiling CorePayments Environment.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[16/41] Compiling CorePayments HTTPHeader.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[17/41] Compiling CorePayments AnalyticsEventData.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[18/41] Compiling CorePayments CoreConfig.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[19/41] Compiling CorePayments CorePaymentsError.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[20/41] Compiling CorePayments CoreSDKError.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[21/41] Compiling CorePayments GraphQLRequest.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[22/41] Compiling CorePayments HTTP.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[23/41] Compiling CorePayments HTTPRequest.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[24/41] Compiling CorePayments HTTPResponse.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[25/41] Compiling CorePayments HTTPResponseParser.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[26/41] Compiling CorePayments ErrorResponse.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[27/41] Compiling CorePayments NetworkingClient.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[28/41] Compiling CorePayments NetworkingError.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[29/41] Compiling CorePayments HTTPMethod.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[30/41] Compiling CorePayments GraphQLErrorResponse.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[31/41] Compiling CorePayments GraphQLHTTPPostBody.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[32/41] Compiling CorePayments GraphQLHTTPResponse.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[33/41] Compiling CorePayments PayPalCoreConstants.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[34/41] Compiling CorePayments WebAuthenticationSession.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[35/41] Compiling CorePayments resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[36/41] Compiling CorePayments RESTRequest.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[37/41] Compiling CorePayments TrackingEventsAPI.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[38/41] Compiling CorePayments URLSession+URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[39/41] Compiling CorePayments URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[40/41] Compiling CorePayments UpdateClientConfigAPI.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[41/41] Compiling CorePayments UpdateClientConfigVariables.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/PaymentButtons/Assets.xcassets
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Compiling CorePayments RESTRequest.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[3/28] Compiling CorePayments TrackingEventsAPI.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[4/28] Compiling CorePayments URLSession+URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[5/31] Compiling CorePayments GraphQLRequest.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[6/31] Compiling CorePayments HTTP.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[7/31] Compiling CorePayments HTTPRequest.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[8/31] Compiling CorePayments HTTPResponse.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[9/31] Compiling CorePayments AnalyticsService.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[10/31] Compiling CorePayments ClientConfigResponse.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[11/31] Compiling CorePayments Environment.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[12/31] Compiling CorePayments HTTPHeader.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[13/31] Compiling CorePayments HTTPMethod.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[14/31] Compiling CorePayments GraphQLErrorResponse.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[15/31] Compiling CorePayments GraphQLHTTPPostBody.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[16/31] Compiling CorePayments GraphQLHTTPResponse.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[17/31] Compiling CorePayments URLSessionProtocol.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[18/31] Compiling CorePayments UpdateClientConfigAPI.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[19/31] Compiling CorePayments UpdateClientConfigVariables.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[20/31] Compiling CorePayments HTTPResponseParser.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[21/31] Compiling CorePayments ErrorResponse.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[22/31] Compiling CorePayments NetworkingClient.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[23/31] Compiling CorePayments NetworkingError.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[24/31] Compiling CorePayments AnalyticsEventData.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[25/31] Compiling CorePayments CoreConfig.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[26/31] Compiling CorePayments CorePaymentsError.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[27/31] Compiling CorePayments CoreSDKError.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/31] Emitting module CorePayments
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[29/31] Compiling CorePayments PayPalCoreConstants.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[30/31] Compiling CorePayments WebAuthenticationSession.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
[31/31] Compiling CorePayments resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/CorePayments/AnalyticsEventData.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | struct AnalyticsEventData: Encodable {
BUILD FAILURE 6.1 linux