The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Solana, reference 0.0.3 (fbd76e), with Swift 6.1 for Linux on 26 Apr 2025 10:36:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crewshin/solana-swift.git
Reference: 0.0.3
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/crewshin/solana-swift
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at fbd76e7 Whoops. We're gonna need websockets lol
Cloned https://github.com/crewshin/solana-swift.git
Revision (git rev-parse @):
fbd76e723ba56b57e5b594a68a5d624bc5d87faf
SUCCESS checkout https://github.com/crewshin/solana-swift.git at 0.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/crewshin/solana-swift.git
https://github.com/crewshin/solana-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "base58swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.14",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/keefertaylor/Base58Swift"
    },
    {
      "identity" : "ed25519swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/crewshin/ed25519swift"
    }
  ],
  "manifest_display_name" : "Solana",
  "name" : "Solana",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Solana",
      "targets" : [
        "Solana"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SolanaTests",
      "module_type" : "SwiftTarget",
      "name" : "SolanaTests",
      "path" : "Tests/SolanaTests",
      "sources" : [
        "SolanaTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Solana"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Solana",
      "module_type" : "SwiftTarget",
      "name" : "Solana",
      "path" : "Sources/Solana",
      "product_dependencies" : [
        "Base58Swift",
        "ed25519swift"
      ],
      "product_memberships" : [
        "Solana"
      ],
      "sources" : [
        "Extensions/Double+.swift",
        "Extensions/Int+.swift",
        "Extensions/JSON+.swift",
        "Extensions/String+.swift",
        "Models/Account.swift",
        "Models/Commitment.swift",
        "Models/Encoding.swift",
        "Models/Filter.swift",
        "Models/Instruction.swift",
        "Models/Requests and Responses/GetAccountInfo.swift",
        "Models/Requests and Responses/GetBalanace.swift",
        "Models/Requests and Responses/GetBlockCommitment.swift",
        "Models/Requests and Responses/GetBlockTime.swift",
        "Models/Requests and Responses/GetClusterNodes.swift",
        "Models/Requests and Responses/GetConfirmedBlock.swift",
        "Models/Requests and Responses/GetConfirmedBlocks.swift",
        "Models/Requests and Responses/GetConfirmedBlocksWithLimit.swift",
        "Models/Requests and Responses/GetConfirmedSignaturesForAddress.swift",
        "Models/Requests and Responses/GetConfirmedSignaturesForAddress2.swift",
        "Models/Requests and Responses/GetConfirmedTransaction.swift",
        "Models/Requests and Responses/GetEpochInfo.swift",
        "Models/Requests and Responses/SimulateTransaction.swift",
        "Models/RewardType.swift",
        "Models/RpcError.swift",
        "Models/TokenBalance.swift",
        "Models/Transaction.swift",
        "Models/TransactionError.swift",
        "Models/WebSockets/ProgramSubscribe.swift",
        "Network.swift",
        "NetworkRequestType.swift",
        "Networking.swift",
        "Solana.swift",
        "SolanaErrors.swift",
        "SolanaSockets.swift",
        "WebSockets.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/crewshin/ed25519swift
Fetching https://github.com/keefertaylor/Base58Swift
[1/534] Fetching base58swift
[103/1486] Fetching base58swift, ed25519swift
Fetched https://github.com/keefertaylor/Base58Swift from cache (0.24s)
Fetched https://github.com/crewshin/ed25519swift from cache (0.24s)
Computing version for https://github.com/keefertaylor/Base58Swift
Computed https://github.com/keefertaylor/Base58Swift at 2.1.14 (0.72s)
Fetching https://github.com/attaswift/BigInt.git
[1/4771] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.35s)
Computing version for https://github.com/crewshin/ed25519swift
Computed https://github.com/crewshin/ed25519swift at 1.2.6 (0.82s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/12934] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.23s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.5.1 (1.67s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.46s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.5.1
Creating working copy for https://github.com/crewshin/ed25519swift
Working copy of https://github.com/crewshin/ed25519swift resolved at 1.2.6
Creating working copy for https://github.com/keefertaylor/Base58Swift
Working copy of https://github.com/keefertaylor/Base58Swift resolved at 2.1.14
Building for debugging...
[0/7] Write sources
[0/7] Copying PrivacyInfo.xcprivacy
[2/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/129] Emitting module BigInt
[9/131] Compiling BigInt Subtraction.swift
[10/131] Compiling BigInt Words and Bits.swift
[11/131] Compiling CryptoSwift AEAD.swift
[12/131] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[13/131] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[14/131] Compiling CryptoSwift CMAC.swift
[15/131] Compiling CryptoSwift Addition.swift
[16/131] Compiling CryptoSwift Array+Extension.swift
[17/131] Compiling CryptoSwift Authenticator.swift
[18/131] Compiling CryptoSwift BatchedCollection.swift
[19/131] Compiling CryptoSwift IntegerConversion.swift
[20/131] Compiling CryptoSwift Multiplication.swift
[21/131] Compiling CryptoSwift PrimeTest.swift
[22/131] Compiling CryptoSwift Random.swift
[23/131] Compiling CryptoSwift Shifts.swift
[24/131] Compiling CryptoSwift SquareRoot.swift
[25/131] Compiling CryptoSwift Strideable.swift
[26/131] Compiling CryptoSwift StringConversion.swift
[27/131] Compiling CryptoSwift Subtraction.swift
[28/131] Compiling CryptoSwift WordsAndBits.swift
[29/131] Compiling CryptoSwift ChaCha20.swift
[30/131] Compiling CryptoSwift Checksum.swift
[31/131] Compiling CryptoSwift Cipher.swift
[32/131] Compiling CryptoSwift Collection+Extension.swift
[33/145] Compiling CryptoSwift Bit.swift
[34/145] Compiling CryptoSwift BlockCipher.swift
[35/145] Compiling CryptoSwift BlockDecryptor.swift
[36/145] Compiling CryptoSwift BigInt.swift
[37/145] Compiling CryptoSwift BigUInt.swift
[38/145] Compiling CryptoSwift BitwiseOps.swift
[39/145] Compiling CryptoSwift ASN1Decoder.swift
[40/145] Compiling CryptoSwift ASN1Encoder.swift
[41/145] Compiling CryptoSwift ASN1Scanner.swift
[42/145] Compiling CryptoSwift AES.Cryptors.swift
[43/145] Compiling CryptoSwift AES.swift
[44/145] Compiling CryptoSwift ASN1.swift
[53/146] Compiling CryptoSwift Comparable.swift
[54/146] Compiling CryptoSwift DataConversion.swift
[55/146] Compiling CryptoSwift Division.swift
[56/146] Compiling CryptoSwift Exponentiation.swift
[57/146] Compiling CryptoSwift FloatingPointConversion.swift
[58/146] Compiling CryptoSwift GCD.swift
[59/146] Compiling CryptoSwift Hashable.swift
[60/146] Compiling CryptoSwift CompactMap.swift
[61/146] Compiling CryptoSwift Cryptor.swift
[62/146] Compiling CryptoSwift Cryptors.swift
[63/146] Compiling CryptoSwift Digest.swift
[64/146] Compiling CryptoSwift DigestType.swift
[65/146] Compiling CryptoSwift AES+Foundation.swift
[66/146] Compiling CryptoSwift Array+Foundation.swift
[67/146] Compiling CryptoSwift Blowfish+Foundation.swift
[68/146] Compiling CryptoSwift ChaCha20+Foundation.swift
[69/146] Compiling CryptoSwift Data+Extension.swift
[70/146] Compiling CryptoSwift HMAC+Foundation.swift
[71/146] Compiling CryptoSwift Rabbit+Foundation.swift
[72/146] Compiling CryptoSwift String+FoundationExtension.swift
[73/146] Compiling CryptoSwift Utils+Foundation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[74/148] Emitting module Base58Swift
/host/spi-builder-workspace/.build/checkouts/Base58Swift/Base58Swift/Base58.swift:4:8: error: no such module 'CommonCrypto'
  2 |
  3 | import BigInt
  4 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
  5 | import Foundation
  6 |
[75/148] Compiling Base58Swift Base58.swift
/host/spi-builder-workspace/.build/checkouts/Base58Swift/Base58Swift/Base58.swift:4:8: error: no such module 'CommonCrypto'
  2 |
  3 | import BigInt
  4 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
  5 | import Foundation
  6 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/123] Emitting module BigInt
[3/123] Compiling CryptoSwift BlockEncryptor.swift
[4/123] Compiling CryptoSwift BlockMode.swift
[5/123] Compiling CryptoSwift BlockModeOptions.swift
[6/125] Compiling CryptoSwift CBC.swift
[7/125] Compiling CryptoSwift CCM.swift
[8/125] Compiling CryptoSwift Bit.swift
[9/125] Compiling CryptoSwift BlockCipher.swift
[10/125] Compiling CryptoSwift BlockDecryptor.swift
[11/125] Compiling CryptoSwift AEAD.swift
[12/125] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[13/125] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[14/125] Compiling CryptoSwift Array+Extension.swift
[15/125] Compiling CryptoSwift Authenticator.swift
[16/125] Compiling CryptoSwift BatchedCollection.swift
[17/125] Compiling CryptoSwift ASN1Decoder.swift
[18/125] Compiling CryptoSwift ASN1Encoder.swift
[19/125] Compiling CryptoSwift ASN1Scanner.swift
[20/125] Compiling CryptoSwift AES.Cryptors.swift
[21/125] Compiling CryptoSwift AES.swift
[22/125] Compiling CryptoSwift ASN1.swift
[23/125] Compiling BigInt Subtraction.swift
[24/125] Compiling BigInt Words and Bits.swift
[26/128] Compiling Base58Swift Base58.swift
/host/spi-builder-workspace/.build/checkouts/Base58Swift/Base58Swift/Base58.swift:4:8: error: no such module 'CommonCrypto'
  2 |
  3 | import BigInt
  4 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
  5 | import Foundation
  6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/128] Emitting module Base58Swift
/host/spi-builder-workspace/.build/checkouts/Base58Swift/Base58Swift/Base58.swift:4:8: error: no such module 'CommonCrypto'
  2 |
  3 | import BigInt
  4 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
  5 | import Foundation
  6 |
BUILD FAILURE 6.1 linux