The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Complex, reference main (536b59), with Swift 6.3 for macOS (SPM) on 16 Aug 2026 11:35:56 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-complex.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankogai/swift-complex
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 536b591 Bind libm directly, so Android, Wasm and Windows can build
Cloned https://github.com/dankogai/swift-complex.git
Revision (git rev-parse @):
536b59172d1a407cfad76199cf17478f0d46ef8d
SUCCESS checkout https://github.com/dankogai/swift-complex.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-complex",
      "name": "Complex",
      "url": "https://github.com/dankogai/swift-complex.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-complex",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dankogai/swift-complex.git
[1/1380] Fetching swift-complex
Fetched https://github.com/dankogai/swift-complex.git from cache (1.23s)
Creating working copy for https://github.com/dankogai/swift-complex.git
Working copy of https://github.com/dankogai/swift-complex.git resolved at main (536b591)
warning: '.resolve-product-dependencies': dependency 'swift-complex' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/dankogai/swift-complex.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[2/10] Write ComplexRun-entitlement.plist
[4/10] Write swift-version--6988338F2F200930.txt
[6/15] Compiling Complex ComplexFormat.swift
[7/15] Compiling Complex GaussianInt.swift
[8/15] Emitting module Complex
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:98:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
 96 | private let c_atanh : @Sendable (Double) -> Double = atanh
 97 | private let c_cbrt  : @Sendable (Double) -> Double = cbrt
 98 | private let c_cos   : @Sendable (Double) -> Double = cos
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
 99 | private let c_cosh  : @Sendable (Double) -> Double = cosh
100 | private let c_exp   : @Sendable (Double) -> Double = exp
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:100:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
 98 | private let c_cos   : @Sendable (Double) -> Double = cos
 99 | private let c_cosh  : @Sendable (Double) -> Double = cosh
100 | private let c_exp   : @Sendable (Double) -> Double = exp
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
101 | private let c_exp2  : @Sendable (Double) -> Double = exp2
102 | private let c_expm1 : @Sendable (Double) -> Double = expm1
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:101:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
 99 | private let c_cosh  : @Sendable (Double) -> Double = cosh
100 | private let c_exp   : @Sendable (Double) -> Double = exp
101 | private let c_exp2  : @Sendable (Double) -> Double = exp2
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
102 | private let c_expm1 : @Sendable (Double) -> Double = expm1
103 | private let c_log   : @Sendable (Double) -> Double = log
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:103:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
101 | private let c_exp2  : @Sendable (Double) -> Double = exp2
102 | private let c_expm1 : @Sendable (Double) -> Double = expm1
103 | private let c_log   : @Sendable (Double) -> Double = log
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
104 | private let c_log2  : @Sendable (Double) -> Double = log2
105 | private let c_log10 : @Sendable (Double) -> Double = log10
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:104:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
102 | private let c_expm1 : @Sendable (Double) -> Double = expm1
103 | private let c_log   : @Sendable (Double) -> Double = log
104 | private let c_log2  : @Sendable (Double) -> Double = log2
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
105 | private let c_log10 : @Sendable (Double) -> Double = log10
106 | private let c_log1p : @Sendable (Double) -> Double = log1p
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:105:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
103 | private let c_log   : @Sendable (Double) -> Double = log
104 | private let c_log2  : @Sendable (Double) -> Double = log2
105 | private let c_log10 : @Sendable (Double) -> Double = log10
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
106 | private let c_log1p : @Sendable (Double) -> Double = log1p
107 | private let c_sin   : @Sendable (Double) -> Double = sin
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:107:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
105 | private let c_log10 : @Sendable (Double) -> Double = log10
106 | private let c_log1p : @Sendable (Double) -> Double = log1p
107 | private let c_sin   : @Sendable (Double) -> Double = sin
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
108 | private let c_sinh  : @Sendable (Double) -> Double = sinh
109 | private let c_sqrt  : @Sendable (Double) -> Double = sqrt
[9/15] Compiling Complex ElementaryFunctions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:98:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
 96 | private let c_atanh : @Sendable (Double) -> Double = atanh
 97 | private let c_cbrt  : @Sendable (Double) -> Double = cbrt
 98 | private let c_cos   : @Sendable (Double) -> Double = cos
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
 99 | private let c_cosh  : @Sendable (Double) -> Double = cosh
