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 Linux on 28 Nov 2024 08:37:11 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sendyhalim/Swime.git
Reference: 3.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/sendyhalim/Swime.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/14740] Fetching quick
Fetched https://github.com/Quick/Quick from cache (0.57s)
[1/19275] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (2.02s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 1.3.4 (1.91s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 7.3.4 (0.47s)
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/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 1.3.4
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling Swime MimeType.swift
/host/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 Swime.swift
/host/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
/host/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! (15.73s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.