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 master (837bb2), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 23:52:41 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Igor-Palaguta/YoutubeEngine
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 837bb2a Update README.md
Cloned https://github.com/Igor-Palaguta/YoutubeEngine.git
Revision (git rev-parse @):
837bb2abf87f261f6b0b8dc4e52166c59808d3d0
SUCCESS checkout https://github.com/Igor-Palaguta/YoutubeEngine.git at master
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
[1/7888] Fetching ohhttpstubs
[159/60326] Fetching ohhttpstubs, reactiveswift
[712/75049] Fetching ohhttpstubs, reactiveswift, quick
Fetched https://github.com/Quick/Quick.git from cache (1.62s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (1.62s)
[22024/52438] Fetching reactiveswift
[39330/71656] Fetching reactiveswift, nimble
Fetched https://github.com/Quick/Nimble.git from cache (6.81s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (6.81s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.0.0 (0.67s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.7 (0.62s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 6.2.1 (0.63s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.0 (0.68s)
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/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.7
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.0
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 6.2.1
========================================
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
[1/1139] Fetching youtubeengine
Fetched https://github.com/Igor-Palaguta/YoutubeEngine.git from cache (2.23s)
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git from cache
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/AliSoftware/OHHTTPStubs.git from cache
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (0.59s)
Fetched https://github.com/Quick/Nimble.git from cache (0.60s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.60s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.66s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 6.7.0 (0.65s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.04s)
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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/Igor-Palaguta/YoutubeEngine.git
Working copy of https://github.com/Igor-Palaguta/YoutubeEngine.git resolved at master (837bb2a)
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] Emitting module ReactiveSwift
[5/25] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[6/25] Compiling ReactiveSwift ValidatingProperty.swift
[7/25] Compiling ReactiveSwift Reactive.swift
[8/25] Compiling ReactiveSwift ResultExtensions.swift
[9/25] Compiling ReactiveSwift Action.swift
[10/25] Compiling ReactiveSwift Atomic.swift
[11/25] Compiling ReactiveSwift Bag.swift
[12/25] Compiling ReactiveSwift Deprecations+Removals.swift
[13/25] Compiling ReactiveSwift Disposable.swift
[14/25] Compiling ReactiveSwift Optional.swift
[15/25] Compiling ReactiveSwift Property.swift
[16/25] Compiling ReactiveSwift Event.swift
[17/25] Compiling ReactiveSwift EventLogger.swift
[18/25] Compiling ReactiveSwift Scheduler.swift
[19/25] Compiling ReactiveSwift Signal.swift
[20/25] Compiling ReactiveSwift Flatten.swift
[21/25] Compiling ReactiveSwift FoundationExtensions.swift
[22/25] Compiling ReactiveSwift SignalProducer.swift
[23/25] Compiling ReactiveSwift UnidirectionalBinding.swift
[24/25] Compiling ReactiveSwift Lifetime.swift
[25/25] Compiling ReactiveSwift Observer.swift
[26/47] Compiling YoutubeEngine PlaylistItemRequest.swift
[27/47] Compiling YoutubeEngine Request.swift
[28/47] Compiling YoutubeEngine ChannelRequest.swift
[29/47] Compiling YoutubeEngine PartibleObject.swift
[30/49] Compiling YoutubeEngine Engine.swift
[31/49] Compiling YoutubeEngine Error.swift
[32/49] Compiling YoutubeEngine NSDateFormatter+ISO8601.swift
[33/49] Compiling YoutubeEngine Channel+Request.swift
[34/49] Emitting module YoutubeEngine
[35/49] Compiling YoutubeEngine RequestParameterRepresenting.swift
[36/49] Compiling YoutubeEngine SearchRequest.swift
[37/49] Compiling YoutubeEngine Part.swift
[38/49] Compiling YoutubeEngine Playlist.swift
[39/49] Compiling YoutubeEngine PlaylistItem.swift
[40/49] Compiling YoutubeEngine Video+Request.swift
[41/49] Compiling YoutubeEngine VideoRequest.swift
[42/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 {
[43/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 {
[44/49] Compiling YoutubeEngine SearchItem.swift
[45/49] Compiling YoutubeEngine StatisticsNumber.swift
[46/49] Compiling YoutubeEngine Video.swift
[47/49] Compiling YoutubeEngine Channel.swift
[48/49] Compiling YoutubeEngine Image.swift
[49/49] Compiling YoutubeEngine Page.swift
Build complete! (15.29s)
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.