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 YoutubeEngine, reference 0.7.1 (f5a3c9), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 23:52:47 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/Igor-Palaguta/YoutubeEngine.git
Reference: 0.7.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Igor-Palaguta/YoutubeEngine
 * tag               0.7.1      -> FETCH_HEAD
HEAD is now at f5a3c96 Fix Swift Package Manager Tests
Cloned https://github.com/Igor-Palaguta/YoutubeEngine.git
Revision (git rev-parse @):
f5a3c96a122c02b7fd9b84dc5150fa480bb172b5
SUCCESS checkout https://github.com/Igor-Palaguta/YoutubeEngine.git at 0.7.1
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/Quick/Nimble.git
[1/7888] Fetching ohhttpstubs
[790/60326] Fetching ohhttpstubs, reactiveswift
[791/75049] Fetching ohhttpstubs, reactiveswift, quick
[68234/94267] Fetching ohhttpstubs, reactiveswift, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (2.22s)
[73587/79544] Fetching ohhttpstubs, reactiveswift, nimble
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (3.21s)
Fetched https://github.com/Quick/Nimble.git from cache (3.21s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (3.21s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.0.0 (0.56s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.7 (0.55s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 6.2.1 (0.54s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.0 (0.54s)
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 6.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.7
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.0.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.0
========================================
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": "youtubeengine",
      "name": "YoutubeEngine",
      "url": "https://github.com/Igor-Palaguta/YoutubeEngine.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/YoutubeEngine",
      "dependencies": [
        {
          "identity": "reactiveswift",
          "name": "ReactiveSwift",
          "url": "https://github.com/ReactiveCocoa/ReactiveSwift.git",
          "version": "6.7.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ReactiveSwift",
          "dependencies": [
          ]
        },
        {
          "identity": "nimble",
          "name": "Nimble",
          "url": "https://github.com/Quick/Nimble.git",
          "version": "8.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
          "dependencies": [
          ]
        },
        {
          "identity": "ohhttpstubs",
          "name": "OHHTTPStubs",
          "url": "https://github.com/AliSoftware/OHHTTPStubs.git",
          "version": "9.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OHHTTPStubs",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Igor-Palaguta/YoutubeEngine.git
[12/1139] Fetching youtubeengine
Fetched https://github.com/Igor-Palaguta/YoutubeEngine.git from cache (1.92s)
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/AliSoftware/OHHTTPStubs.git from cache
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git from cache
Fetched https://github.com/Quick/Nimble.git from cache (0.58s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.58s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (0.58s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.53s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 6.7.0 (0.53s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.03s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 6.7.0
Creating working copy for https://github.com/Igor-Palaguta/YoutubeEngine.git
Working copy of https://github.com/Igor-Palaguta/YoutubeEngine.git resolved at 0.7.1 (f5a3c96)
warning: '.resolve-product-dependencies': dependency 'youtubeengine' is not used by any target
Found 3 product dependencies
  - ReactiveSwift
  - Nimble
  - OHHTTPStubs
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Igor-Palaguta/YoutubeEngine.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/23] Compiling ReactiveSwift Optional.swift
[5/23] Compiling ReactiveSwift Property.swift
[6/25] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[7/25] Compiling ReactiveSwift ValidatingProperty.swift
[8/25] Emitting module ReactiveSwift
[9/25] Compiling ReactiveSwift Deprecations+Removals.swift
[10/25] Compiling ReactiveSwift Disposable.swift
[11/25] Compiling ReactiveSwift Event.swift
[12/25] Compiling ReactiveSwift EventLogger.swift
[13/25] Compiling ReactiveSwift Action.swift
[14/25] Compiling ReactiveSwift Atomic.swift
[15/25] Compiling ReactiveSwift Bag.swift
[16/25] Compiling ReactiveSwift Scheduler.swift
[17/25] Compiling ReactiveSwift Signal.swift
[18/25] Compiling ReactiveSwift Reactive.swift
[19/25] Compiling ReactiveSwift ResultExtensions.swift
[20/25] Compiling ReactiveSwift Lifetime.swift
[21/25] Compiling ReactiveSwift Observer.swift
[22/25] Compiling ReactiveSwift Flatten.swift
[23/25] Compiling ReactiveSwift FoundationExtensions.swift
[24/25] Compiling ReactiveSwift SignalProducer.swift
[25/25] Compiling ReactiveSwift UnidirectionalBinding.swift
[26/47] Compiling YoutubeEngine ChannelRequest.swift
[27/47] Compiling YoutubeEngine PartibleObject.swift
[28/49] Compiling YoutubeEngine Video+Request.swift
[29/49] Compiling YoutubeEngine VideoRequest.swift
[30/49] Emitting module YoutubeEngine
[31/49] Compiling YoutubeEngine NSDateFormatter+ISO8601.swift
[32/49] Compiling YoutubeEngine Channel+Request.swift
[33/49] Compiling YoutubeEngine PlaylistItemRequest.swift
[34/49] Compiling YoutubeEngine Request.swift
[35/49] Compiling YoutubeEngine Engine.swift
[36/49] Compiling YoutubeEngine Error.swift
[37/49] Compiling YoutubeEngine SearchItem.swift
[38/49] Compiling YoutubeEngine StatisticsNumber.swift
[39/49] Compiling YoutubeEngine Video.swift
[40/49] Compiling YoutubeEngine NSURLSession+RAC.swift
/Users/admin/builder/spi-builder-workspace/Source/YoutubeEngine/Helpers/NSURLSession+RAC.swift:61:25: warning: capture of 'observer' with non-sendable type 'Signal<T, NSError>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 59 |                     let error = error as NSError
 60 |                     if error.domain == NSURLErrorDomain && error.code == NSURLErrorCancelled {
 61 |                         observer.sendInterrupted()
    |                         `- warning: capture of 'observer' with non-sendable type 'Signal<T, NSError>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                     } else {
 63 |                         observer.send(error: error)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
 10 | 	/// An Observer is a simple wrapper around a function which can receive Events
 11 | 	/// (typically from a Signal).
 12 | 	public final class Observer {
    |                     `- note: class 'Observer' does not conform to the 'Sendable' protocol
 13 | 		public typealias Action = (Event) -> Void
 14 | 		private let _send: Action
/Users/admin/builder/spi-builder-workspace/Source/YoutubeEngine/Helpers/NSURLSession+RAC.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
  1 | import Foundation
  2 | import ReactiveSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
  3 |
  4 | protocol Logging {
/Users/admin/builder/spi-builder-workspace/Source/YoutubeEngine/Helpers/NSURLSession+RAC.swift:69:17: warning: capture of 'logger' with non-sendable type '(any Logging)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import ReactiveSwift
  3 |
  4 | protocol Logging {
    |          `- note: protocol 'Logging' does not conform to the 'Sendable' protocol
  5 |     func log(_ request: URLRequest)
  6 |     func log(_ response: HTTPURLResponse, body: Data?)
    :
 67 |
 68 |                 // swiftlint:disable:next force_cast
 69 |                 logger?.log(response as! HTTPURLResponse, body: data)
    |                 `- warning: capture of 'logger' with non-sendable type '(any Logging)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 70 |
 71 |                 guard let data = data else {
[41/49] Compiling YoutubeEngine NSDateComponents+ISO8601.swift
/Users/admin/builder/spi-builder-workspace/Source/YoutubeEngine/Helpers/NSURLSession+RAC.swift:61:25: warning: capture of 'observer' with non-sendable type 'Signal<T, NSError>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 59 |                     let error = error as NSError
 60 |                     if error.domain == NSURLErrorDomain && error.code == NSURLErrorCancelled {
 61 |                         observer.sendInterrupted()
    |                         `- warning: capture of 'observer' with non-sendable type 'Signal<T, NSError>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |                     } else {
 63 |                         observer.send(error: error)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
 10 | 	/// An Observer is a simple wrapper around a function which can receive Events
 11 | 	/// (typically from a Signal).
 12 | 	public final class Observer {
    |                     `- note: class 'Observer' does not conform to the 'Sendable' protocol
 13 | 		public typealias Action = (Event) -> Void
 14 | 		private let _send: Action
/Users/admin/builder/spi-builder-workspace/Source/YoutubeEngine/Helpers/NSURLSession+RAC.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
  1 | import Foundation
  2 | import ReactiveSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
  3 |
  4 | protocol Logging {
/Users/admin/builder/spi-builder-workspace/Source/YoutubeEngine/Helpers/NSURLSession+RAC.swift:69:17: warning: capture of 'logger' with non-sendable type '(any Logging)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import ReactiveSwift
  3 |
  4 | protocol Logging {
    |          `- note: protocol 'Logging' does not conform to the 'Sendable' protocol
  5 |     func log(_ request: URLRequest)
  6 |     func log(_ response: HTTPURLResponse, body: Data?)
    :
 67 |
 68 |                 // swiftlint:disable:next force_cast
 69 |                 logger?.log(response as! HTTPURLResponse, body: data)
    |                 `- warning: capture of 'logger' with non-sendable type '(any Logging)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 70 |
 71 |                 guard let data = data else {
[42/49] Compiling YoutubeEngine RequestParameterRepresenting.swift
[43/49] Compiling YoutubeEngine SearchRequest.swift
[44/49] Compiling YoutubeEngine Part.swift
[45/49] Compiling YoutubeEngine Playlist.swift
[46/49] Compiling YoutubeEngine PlaylistItem.swift
[47/49] Compiling YoutubeEngine Channel.swift
[48/49] Compiling YoutubeEngine Image.swift
[49/49] Compiling YoutubeEngine Page.swift
Build complete! (15.04s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "reactiveswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ReactiveCocoa/ReactiveSwift.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/OHHTTPStubs.git"
    }
  ],
  "manifest_display_name" : "YoutubeEngine",
  "name" : "YoutubeEngine",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "YoutubeEngine",
      "targets" : [
        "YoutubeEngine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "YoutubeEngineTests",
      "module_type" : "SwiftTarget",
      "name" : "YoutubeEngineTests",
      "path" : "Tests/YoutubeEngineTests",
      "product_dependencies" : [
        "Nimble",
        "OHHTTPStubsSwift"
      ],
      "sources" : [
        "DateComponents+EasyConstruction.swift",
        "EngineTests.swift",
        "ISO8601DurationTests.swift"
      ],
      "target_dependencies" : [
        "YoutubeEngine"
      ],
      "type" : "test"
    },
    {
      "c99name" : "YoutubeEngine",
      "module_type" : "SwiftTarget",
      "name" : "YoutubeEngine",
      "path" : "Source",
      "product_dependencies" : [
        "ReactiveSwift"
      ],
      "product_memberships" : [
        "YoutubeEngine"
      ],
      "sources" : [
        "YoutubeEngine/Data/Channel.swift",
        "YoutubeEngine/Data/Image.swift",
        "YoutubeEngine/Data/Page.swift",
        "YoutubeEngine/Data/Part.swift",
        "YoutubeEngine/Data/Playlist.swift",
        "YoutubeEngine/Data/PlaylistItem.swift",
        "YoutubeEngine/Data/SearchItem.swift",
        "YoutubeEngine/Data/StatisticsNumber.swift",
        "YoutubeEngine/Data/Video.swift",
        "YoutubeEngine/Engine.swift",
        "YoutubeEngine/Error.swift",
        "YoutubeEngine/Helpers/NSURLSession+RAC.swift",
        "YoutubeEngine/Parser/NSDateComponents+ISO8601.swift",
        "YoutubeEngine/Parser/NSDateFormatter+ISO8601.swift",
        "YoutubeEngine/Requests/Channel+Request.swift",
        "YoutubeEngine/Requests/ChannelRequest.swift",
        "YoutubeEngine/Requests/PartibleObject.swift",
        "YoutubeEngine/Requests/PlaylistItemRequest.swift",
        "YoutubeEngine/Requests/Request.swift",
        "YoutubeEngine/Requests/RequestParameterRepresenting.swift",
        "YoutubeEngine/Requests/SearchRequest.swift",
        "YoutubeEngine/Requests/Video+Request.swift",
        "YoutubeEngine/Requests/VideoRequest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.