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 Skewer, reference master (319cc6), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 08:24:05 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/Fleuronic/Skewer.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Fleuronic/Skewer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 319cc67 Update README.md
Cloned https://github.com/Fleuronic/Skewer.git
Revision (git rev-parse @):
319cc67026eb41b55e3719d83c3b6f753867541f
SUCCESS checkout https://github.com/Fleuronic/Skewer.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": "skewer",
      "name": "Skewer",
      "url": "https://github.com/Fleuronic/Skewer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Skewer",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Fleuronic/Skewer.git
[1/164] Fetching skewer
Fetched https://github.com/Fleuronic/Skewer.git from cache (0.66s)
Creating working copy for https://github.com/Fleuronic/Skewer.git
Working copy of https://github.com/Fleuronic/Skewer.git resolved at master (319cc67)
warning: '.resolve-product-dependencies': dependency 'skewer' 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/Fleuronic/Skewer.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/9] Emitting module Skewer
[4/9] Compiling Skewer ComponentTransform.swift
[5/9] Compiling Skewer Hyphen.swift
[6/9] Compiling Skewer Conversion.swift
[7/9] Compiling Skewer AnyKey.swift
[8/9] Compiling Skewer KeyDecodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Skewer/KeyDecodingStrategy.swift:19:31: warning: capture of 'conversion' with non-sendable type '(String) -> String' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | 		.custom { keys in
18 | 			let stringValue = keys.last!.stringValue
19 | 			let convertedStringValue = conversion(stringValue)
   |                               |- warning: capture of 'conversion' with non-sendable type '(String) -> String' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
20 | 			return AnyKey(stringValue: convertedStringValue)!
21 | 		}
[9/9] Compiling Skewer KeyEncodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Skewer/KeyEncodingStrategy.swift:19:31: warning: capture of 'conversion' with non-sendable type '(String) -> String' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | 		.custom { keys in
18 | 			let stringValue = keys.last!.stringValue
19 | 			let convertedStringValue = conversion(stringValue)
   |                               |- warning: capture of 'conversion' with non-sendable type '(String) -> String' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
20 | 			return AnyKey(stringValue: convertedStringValue)!
21 | 		}
Build complete! (8.60s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Skewer",
  "name" : "Skewer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Skewer",
      "targets" : [
        "Skewer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SkewerTests",
      "module_type" : "SwiftTarget",
      "name" : "SkewerTests",
      "path" : "Tests/SkewerTests",
      "sources" : [
        "DecodingTests.swift",
        "EncodingTests.swift"
      ],
      "target_dependencies" : [
        "Skewer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Skewer",
      "module_type" : "SwiftTarget",
      "name" : "Skewer",
      "path" : "Sources/Skewer",
      "product_memberships" : [
        "Skewer"
      ],
      "sources" : [
        "AnyKey.swift",
        "ComponentTransform.swift",
        "Conversion.swift",
        "Hyphen.swift",
        "KeyDecodingStrategy.swift",
        "KeyEncodingStrategy.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.