The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ShamirsSecretSharingPrivy, reference master (3f5ab6), with Swift 6.1 for Linux on 13 Nov 2025 09:52:53 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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

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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
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-1":/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:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling ShamirsSecretSharingPrivy ShamirsSecretSharing.swift
[5/13] Compiling ShamirsSecretSharingPrivy SecureRandom.swift
[6/13] Compiling ShamirsSecretSharingPrivy ShamirError.swift
[7/13] Emitting module ShamirsSecretSharingPrivy
[8/13] Compiling ShamirsSecretSharingPrivy Polynomial.swift
[9/13] Compiling ShamirsSecretSharingPrivy GaloisField.swift
[10/14] Wrapping AST for ShamirsSecretSharingPrivy for debugging
[12/16] Emitting module ShamirPrivyCLI
[13/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 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[14/17] Wrapping AST for ShamirPrivyCLI for debugging
[15/17] Write Objects.LinkFileList
[16/17] Linking shamir-privy-cli
Build complete! (10.81s)
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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.