This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Smile with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onmyway133/Smile.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/onmyway133/Smile
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2afe344 Merge pull request #29 from xcuYao/dev_xcuYao2
Cloned https://github.com/onmyway133/Smile.git
Revision (git rev-parse @):
2afe344d17f30dee646ef4c54a6926b6dd021e7d
SUCCESS checkout https://github.com/onmyway133/Smile.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/onmyway133/Smile.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/8] Compiling Smile Emoji.swift
[4/8] Compiling Smile Smile.swift
[5/8] Emitting module Smile
/Users/admin/builder/spi-builder-workspace/Sources/Sequence.swift:36:23: warning: static property 'all' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
34 |     public static let end: String = emoji(unicodeValues: [0xFE0F])
35 |
36 |     public static var all: [String] =
   |                       |- warning: static property 'all' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |       Array(start.unicodeScalars.first!.value...end.unicodeScalars.first!.value)
38 |       .map({ emoji(unicodeValues: [Int($0)]) })
[6/8] Compiling Smile Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sequence.swift:36:23: warning: static property 'all' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
34 |     public static let end: String = emoji(unicodeValues: [0xFE0F])
35 |
36 |     public static var all: [String] =
   |                       |- warning: static property 'all' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |       Array(start.unicodeScalars.first!.value...end.unicodeScalars.first!.value)
38 |       .map({ emoji(unicodeValues: [Int($0)]) })
[7/8] Compiling Smile Utils.swift
[8/8] Compiling Smile Categories.swift
Build complete! (17.70s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Smile",
  "name" : "Smile",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Smile",
      "targets" : [
        "Smile"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SmileTests",
      "module_type" : "SwiftTarget",
      "name" : "SmileTests",
      "path" : "SmileTests",
      "sources" : [
        "Tests.swift"
      ],
      "target_dependencies" : [
        "Smile"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Smile",
      "module_type" : "SwiftTarget",
      "name" : "Smile",
      "path" : "Sources",
      "product_memberships" : [
        "Smile"
      ],
      "sources" : [
        "Categories.swift",
        "Emoji.swift",
        "Sequence.swift",
        "Smile.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.