100 | private let c_exp   : @Sendable (Double) -> Double = exp
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:100:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
 98 | private let c_cos   : @Sendable (Double) -> Double = cos
 99 | private let c_cosh  : @Sendable (Double) -> Double = cosh
100 | private let c_exp   : @Sendable (Double) -> Double = exp
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
101 | private let c_exp2  : @Sendable (Double) -> Double = exp2
102 | private let c_expm1 : @Sendable (Double) -> Double = expm1
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:101:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
 99 | private let c_cosh  : @Sendable (Double) -> Double = cosh
100 | private let c_exp   : @Sendable (Double) -> Double = exp
101 | private let c_exp2  : @Sendable (Double) -> Double = exp2
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
102 | private let c_expm1 : @Sendable (Double) -> Double = expm1
103 | private let c_log   : @Sendable (Double) -> Double = log
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:103:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
101 | private let c_exp2  : @Sendable (Double) -> Double = exp2
102 | private let c_expm1 : @Sendable (Double) -> Double = expm1
103 | private let c_log   : @Sendable (Double) -> Double = log
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
104 | private let c_log2  : @Sendable (Double) -> Double = log2
105 | private let c_log10 : @Sendable (Double) -> Double = log10
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:104:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
102 | private let c_expm1 : @Sendable (Double) -> Double = expm1
103 | private let c_log   : @Sendable (Double) -> Double = log
104 | private let c_log2  : @Sendable (Double) -> Double = log2
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
105 | private let c_log10 : @Sendable (Double) -> Double = log10
106 | private let c_log1p : @Sendable (Double) -> Double = log1p
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:105:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
103 | private let c_log   : @Sendable (Double) -> Double = log
104 | private let c_log2  : @Sendable (Double) -> Double = log2
105 | private let c_log10 : @Sendable (Double) -> Double = log10
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
106 | private let c_log1p : @Sendable (Double) -> Double = log1p
107 | private let c_sin   : @Sendable (Double) -> Double = sin
/Users/admin/builder/spi-builder-workspace/Sources/Complex/ElementaryFunctions.swift:107:54: warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
105 | private let c_log10 : @Sendable (Double) -> Double = log10
106 | private let c_log1p : @Sendable (Double) -> Double = log1p
107 | private let c_sin   : @Sendable (Double) -> Double = sin
    |                                                      `- warning: converting non-Sendable function value to '@Sendable (Double) -> Double' may introduce data races
108 | private let c_sinh  : @Sendable (Double) -> Double = sinh
109 | private let c_sqrt  : @Sendable (Double) -> Double = sqrt
[10/15] Compiling Complex Complex.swift
[11/19] Compiling ComplexOperators ComplexOperators.swift
[12/19] Emitting module ComplexOperators
[12/19] Write Objects.LinkFileList
[14/19] Compiling ComplexRun main.swift
[15/19] Emitting module ComplexRun
[15/19] Write Objects.LinkFileList
[16/19] Linking libComplex.dylib
[17/19] Linking ComplexRun
[18/19] Applying ComplexRun
Build complete! (3.85s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Complex",
  "name" : "Complex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Complex",
      "targets" : [
        "Complex",
        "ComplexOperators"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "ComplexRun",
      "targets" : [
        "ComplexRun"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ComplexTests",
      "module_type" : "SwiftTarget",
      "name" : "ComplexTests",
      "path" : "Tests/ComplexTests",
      "sources" : [
        "ComplexTests.swift",
        "GaussianIntTests.swift",
        "OperatorTests.swift"
      ],
      "target_dependencies" : [
        "Complex",
        "ComplexOperators"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ComplexRun",
      "module_type" : "SwiftTarget",
      "name" : "ComplexRun",
      "path" : "Sources/ComplexRun",
      "product_memberships" : [
        "ComplexRun"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Complex"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ComplexOperators",
      "module_type" : "SwiftTarget",
      "name" : "ComplexOperators",
      "path" : "Sources/ComplexOperators",
      "product_memberships" : [
        "Complex"
      ],
      "sources" : [
        "ComplexOperators.swift"
      ],
      "target_dependencies" : [
        "Complex"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Complex",
      "module_type" : "SwiftTarget",
      "name" : "Complex",
      "path" : "Sources/Complex",
      "product_memberships" : [
        "Complex",
        "ComplexRun"
      ],
      "sources" : [
        "Complex.swift",
        "ComplexFormat.swift",
        "ElementaryFunctions.swift",
        "GaussianInt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.