The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-bigint-javascriptcore, reference main (0636fc), with Swift 6.1 for macOS (SPM) on 16 Aug 2026 03:15:52 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bigint-javascriptcore.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankogai/swift-bigint-javascriptcore
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0636fc9 Point the caveats at swift-bigint-gmp
Cloned https://github.com/dankogai/swift-bigint-javascriptcore.git
Revision (git rev-parse @):
0636fc94040cde324c112b99b42c8613cc77d36c
SUCCESS checkout https://github.com/dankogai/swift-bigint-javascriptcore.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dankogai/swift-bigint-javascriptcore.git
https://github.com/dankogai/swift-bigint-javascriptcore.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-bigint-javascriptcore",
  "name" : "swift-bigint-javascriptcore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "JSCBigInt",
      "targets" : [
        "JSCBigInt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSCBigIntTests",
      "module_type" : "SwiftTarget",
      "name" : "JSCBigIntTests",
      "path" : "Tests/JSCBigIntTests",
      "sources" : [
        "JSCBigIntTests.swift"
      ],
      "target_dependencies" : [
        "JSCBigInt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSCBigInt",
      "module_type" : "SwiftTarget",
      "name" : "JSCBigInt",
      "path" : "Sources/JSCBigInt",
      "product_memberships" : [
        "JSCBigInt"
      ],
      "sources" : [
        "JSBigInt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Emitting module JSCBigInt
/Users/admin/builder/spi-builder-workspace/Sources/JSCBigInt/JSBigInt.swift:22:20: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'JSContext' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | extension JSBigInt {
 21 |     internal enum Engine {
 22 |         static let context = JSContext()!
    |                    `- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'JSContext' may have shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |         /// One JS function per primitive operation, compiled once.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSContext.h:43:12: note: class 'JSContext' does not conform to the 'Sendable' protocol
 41 | */
 42 | JS_EXPORT API_AVAILABLE(macos(10.9), ios(7.0))
 43 | @interface JSContext : NSObject
    |            `- note: class 'JSContext' does not conform to the 'Sendable' protocol
 44 |
 45 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/JSCBigInt/JSBigInt.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JavaScriptCore'
  1 | #if canImport(JavaScriptCore)
  2 | import JavaScriptCore
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JavaScriptCore'
  3 |
  4 | /// An arbitrary-precision signed integer backed by JavaScriptCore's native `BigInt`.
    :
 20 | extension JSBigInt {
 21 |     internal enum Engine {
 22 |         static let context = JSContext()!
    |                    |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |         /// One JS function per primitive operation, compiled once.
/Users/admin/builder/spi-builder-workspace/Sources/JSCBigInt/JSBigInt.swift:25:20: warning: static property 'fns' is not concurrency-safe because non-'Sendable' type '[String : JSValue]' may have shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |         /// One JS function per primitive operation, compiled once.
 25 |         static let fns: [String: JSValue] = {
    |                    |- warning: static property 'fns' is not concurrency-safe because non-'Sendable' type '[String : JSValue]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'fns' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |             let source = """
 27 |             (() => {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSValue.h:48:12: note: class 'JSValue' does not conform to the 'Sendable' protocol
 46 | */
 47 | NS_CLASS_AVAILABLE(10_9, 7_0)
 48 | @interface JSValue : NSObject
    |            `- note: class 'JSValue' does not conform to the 'Sendable' protocol
 49 |
 50 | /*!
[4/4] Compiling JSCBigInt JSBigInt.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSCBigInt/JSBigInt.swift:22:20: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'JSContext' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | extension JSBigInt {
 21 |     internal enum Engine {
 22 |         static let context = JSContext()!
    |                    `- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'JSContext' may have shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |         /// One JS function per primitive operation, compiled once.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSContext.h:43:12: note: class 'JSContext' does not conform to the 'Sendable' protocol
 41 | */
 42 | JS_EXPORT API_AVAILABLE(macos(10.9), ios(7.0))
 43 | @interface JSContext : NSObject
    |            `- note: class 'JSContext' does not conform to the 'Sendable' protocol
 44 |
 45 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/JSCBigInt/JSBigInt.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JavaScriptCore'
  1 | #if canImport(JavaScriptCore)
  2 | import JavaScriptCore
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'JavaScriptCore'
  3 |
  4 | /// An arbitrary-precision signed integer backed by JavaScriptCore's native `BigInt`.
    :
 20 | extension JSBigInt {
 21 |     internal enum Engine {
 22 |         static let context = JSContext()!
    |                    |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |         /// One JS function per primitive operation, compiled once.
/Users/admin/builder/spi-builder-workspace/Sources/JSCBigInt/JSBigInt.swift:25:20: warning: static property 'fns' is not concurrency-safe because non-'Sendable' type '[String : JSValue]' may have shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |         /// One JS function per primitive operation, compiled once.
 25 |         static let fns: [String: JSValue] = {
    |                    |- warning: static property 'fns' is not concurrency-safe because non-'Sendable' type '[String : JSValue]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'fns' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |             let source = """
 27 |             (() => {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSValue.h:48:12: note: class 'JSValue' does not conform to the 'Sendable' protocol
 46 | */
 47 | NS_CLASS_AVAILABLE(10_9, 7_0)
 48 | @interface JSValue : NSObject
    |            `- note: class 'JSValue' does not conform to the 'Sendable' protocol
 49 |
 50 | /*!
Build complete! (4.45s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-bigint-javascriptcore",
  "name" : "swift-bigint-javascriptcore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "JSCBigInt",
      "targets" : [
        "JSCBigInt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSCBigIntTests",
      "module_type" : "SwiftTarget",
      "name" : "JSCBigIntTests",
      "path" : "Tests/JSCBigIntTests",
      "sources" : [
        "JSCBigIntTests.swift"
      ],
      "target_dependencies" : [
        "JSCBigInt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSCBigInt",
      "module_type" : "SwiftTarget",
      "name" : "JSCBigInt",
      "path" : "Sources/JSCBigInt",
      "product_memberships" : [
        "JSCBigInt"
      ],
      "sources" : [
        "JSBigInt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.