The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of K1 with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sajjon/K1.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Sajjon/K1
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8388436 Create FUNDING.yml (#41)
Submodule path 'Sources/secp256k1/libsecp256k1': checked out '0fa84f869d51e1b71113d81fcd518ebcee08709a'
Submodule 'Sources/secp256k1/libsecp256k1' (https://github.com/bitcoin-core/secp256k1.git) registered for path 'Sources/secp256k1/libsecp256k1'
Cloning into '/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/secp256k1/libsecp256k1'...
Cloned https://github.com/Sajjon/K1.git
Revision (git rev-parse @):
83884368d4394bb0ef0e239ff0ed76fdb2b06f6c
SPI manifest file found: $PWD/checkout/.spi.yml
SUCCESS checkout https://github.com/Sajjon/K1.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "k1",
      "name": "K1",
      "url": "https://github.com/Sajjon/K1.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/K1",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Sajjon/K1.git
[1/3569] Fetching k1
Fetched https://github.com/Sajjon/K1.git (0.82s)
Creating working copy for https://github.com/Sajjon/K1.git
Working copy of https://github.com/Sajjon/K1.git resolved at main
warning: '.resolve-product-dependencies': dependency 'k1' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Compiling lax_der_parsing.c
[1/6] Compiling lax_der_privatekey_parsing.c
[2/6] Compiling precomputed_ecmult_gen.c
[3/6] Compiling ecdh_variants.c
[4/6] Compiling secp256k1.c
[5/6] Compiling precomputed_ecmult.c
[7/55] Compiling K1 ASN1Boolean.swift
[8/55] Compiling K1 ASN1Identifier.swift
[9/55] Compiling K1 ASN1Integer.swift
[10/55] Compiling K1 ASN1Null.swift
[11/55] Compiling K1 ASN1OctetString.swift
[12/55] Compiling K1 ASN1Strings.swift
[13/55] Compiling K1 ArraySliceBigint.swift
[14/61] Compiling K1 FFI+Raw.swift
[15/61] Compiling K1 Curve.swift
[16/61] Compiling K1 K1+Error.swift
[17/61] Compiling K1 SharedSecret.swift
[18/61] Compiling K1 ASN1.swift
[19/61] Compiling K1 ASN1Any.swift
[20/61] Compiling K1 ASN1BitString.swift
[21/61] Compiling K1 FFI+PublicKey.swift
[22/61] Compiling K1 PublicKey+Wrapped.swift
[23/61] Compiling K1 FFI+Schnorr.swift
[24/61] Compiling K1 Schnorr+Wrapped.swift
[25/61] Compiling K1 FFI+Call.swift
[26/61] Compiling K1 FFI+Context.swift
[27/61] Compiling K1 FFI+Format.swift
[28/61] Emitting module K1
[29/61] Compiling K1 FFI+ECDH.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/K1/Support/FFI/API/ECDH/FFI+ECDH.swift:79:5: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<Array<UInt8>>'; this is likely incorrect because 'Optional<Array<UInt8>>' may contain an object reference.
                                &arbitraryData // arbitrary data pointer that is passed through to hashfp
                                ^
[30/61] Compiling K1 FFI+ECDSA.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/K1/Support/FFI/API/ECDH/FFI+ECDH.swift:79:5: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<Array<UInt8>>'; this is likely incorrect because 'Optional<Array<UInt8>>' may contain an object reference.
                                &arbitraryData // arbitrary data pointer that is passed through to hashfp
                                ^
[31/61] Compiling K1 ECDSA+NonRecovery+Wrapped.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/K1/Support/FFI/API/ECDH/FFI+ECDH.swift:79:5: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<Array<UInt8>>'; this is likely incorrect because 'Optional<Array<UInt8>>' may contain an object reference.
                                &arbitraryData // arbitrary data pointer that is passed through to hashfp
                                ^
[32/61] Compiling K1 FFI+ECDSA+NonRecovery.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/K1/Support/FFI/API/ECDH/FFI+ECDH.swift:79:5: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<Array<UInt8>>'; this is likely incorrect because 'Optional<Array<UInt8>>' may contain an object reference.
                                &arbitraryData // arbitrary data pointer that is passed through to hashfp
                                ^
[33/61] Compiling K1 ECDSA+Recovery+Wrapped.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/K1/Support/FFI/API/ECDH/FFI+ECDH.swift:79:5: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<Array<UInt8>>'; this is likely incorrect because 'Optional<Array<UInt8>>' may contain an object reference.
                                &arbitraryData // arbitrary data pointer that is passed through to hashfp
                                ^
[34/61] Compiling K1 FFI+ECDSA+Recovery.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/K1/Support/FFI/API/ECDH/FFI+ECDH.swift:79:5: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<Array<UInt8>>'; this is likely incorrect because 'Optional<Array<UInt8>>' may contain an object reference.
                                &arbitraryData // arbitrary data pointer that is passed through to hashfp
                                ^
[35/61] Compiling K1 PrivateKey+Wrapped.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/K1/Support/FFI/API/ECDH/FFI+ECDH.swift:79:5: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<Array<UInt8>>'; this is likely incorrect because 'Optional<Array<UInt8>>' may contain an object reference.
                                &arbitraryData // arbitrary data pointer that is passed through to hashfp
                                ^
[36/61] Compiling K1 PrivateKeyImplementation.swift
[37/61] Compiling K1 PublicKeyImplementation.swift
[38/61] Compiling K1 Schnorr+Signature.swift
[39/61] Compiling K1 Schnorr.swift
[40/61] Compiling K1 Signing.generated.swift
[41/61] Compiling K1 Validation.generated.swift
[42/61] Compiling K1 Data+Extensions.swift
[43/61] Compiling K1 GeneralizedTime.swift
[44/61] Compiling K1 ObjectIdentifier.swift
[45/61] Compiling K1 ECDSASignature.swift
[46/61] Compiling K1 PEMDocument.swift
[47/61] Compiling K1 PKCS8PrivateKey.swift
[48/61] Compiling K1 SEC1PrivateKey.swift
[49/61] Compiling K1 K1.swift
[50/61] Compiling K1 KeyAgreement.swift
[51/61] Compiling K1 ECDSA.swift
[52/61] Compiling K1 ECDSASignatureNonRecoverable.swift
[53/61] Compiling K1 ECDSASignatureRecoverable.swift
[54/61] Compiling K1 RecoveryID.swift
[55/61] Compiling K1 Keys.generated.swift
[56/61] Compiling K1 SubjectPublicKeyInfo.swift
[57/61] Compiling K1 ASN1Error.swift
[58/61] Compiling K1 BytesUtil.swift
[59/61] Compiling K1 RNG_boring.swift
[60/61] Compiling K1 SafeCompare_boring.swift
[61/61] Compiling K1 SecureBytes.swift
Build complete! (13.64s)
Build complete.
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/checkout/.docs/sajjon/k1/main
Repository:               Sajjon/K1
Swift version used:       5.9
Target:                   K1
Generating documentation for 'K1'...
Converting documentation...
Conversion complete! (0.56s)
Generated DocC archive at '/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs/sajjon/k1/main'
Fetching https://github.com/apple/swift-docc-plugin from cache
Fetched https://github.com/apple/swift-docc-plugin (0.27s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.04s)
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit (0.26s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.07s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Building for debugging...
[1/45] Compiling Snippets Snippet.swift
[2/45] Emitting module Snippets
[3/45] Compiling Snippets SnippetParser.swift
[4/45] Compiling SymbolKit SPI.swift
[5/45] Compiling SymbolKit Snippet.swift
[6/45] Compiling SymbolKit Extension.swift
[7/45] Compiling SymbolKit GenericConstraint.swift
[8/45] Compiling SymbolKit GenericParameter.swift
[9/50] Compiling SymbolKit SourceOrigin.swift
[10/50] Compiling SymbolKit GenericConstraints.swift
[11/50] Compiling SymbolKit Swift.swift
[12/50] Compiling SymbolKit SemanticVersion.swift
[13/50] Compiling SymbolKit AccessControl.swift
[14/50] Compiling SymbolKit Availability.swift
[15/50] Compiling SymbolKit FunctionSignature.swift
[16/50] Compiling SymbolKit Identifier.swift
[17/50] Compiling SymbolKit KindIdentifier.swift
[18/50] Compiling SymbolKit Location.swift
[19/50] Compiling SymbolKit Mutability.swift
[20/50] Compiling SymbolKit Names.swift
[21/50] Compiling SymbolKit AvailabilityItem.swift
[22/50] Compiling SymbolKit Domain.swift
[23/50] Compiling SymbolKit DeclarationFragments.swift
[24/50] Compiling SymbolKit Fragment.swift
[25/50] Compiling SymbolKit FragmentKind.swift
[26/50] Compiling SymbolKit FunctionParameter.swift
[27/50] Compiling SymbolKit Generics.swift
[28/50] Compiling SymbolKit Namespace.swift
[29/50] Compiling SymbolKit Symbol.swift
[30/50] Compiling SymbolKit SymbolKind.swift
[31/50] Compiling SymbolKit SymbolGraph.swift
[32/50] Compiling SymbolKit Mixin+Equals.swift
[33/50] Compiling SymbolKit Mixin+Hash.swift
[34/50] Compiling SymbolKit Mixin.swift
[35/50] Compiling SymbolKit LineList.swift
[36/50] Compiling SymbolKit Position.swift
[37/50] Compiling SymbolKit SourceRange.swift
[38/50] Compiling SymbolKit Metadata.swift
[39/50] Compiling SymbolKit Module.swift
[40/50] Compiling SymbolKit OperatingSystem.swift
[41/50] Compiling SymbolKit Platform.swift
[42/50] Compiling SymbolKit Relationship.swift
[43/50] Compiling SymbolKit RelationshipKind.swift
[44/50] Emitting module SymbolKit
[45/50] Compiling SymbolKit GraphCollector.swift
[46/50] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[47/50] Compiling SymbolKit UnifiedSymbol.swift
[48/50] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[49/50] Compiling SymbolKit UnifiedSymbolGraph.swift
[50/54] Compiling snippet_extract SymbolGraph+Snippet.swift
[51/54] Compiling snippet_extract URL+Status.swift
[52/54] Emitting module snippet_extract
[53/54] Compiling snippet_extract SnippetBuildCommand.swift
[53/54] Linking snippet-extract
Build complete! (9.63s)
Building for debugging...
Build complete! (0.48s)
     577
6	/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs/sajjon/k1/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/checkout/.docs/sajjon/k1/main
File count: 577
Doc size:   6.0MB
Preparing doc bundle ...
Uploading prod-sajjon-k1-main-22126e8c.zip to s3://spi-docs-inbox/prod-sajjon-k1-main-22126e8c.zip
Copying... [12%]
Copying... [24%]
Copying... [36%]
Copying... [42%]
Copying... [54%]
Copying... [66%]
Copying... [71%]
Copying... [83%]
Copying... [95%]
Copying... [100%]
Done.