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 DLInterval, reference master (a985e2), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 13:53:14 UTC.

Swift 6 data race errors: 1

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/david-livadaru/DLInterval.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/david-livadaru/DLInterval
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a985e2b master
Cloned https://github.com/david-livadaru/DLInterval.git
Revision (git rev-parse @):
a985e2bb0002fe23eff386519dddac82af5b816f
SUCCESS checkout https://github.com/david-livadaru/DLInterval.git at master
========================================
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": "dlinterval",
      "name": "DLInterval",
      "url": "https://github.com/david-livadaru/DLInterval.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DLInterval",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/david-livadaru/DLInterval.git
[1/403] Fetching dlinterval
Fetched https://github.com/david-livadaru/DLInterval.git from cache (0.74s)
Creating working copy for https://github.com/david-livadaru/DLInterval.git
Working copy of https://github.com/david-livadaru/DLInterval.git resolved at master (a985e2b)
warning: '.resolve-product-dependencies': dependency 'dlinterval' 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/david-livadaru/DLInterval.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/14] Compiling DLInterval ExpressibleByRange.swift
[4/15] Emitting module DLInterval
/Users/admin/builder/spi-builder-workspace/Sources/DLInterval/UnionInterval.swift:11:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
  9 |
 10 | public struct UnionInterval: IntervalType, ExpressibleByArrayLiteral {
 11 |     public private (set) var intervals: [Interval]
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 12 |
 13 |     /// The lower boundary of union.
[5/15] Compiling DLInterval IntervalType.swift
[6/15] Compiling DLInterval IntervalExtremum.swift
[7/15] Compiling DLInterval IntervalOperators.swift
[8/15] Compiling DLInterval ExpressibleByClosedRange.swift
[9/15] Compiling DLInterval ExpressibleByIntervalArray.swift
[10/15] Compiling DLInterval ExpressibleByIntervalTuple.swift
[11/15] Compiling DLInterval Interval.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLInterval/UnionInterval.swift:11:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
  9 |
 10 | public struct UnionInterval: IntervalType, ExpressibleByArrayLiteral {
 11 |     public private (set) var intervals: [Interval]
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 12 |
 13 |     /// The lower boundary of union.
[12/15] Compiling DLInterval IntervalBoundary.swift
[13/15] Compiling DLInterval Boundary.swift
[14/15] Compiling DLInterval Double+FrameworkExtension.swift
[15/15] Compiling DLInterval UnionInterval.swift
/Users/admin/builder/spi-builder-workspace/Sources/DLInterval/UnionInterval.swift:11:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
  9 |
 10 | public struct UnionInterval: IntervalType, ExpressibleByArrayLiteral {
 11 |     public private (set) var intervals: [Interval]
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 12 |
 13 |     /// The lower boundary of union.
Build complete! (15.90s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DLInterval",
  "name" : "DLInterval",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DLInterval",
      "targets" : [
        "DLInterval"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DLIntervalTests",
      "module_type" : "SwiftTarget",
      "name" : "DLIntervalTests",
      "path" : "Tests/DLIntervalTests",
      "sources" : [
        "BoundaryTests.swift",
        "IntervalBoundaryTests.swift",
        "IntervalClipValueTests.swift",
        "IntervalComparisonTests.swift",
        "IntervalConstructorTests.swift",
        "IntervalContainsTests.swift",
        "IntervalIntersectionTests.swift",
        "IntervalUnionTests.swift",
        "UnionIntervalTests.swift"
      ],
      "target_dependencies" : [
        "DLInterval"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DLInterval",
      "module_type" : "SwiftTarget",
      "name" : "DLInterval",
      "path" : "Sources/DLInterval",
      "product_memberships" : [
        "DLInterval"
      ],
      "sources" : [
        "Boundary.swift",
        "Double+FrameworkExtension.swift",
        "ExpressibleByClosedRange.swift",
        "ExpressibleByIntervalArray.swift",
        "ExpressibleByIntervalTuple.swift",
        "ExpressibleByRange.swift",
        "Interval.swift",
        "IntervalBoundary.swift",
        "IntervalExtremum.swift",
        "IntervalOperators.swift",
        "IntervalType.swift",
        "UnionInterval.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.