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 SION, reference main (9b38cb), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 12:11:59 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 -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: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-sion.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankogai/swift-sion
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9b38cba switch trigger to on:push:tags
Cloned https://github.com/dankogai/swift-sion.git
Revision (git rev-parse @):
9b38cbab1a1f44fc1131e5738c81a2b44f046554
SUCCESS checkout https://github.com/dankogai/swift-sion.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-sion",
      "name": "SION",
      "url": "https://github.com/dankogai/swift-sion.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sion",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dankogai/swift-sion.git
[1/455] Fetching swift-sion
Fetched https://github.com/dankogai/swift-sion.git from cache (1.03s)
Creating working copy for https://github.com/dankogai/swift-sion.git
Working copy of https://github.com/dankogai/swift-sion.git resolved at main (9b38cba)
warning: '.resolve-product-dependencies': dependency 'swift-sion' 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-sion.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 -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/9] Write sources
[2/9] Write SIONRun-entitlement.plist
[3/9] Write swift-version--7754E27361AE5C74.txt
[5/11] Emitting module SION
/Users/admin/builder/spi-builder-workspace/Sources/SION/SION.swift:139:1: warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 137 |     }
 138 | }
 139 | extension Data:ExpressibleByStringLiteral {
     | |- warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 140 |     public typealias StringLiteralType = String
 141 |     public init(stringLiteral value:StringLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/SION/SION.swift:145:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 143 |     }
 144 | }
 145 | extension Date:ExpressibleByFloatLiteral {
     | |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 146 |     public typealias FloatLiteralType = Double
 147 |     public init(floatLiteral value:FloatLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/SION/SION.swift:15:10: warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  13 |     public typealias Value  = SION
  14 |     public typealias Index  = Int
  15 |     case Error(SIONError)
     |          `- warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  16 |     case Nil
  17 |     case Bool(Bool)
     :
 702 | }
 703 | extension SION {
 704 |     public enum SIONError : Equatable {
     |                 `- note: consider making enum 'SIONError' conform to the 'Sendable' protocol
 705 |         case notASIONType
 706 |         case notIterable(SION.ContentType)
[6/11] Compiling SION SION.swift
/Users/admin/builder/spi-builder-workspace/Sources/SION/SION.swift:139:1: warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 137 |     }
 138 | }
 139 | extension Data:ExpressibleByStringLiteral {
     | |- warning: extension declares a conformance of imported type 'Data' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 140 |     public typealias StringLiteralType = String
 141 |     public init(stringLiteral value:StringLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/SION/SION.swift:145:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 143 |     }
 144 | }
 145 | extension Date:ExpressibleByFloatLiteral {
     | |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
 146 |     public typealias FloatLiteralType = Double
 147 |     public init(floatLiteral value:FloatLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/SION/SION.swift:15:10: warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  13 |     public typealias Value  = SION
  14 |     public typealias Index  = Int
  15 |     case Error(SIONError)
     |          `- warning: associated value 'Error' of 'Sendable'-conforming enum 'SION' has non-sendable type 'SION.SIONError'; this is an error in the Swift 6 language mode
  16 |     case Nil
  17 |     case Bool(Bool)
     :
 702 | }
 703 | extension SION {
 704 |     public enum SIONError : Equatable {
     |                 `- note: consider making enum 'SIONError' conform to the 'Sendable' protocol
 705 |         case notASIONType
 706 |         case notIterable(SION.ContentType)
[6/11] Write Objects.LinkFileList
[8/13] Emitting module SIONRun
[9/13] Compiling SIONRun main.swift
[9/13] Write Objects.LinkFileList
[10/13] Linking libSION.dylib
[11/13] Linking SIONRun
[12/13] Applying SIONRun
Build complete! (7.43s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SION",
  "name" : "SION",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SION",
      "targets" : [
        "SION"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SIONRun",
      "targets" : [
        "SIONRun"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SIONTests",
      "module_type" : "SwiftTarget",
      "name" : "SIONTests",
      "path" : "Tests/SIONTests",
      "sources" : [
        "SIONTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SION"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SIONRun",
      "module_type" : "SwiftTarget",
      "name" : "SIONRun",
      "path" : "Sources/SIONRun",
      "product_memberships" : [
        "SIONRun"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SION"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SION",
      "module_type" : "SwiftTarget",
      "name" : "SION",
      "path" : "Sources/SION",
      "product_memberships" : [
        "SION",
        "SIONRun"
      ],
      "sources" : [
        "SION.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.