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 Swime, reference 3.1.0 (4e5388), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 01:59:00 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/sendyhalim/Swime.git
Reference: 3.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sendyhalim/Swime
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at 4e53883 Publish 3.1.0
Cloned https://github.com/sendyhalim/Swime.git
Revision (git rev-parse @):
4e538834483059ceefaaad8cdb3abe0d7d1c5146
SUCCESS checkout https://github.com/sendyhalim/Swime.git at 3.1.0
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/14723] Fetching quick
[14724/33941] Fetching quick, nimble
Fetched https://github.com/Quick/Nimble from cache (2.83s)
Fetched https://github.com/Quick/Quick from cache (2.83s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 7.3.3 (2.63s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 1.3.4 (0.64s)
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 1.3.4
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 7.3.3
========================================
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": "swime",
      "name": "Swime",
      "url": "https://github.com/sendyhalim/Swime.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swime",
      "dependencies": [
        {
          "identity": "quick",
          "name": "Quick",
          "url": "https://github.com/Quick/Quick",
          "version": "1.3.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Quick",
          "dependencies": [
            {
              "identity": "nimble",
              "name": "Nimble",
              "url": "https://github.com/Quick/Nimble",
              "version": "7.3.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "nimble",
          "name": "Nimble",
          "url": "https://github.com/Quick/Nimble",
          "version": "7.3.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sendyhalim/Swime.git
[1/422] Fetching swime
Fetched https://github.com/sendyhalim/Swime.git from cache (1.59s)
Fetching https://github.com/Quick/Nimble from cache
Fetching https://github.com/Quick/Quick from cache
Fetched https://github.com/Quick/Quick from cache (0.59s)
Fetched https://github.com/Quick/Nimble from cache (0.59s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 1.3.4 (0.03s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 7.3.4 (0.03s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 7.3.4
Creating working copy for https://github.com/sendyhalim/Swime.git
Working copy of https://github.com/sendyhalim/Swime.git resolved at 3.1.0 (4e53883)
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 1.3.4
warning: '.resolve-product-dependencies': dependency 'swime' is not used by any target
Found 2 product dependencies
  - Quick
  - Nimble
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/sendyhalim/Swime.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/5] Compiling Swime Swime.swift
/Users/admin/builder/spi-builder-workspace/Sources/MimeType.swift:103:21: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
 71 | }
 72 |
 73 | public struct MimeType {
    |               `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
 74 |   /// Mime type string representation. For example "application/pdf"
 75 |   public let mime: String
    :
101 |
102 |   /// List of all supported `MimeType`s
103 |   public static let all: [MimeType] = [
    |                     |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- 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
104 |     MimeType(
105 |       mime: "audio/aac",
[4/5] Compiling Swime MimeType.swift
/Users/admin/builder/spi-builder-workspace/Sources/MimeType.swift:103:21: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
 71 | }
 72 |
 73 | public struct MimeType {
    |               `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
 74 |   /// Mime type string representation. For example "application/pdf"
 75 |   public let mime: String
    :
101 |
102 |   /// List of all supported `MimeType`s
103 |   public static let all: [MimeType] = [
    |                     |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- 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
104 |     MimeType(
105 |       mime: "audio/aac",
[5/5] Emitting module Swime
/Users/admin/builder/spi-builder-workspace/Sources/MimeType.swift:103:21: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
 71 | }
 72 |
 73 | public struct MimeType {
    |               `- note: consider making struct 'MimeType' conform to the 'Sendable' protocol
 74 |   /// Mime type string representation. For example "application/pdf"
 75 |   public let mime: String
    :
101 |
102 |   /// List of all supported `MimeType`s
103 |   public static let all: [MimeType] = [
    |                     |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[MimeType]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- 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
104 |     MimeType(
105 |       mime: "audio/aac",
Build complete! (7.30s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.3.3",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    }
  ],
  "manifest_display_name" : "Swime",
  "name" : "Swime",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "products" : [
    {
      "name" : "Swime",
      "targets" : [
        "Swime"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwimeTests",
      "module_type" : "SwiftTarget",
      "name" : "SwimeTests",
      "path" : "Tests/SwimeTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "SwimeSpec.swift",
        "utils.swift"
      ],
      "target_dependencies" : [
        "Swime"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Swime",
      "module_type" : "SwiftTarget",
      "name" : "Swime",
      "path" : "Sources",
      "product_memberships" : [
        "Swime"
      ],
      "sources" : [
        "MimeType.swift",
        "Swime.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.