The Swift Package Index logo.Swift Package Index

Build Information

Failed to build K1, reference 0.7.1 (142c0c), with Swift 6.1 for iOS using Xcode 16.3 on 30 Jan 2026 16:55:14 UTC.

Build Command

No build command. This typically means the build failed at an early stage where we determine the build command.

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sajjon/K1.git
Reference: 0.7.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sajjon/K1
 * tag               0.7.1      -> FETCH_HEAD
HEAD is now at 142c0c0 Revert usage of unsafeFlags to suppress C warnings (#51)
Submodule path 'Sources/secp256k1/libsecp256k1': checked out '1a53f4961f337b4d166c25fce72ef0dc88806618'
Submodule 'Sources/secp256k1/libsecp256k1' (https://github.com/bitcoin-core/secp256k1.git) registered for path 'Sources/secp256k1/libsecp256k1'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/secp256k1/libsecp256k1'...
Cloned https://github.com/Sajjon/K1.git
Revision (git rev-parse @):
142c0c0194a53d249d0bfcb5d7998ea2f2403153
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Sajjon/K1.git at 0.7.1
========================================
Build
========================================
Selected platform:         iOS
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Sajjon/K1.git
https://github.com/Sajjon/K1.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "K1",
  "name" : "K1",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "K1",
      "targets" : [
        "K1"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "secp256k1",
      "module_type" : "ClangTarget",
      "name" : "secp256k1",
      "path" : "Sources/secp256k1",
      "product_memberships" : [
        "K1"
      ],
      "sources" : [
        "libsecp256k1/contrib/lax_der_parsing.c",
        "libsecp256k1/contrib/lax_der_privatekey_parsing.c",
        "libsecp256k1/src/precomputed_ecmult.c",
        "libsecp256k1/src/precomputed_ecmult_gen.c",
        "libsecp256k1/src/secp256k1.c",
        "src/ecdh_variants.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "K1Tests",
      "module_type" : "SwiftTarget",
      "name" : "K1Tests",
      "path" : "Tests/K1Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/bip340_schnorr_sign.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/bip340_schnorr_verify.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/cyon_ecdh_two_variants_with_kdf.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/trezor_ecdsa_sign_rfc6979.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/warta_cyon_publickey_recovery.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/wycheproof_ecdh_ASN1x963.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/wycheproof_ecdsa_verify_der.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/wycheproof_ecdsa_verify_p1363.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "TestCases/APITest.swift",
        "TestCases/ECDH/ECDHTests.swift",
        "TestCases/ECDH/ECDHWycheproofTests.swift",
        "TestCases/ECDH/TwoVariantsOfECDHWithKDFTests.swift",
        "TestCases/ECDSA/ECDSARecoverableSignatureRoundtripTests.swift",
        "TestCases/ECDSA/ECDSASignatureTests.swift",
        "TestCases/ECDSA/ECDSASignatureTrezorTests.swift",
        "TestCases/ECDSA/ECDSAWycheproofASNDEREncodedSignaturesTests.swift",
        "TestCases/ECDSA/ECDSAWycheproofIEEEP1364RSEncodedSignaturesTests.swift",
        "TestCases/Keys/PrivateKey/PrivateKeyEncodingTests.swift",
        "TestCases/Keys/PrivateKey/PrivateKeyGenerationTests.swift",
        "TestCases/Keys/PrivateKey/PrivateKeyImportTests.swift",
        "TestCases/Keys/PublicKey/PublicKeyEncodingTests.generated.swift",
        "TestCases/Keys/PublicKey/PublicKeyGroupOperationsTests.swift",
        "TestCases/Keys/PublicKey/PublicKeyImportTests.swift",
        "TestCases/Performance/PerformanceTests.swift",
        "TestCases/PublicKeyRecovery/ECDASignaturePublicKeyRecoveryTests.swift",
        "TestCases/Schnorr/SchnorrSignatureBitcoinCoreTests.swift",
        "TestCases/Schnorr/SchnorrSignatureTests.swift",
        "TestCases/SecureBytes/SecureBytesTests.swift",
        "Util/ECSignature.swift",
        "Util/Wycheproof.swift",
        "Util/XCTestUtils.swift"
      ],
      "target_dependencies" : [
        "K1"
      ],
      "type" : "test"
    },
    {
      "c99name" : "K1",
      "module_type" : "SwiftTarget",
      "name" : "K1",
      "path" : "Sources/K1",
      "product_memberships" : [
        "K1"
      ],
      "sources" : [
        "K1.swift",
        "K1/ECDH/KeyAgreement.swift",
        "K1/ECDSA/ECDSA.swift",
        "K1/ECDSA/ECDSASignatureNonRecoverable.swift",
        "K1/ECDSA/ECDSASignatureRecoverable.swift",
        "K1/ECDSA/RecoveryID.swift",
        "K1/Keys/Keys.generated.swift",
        "K1/Keys/PrivateKeyImplementation.swift",
        "K1/Keys/PublicKeyImplementation.swift",
        "K1/Schnorr/Schnorr+Signature.swift",
        "K1/Schnorr/Schnorr.swift",
        "K1/Signing/Signing.generated.swift",
        "K1/Validation/Validation.generated.swift",
        "Support/Extensions/Data+Extensions.swift",
        "Support/FFI/API/ECDH/FFI+ECDH.swift",
        "Support/FFI/API/ECDSA/FFI+ECDSA.swift",
        "Support/FFI/API/ECDSA/NonRecovery/ECDSA+NonRecovery+Wrapped.swift",
        "Support/FFI/API/ECDSA/NonRecovery/FFI+ECDSA+NonRecovery.swift",
        "Support/FFI/API/ECDSA/Recovery/ECDSA+Recovery+Wrapped.swift",
        "Support/FFI/API/ECDSA/Recovery/FFI+ECDSA+Recovery.swift",
        "Support/FFI/API/Keys/PrivateKey/PrivateKey+Wrapped.swift",
        "Support/FFI/API/Keys/PublicKey/FFI+PublicKey.swift",
        "Support/FFI/API/Keys/PublicKey/PublicKey+Wrapped.swift",
        "Support/FFI/API/Schnorr/FFI+Schnorr.swift",
        "Support/FFI/API/Schnorr/Schnorr+Wrapped.swift",
        "Support/FFI/Internals/FFI+Call.swift",
        "Support/FFI/Internals/FFI+Context.swift",
        "Support/FFI/Internals/FFI+Format.swift",
        "Support/FFI/Internals/FFI+Raw.swift",
        "Support/Misc/Curve.swift",
        "Support/Misc/K1+Error.swift",
        "Support/Misc/SharedSecret.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/ASN1.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Any.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1BitString.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Boolean.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Identifier.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Integer.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Null.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1OctetString.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Strings.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ArraySliceBigint.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/GeneralizedTime.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ObjectIdentifier.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/ECDSASignature.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/PEMDocument.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/PKCS8PrivateKey.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/SEC1PrivateKey.swift",
        "Support/ThirdyParty/swift-crypto/ASN1/SubjectPublicKeyInfo.swift",
        "Support/ThirdyParty/swift-crypto/ASN1Error.swift",
        "Support/ThirdyParty/swift-crypto/BytesUtil.swift",
        "Support/ThirdyParty/swift-crypto/RNG_boring.swift",
        "Support/ThirdyParty/swift-crypto/SafeCompare_boring.swift",
        "Support/ThirdyParty/swift-crypto/SecureBytes.swift"
      ],
      "target_dependencies" : [
        "secp256k1"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
package 'update-libsecp' is using Swift tools version 6.2.0 but the installed version is 6.1.0
Resolved source packages:
  update-libsecp: (null)
2026-01-30 08:55:13.901 xcodebuild[562:3198] Writing error result bundle to /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/ResultBundle_2026-30-01_08-55-0013.xcresult
xcodebuild: error: Could not resolve package dependencies:
  package 'update-libsecp' is using Swift tools version 6.2.0 but the installed version is 6.1.0
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
package 'update-libsecp' is using Swift tools version 6.2.0 but the installed version is 6.1.0
Resolved source packages:
  update-libsecp: (null)
2026-01-30 08:55:14.567 xcodebuild[578:3380] Writing error result bundle to /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/ResultBundle_2026-30-01_08-55-0014.xcresult
xcodebuild: error: Could not resolve package dependencies:
  package 'update-libsecp' is using Swift tools version 6.2.0 but the installed version is 6.1.0
BUILD FAILURE 6.1 iOS