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

Swift 6 data race errors: 2

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/0xOpenBytes/o.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xOpenBytes/o
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2c8dc28 Remove tvOS Notifications (#9)
Cloned https://github.com/0xOpenBytes/o.git
Revision (git rev-parse @):
2c8dc280528428f684f250f88dbc513f4c65504e
SUCCESS checkout https://github.com/0xOpenBytes/o.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/0xOpenBytes/o.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/13] Compiling o NotificationPost.swift
/Users/admin/builder/spi-builder-workspace/Sources/o/Notifications/o+notification.swift:9:27: warning: static property 'center' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |         public class DefaultNotificationCenterDelegate: NSObject, UNUserNotificationCenterDelegate { }
 8 |
 9 |         public static var center: UNUserNotificationCenter = UNUserNotificationCenter.current()
   |                           |- warning: static property 'center' 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 'center' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'center' 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
10 |         public static var delegate: UNUserNotificationCenterDelegate = DefaultNotificationCenterDelegate()
11 |     }
[4/13] Compiling o NotificationUpdate.swift
[5/13] Compiling o NotificationGet.swift
/Users/admin/builder/spi-builder-workspace/Sources/o/Notifications/o+notification.swift:9:27: warning: static property 'center' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |         public class DefaultNotificationCenterDelegate: NSObject, UNUserNotificationCenterDelegate { }
 8 |
 9 |         public static var center: UNUserNotificationCenter = UNUserNotificationCenter.current()
   |                           |- warning: static property 'center' 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 'center' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'center' 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
10 |         public static var delegate: UNUserNotificationCenterDelegate = DefaultNotificationCenterDelegate()
11 |     }
[6/13] Compiling o o+url.swift
[7/13] Compiling o NotificationDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/o/Notifications/o+notification.swift:9:27: warning: static property 'center' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |         public class DefaultNotificationCenterDelegate: NSObject, UNUserNotificationCenterDelegate { }
 8 |
 9 |         public static var center: UNUserNotificationCenter = UNUserNotificationCenter.current()
   |                           |- warning: static property 'center' 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 'center' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'center' 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
10 |         public static var delegate: UNUserNotificationCenterDelegate = DefaultNotificationCenterDelegate()
11 |     }
/Users/admin/builder/spi-builder-workspace/Sources/o/Notifications/o+notification.swift:10:27: warning: static property 'delegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |         public static var center: UNUserNotificationCenter = UNUserNotificationCenter.current()
10 |         public static var delegate: UNUserNotificationCenterDelegate = DefaultNotificationCenterDelegate()
   |                           |- warning: static property 'delegate' 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 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'delegate' 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
11 |     }
12 | }
[8/13] Compiling o NotificationDelete.swift
/Users/admin/builder/spi-builder-workspace/Sources/o/Notifications/o+notification.swift:9:27: warning: static property 'center' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |         public class DefaultNotificationCenterDelegate: NSObject, UNUserNotificationCenterDelegate { }
 8 |
 9 |         public static var center: UNUserNotificationCenter = UNUserNotificationCenter.current()
   |                           |- warning: static property 'center' 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 'center' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'center' 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
10 |         public static var delegate: UNUserNotificationCenterDelegate = DefaultNotificationCenterDelegate()
11 |     }
[9/13] Compiling o o+notification.swift
/Users/admin/builder/spi-builder-workspace/Sources/o/Notifications/o+notification.swift:9:27: warning: static property 'center' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |         public class DefaultNotificationCenterDelegate: NSObject, UNUserNotificationCenterDelegate { }
 8 |
 9 |         public static var center: UNUserNotificationCenter = UNUserNotificationCenter.current()
   |                           |- warning: static property 'center' 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 'center' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'center' 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
10 |         public static var delegate: UNUserNotificationCenterDelegate = DefaultNotificationCenterDelegate()
11 |     }
/Users/admin/builder/spi-builder-workspace/Sources/o/Notifications/o+notification.swift:10:27: warning: static property 'delegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |         public static var center: UNUserNotificationCenter = UNUserNotificationCenter.current()
10 |         public static var delegate: UNUserNotificationCenterDelegate = DefaultNotificationCenterDelegate()
   |                           |- warning: static property 'delegate' 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 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'delegate' 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
11 |     }
12 | }
[10/14] Compiling o NotificationAuthorization.swift
/Users/admin/builder/spi-builder-workspace/Sources/o/Notifications/o+notification.swift:9:27: warning: static property 'center' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |         public class DefaultNotificationCenterDelegate: NSObject, UNUserNotificationCenterDelegate { }
 8 |
 9 |         public static var center: UNUserNotificationCenter = UNUserNotificationCenter.current()
   |                           |- warning: static property 'center' 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 'center' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'center' 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
10 |         public static var delegate: UNUserNotificationCenterDelegate = DefaultNotificationCenterDelegate()
11 |     }
[11/14] Compiling o o+console.swift
[12/14] Compiling o o+file.swift
[13/14] Emitting module o
/Users/admin/builder/spi-builder-workspace/Sources/o/Notifications/o+notification.swift:9:27: warning: static property 'center' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |         public class DefaultNotificationCenterDelegate: NSObject, UNUserNotificationCenterDelegate { }
 8 |
 9 |         public static var center: UNUserNotificationCenter = UNUserNotificationCenter.current()
   |                           |- warning: static property 'center' 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 'center' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'center' 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
10 |         public static var delegate: UNUserNotificationCenterDelegate = DefaultNotificationCenterDelegate()
11 |     }
/Users/admin/builder/spi-builder-workspace/Sources/o/Notifications/o+notification.swift:10:27: warning: static property 'delegate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |         public static var center: UNUserNotificationCenter = UNUserNotificationCenter.current()
10 |         public static var delegate: UNUserNotificationCenterDelegate = DefaultNotificationCenterDelegate()
   |                           |- warning: static property 'delegate' 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 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'delegate' 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
11 |     }
12 | }
[14/14] Compiling o o.swift
Build complete! (19.11s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "o",
  "name" : "o",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "o",
      "targets" : [
        "o"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "oTests",
      "module_type" : "SwiftTarget",
      "name" : "oTests",
      "path" : "Tests/oTests",
      "sources" : [
        "oTests.swift"
      ],
      "target_dependencies" : [
        "o"
      ],
      "type" : "test"
    },
    {
      "c99name" : "o",
      "module_type" : "SwiftTarget",
      "name" : "o",
      "path" : "Sources/o",
      "product_memberships" : [
        "o"
      ],
      "sources" : [
        "Console/o+console.swift",
        "File/o+file.swift",
        "Notifications/NotificationAuthorization.swift",
        "Notifications/NotificationDelegate.swift",
        "Notifications/NotificationDelete.swift",
        "Notifications/NotificationGet.swift",
        "Notifications/NotificationPost.swift",
        "Notifications/NotificationUpdate.swift",
        "Notifications/o+notification.swift",
        "URL/o+url.swift",
        "o.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.