The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ShamirsSecretSharingPrivy, reference v0.0.4 (3f5ab6), with Swift 6.1 for Android on 13 Nov 2025 09:52:13 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CharlZKP/shamirs-secret-sharing-swift-privyio.git
Reference: v0.0.4
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/CharlZKP/shamirs-secret-sharing-swift-privyio
 * tag               v0.0.4     -> FETCH_HEAD
HEAD is now at 3f5ab69 feat: Complete Swift port of Privy.io's Shamir's Secret Sharing
Cloned https://github.com/CharlZKP/shamirs-secret-sharing-swift-privyio.git
Revision (git rev-parse @):
3f5ab697636c998a0203da5e3dede929d7a00aac
SUCCESS checkout https://github.com/CharlZKP/shamirs-secret-sharing-swift-privyio.git at v0.0.4
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CharlZKP/shamirs-secret-sharing-swift-privyio.git
https://github.com/CharlZKP/shamirs-secret-sharing-swift-privyio.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ShamirsSecretSharingPrivy",
  "name" : "ShamirsSecretSharingPrivy",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ShamirsSecretSharingPrivy",
      "targets" : [
        "ShamirsSecretSharingPrivy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "shamir-privy-cli",
      "targets" : [
        "ShamirPrivyCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShamirsSecretSharingPrivyTests",
      "module_type" : "SwiftTarget",
      "name" : "ShamirsSecretSharingPrivyTests",
      "path" : "Tests/ShamirsSecretSharingPrivyTests",
      "sources" : [
        "ShamirsSecretSharingTests.swift"
      ],
      "target_dependencies" : [
        "ShamirsSecretSharingPrivy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShamirsSecretSharingPrivy",
      "module_type" : "SwiftTarget",
      "name" : "ShamirsSecretSharingPrivy",
      "path" : "Sources/ShamirsSecretSharingPrivy",
      "product_memberships" : [
        "ShamirsSecretSharingPrivy",
        "shamir-privy-cli"
      ],
      "sources" : [
        "GaloisField.swift",
        "Polynomial.swift",
        "SecureRandom.swift",
        "ShamirError.swift",
        "ShamirsSecretSharing.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ShamirPrivyCLI",
      "module_type" : "SwiftTarget",
      "name" : "ShamirPrivyCLI",
      "path" : "Sources/ShamirPrivyCLI",
      "product_memberships" : [
        "shamir-privy-cli"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ShamirsSecretSharingPrivy"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/13] Emitting module ShamirsSecretSharingPrivy
[5/13] Compiling ShamirsSecretSharingPrivy Polynomial.swift
[6/13] Compiling ShamirsSecretSharingPrivy GaloisField.swift
[7/13] Compiling ShamirsSecretSharingPrivy SecureRandom.swift
[8/13] Compiling ShamirsSecretSharingPrivy ShamirError.swift
[9/13] Compiling ShamirsSecretSharingPrivy ShamirsSecretSharing.swift
[10/14] Wrapping AST for ShamirsSecretSharingPrivy for debugging
[12/16] Compiling ShamirPrivyCLI main.swift
/host/spi-builder-workspace/Sources/ShamirPrivyCLI/main.swift:42:34: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 | func printError(_ message: String) {
 42 |     fputs("Error: \(message)\n", stderr)
    |                                  `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 43 | }
 44 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
[13/16] Emitting module ShamirPrivyCLI
[14/17] Wrapping AST for ShamirPrivyCLI for debugging
[15/17] Write Objects.LinkFileList
[16/17] Linking shamir-privy-cli
Build complete! (14.19s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ShamirsSecretSharingPrivy",
  "name" : "ShamirsSecretSharingPrivy",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ShamirsSecretSharingPrivy",
      "targets" : [
        "ShamirsSecretSharingPrivy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "shamir-privy-cli",
      "targets" : [
        "ShamirPrivyCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShamirsSecretSharingPrivyTests",
      "module_type" : "SwiftTarget",
      "name" : "ShamirsSecretSharingPrivyTests",
      "path" : "Tests/ShamirsSecretSharingPrivyTests",
      "sources" : [
        "ShamirsSecretSharingTests.swift"
      ],
      "target_dependencies" : [
        "ShamirsSecretSharingPrivy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShamirsSecretSharingPrivy",
      "module_type" : "SwiftTarget",
      "name" : "ShamirsSecretSharingPrivy",
      "path" : "Sources/ShamirsSecretSharingPrivy",
      "product_memberships" : [
        "ShamirsSecretSharingPrivy",
        "shamir-privy-cli"
      ],
      "sources" : [
        "GaloisField.swift",
        "Polynomial.swift",
        "SecureRandom.swift",
        "ShamirError.swift",
        "ShamirsSecretSharing.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ShamirPrivyCLI",
      "module_type" : "SwiftTarget",
      "name" : "ShamirPrivyCLI",
      "path" : "Sources/ShamirPrivyCLI",
      "product_memberships" : [
        "shamir-privy-cli"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ShamirsSecretSharingPrivy"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.