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 Complex, reference main (bdcf7d), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 09:56:19 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
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 bdcf7d4 Update README.md
Cloned https://github.com/dankogai/swift-complex.git
Revision (git rev-parse @):
bdcf7d422e8ee7ab32227d6236791ff561c42ad4
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",
  "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",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dankogai/swift-complex.git
[1/1121] Fetching swift-complex
Fetched https://github.com/dankogai/swift-complex.git from cache (1.16s)
Creating working copy for https://github.com/dankogai/swift-complex.git
Working copy of https://github.com/dankogai/swift-complex.git resolved at main (bdcf7d4)
warning: '.resolve-product-dependencies': dependency 'swift-complex' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dankogai/swift-complex.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[2/9] Write ComplexRun-entitlement.plist
[3/9] Write swift-version--7754E27361AE5C74.txt
[5/13] Compiling Complex GaussianInt.swift
[6/13] Compiling Complex Complex.swift
[7/13] Compiling Complex FloatingPointMath.swift
[8/13] Emitting module Complex
[8/13] Write Objects.LinkFileList
[10/15] Compiling ComplexRun main.swift
[11/15] Emitting module ComplexRun
[11/15] Write Objects.LinkFileList
[12/15] Linking libComplex.dylib
[13/15] Linking ComplexRun
[14/15] Applying ComplexRun
Build complete! (6.00s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Complex",
  "name" : "Complex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Complex",
      "targets" : [
        "Complex"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "ComplexRun",
      "targets" : [
        "ComplexRun"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ComplexTests",
      "module_type" : "SwiftTarget",
      "name" : "ComplexTests",
      "path" : "Tests/ComplexTests",
      "sources" : [
        "ComplexTests.swift",
        "GaussianIntTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Complex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ComplexRun",
      "module_type" : "SwiftTarget",
      "name" : "ComplexRun",
      "path" : "Sources/ComplexRun",
      "product_memberships" : [
        "ComplexRun"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Complex"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Complex",
      "module_type" : "SwiftTarget",
      "name" : "Complex",
      "path" : "Sources/Complex",
      "product_memberships" : [
        "Complex",
        "ComplexRun"
      ],
      "sources" : [
        "Complex.swift",
        "FloatingPointMath.swift",
        "GaussianInt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.