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 YouTubeKit, reference 0.2.4 (c48829), with Swift 5.9 for macOS (SPM) on 31 Oct 2024 11:58:55 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexeichhorn/YouTubeKit.git
Reference: 0.2.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexeichhorn/YouTubeKit
 * tag               0.2.4      -> FETCH_HEAD
HEAD is now at c488296 fxied ParserTests
Cloned https://github.com/alexeichhorn/YouTubeKit.git
Revision (git rev-parse @):
c4882966210b5d116a90c532f89b52448f720f0f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/alexeichhorn/YouTubeKit.git at 0.2.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/alexeichhorn/YouTubeKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/24] Emitting module YouTubeKit
[2/26] Compiling YouTubeKit Method.swift
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:44:15: warning: 'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        (self.mimeType, codecs) = try Extraction.mimeTypeCodec(format.mimeType)
              ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:46:39: warning: 'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        let mimeTypeComponents = self.mimeType.components(separatedBy: "/")
                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:47:14: warning: 'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.type = mimeTypeComponents.first ?? ""
             ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:48:14: warning: 'subtype' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.subtype = mimeTypeComponents[safe: 1] ?? ""
             ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:50:59: warning: 'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.fileExtension = FileExtension(mimeType: self.mimeType)
                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:57:21: warning: 'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
            if self.type == "audio" {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:94:14: warning: 'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.type = (remoteStream.videoCodec != nil) ? "video" : "audio"
             ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:95:14: warning: 'subtype' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.subtype = ""
             ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:96:14: warning: 'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.mimeType = ""
             ^
[3/26] Compiling YouTubeKit Stream.swift
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:44:15: warning: 'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        (self.mimeType, codecs) = try Extraction.mimeTypeCodec(format.mimeType)
              ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:46:39: warning: 'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        let mimeTypeComponents = self.mimeType.components(separatedBy: "/")
                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:47:14: warning: 'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.type = mimeTypeComponents.first ?? ""
             ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:48:14: warning: 'subtype' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.subtype = mimeTypeComponents[safe: 1] ?? ""
             ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:50:59: warning: 'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.fileExtension = FileExtension(mimeType: self.mimeType)
                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:57:21: warning: 'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
            if self.type == "audio" {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:94:14: warning: 'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.type = (remoteStream.videoCodec != nil) ? "video" : "audio"
             ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:95:14: warning: 'subtype' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.subtype = ""
             ^
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:96:14: warning: 'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.
        self.mimeType = ""
             ^
[4/26] Compiling YouTubeKit RemoteYouTubeClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/YouTube.swift:9:17: remark: '@preconcurrency' attribute on module 'log' is unused
@preconcurrency import os.log
~~~~~~~~~~~~~~~~^
[5/26] Compiling YouTubeKit YouTube.swift
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/YouTube.swift:9:17: remark: '@preconcurrency' attribute on module 'log' is unused
@preconcurrency import os.log
~~~~~~~~~~~~~~~~^
[6/26] Compiling YouTubeKit InnerTube.swift
[7/26] Compiling YouTubeKit Codecs.swift
[8/26] Compiling YouTubeKit FileExtension.swift
[9/26] Compiling YouTubeKit Concurrency.swift
[10/26] Compiling YouTubeKit Foundation.swift
[11/26] Compiling YouTubeKit Lazy.swift
[12/26] Compiling YouTubeKit Parser.swift
[13/26] Compiling YouTubeKit RemoteStream.swift
[14/26] Compiling YouTubeKit ITag.swift
[15/26] Compiling YouTubeKit Livestream.swift
[16/26] Compiling YouTubeKit URLSessionDelegates.swift
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Extraction.swift:321:25: warning: code after 'continue' will never be executed
                        let signature = try cipher.value.getSignature(cipheredSignature: cipheredSignature)
                        ^
[17/26] Compiling YouTubeKit WebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Extraction.swift:321:25: warning: code after 'continue' will never be executed
                        let signature = try cipher.value.getSignature(cipheredSignature: cipheredSignature)
                        ^
[18/26] Compiling YouTubeKit Extraction.swift
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Extraction.swift:321:25: warning: code after 'continue' will never be executed
                        let signature = try cipher.value.getSignature(cipheredSignature: cipheredSignature)
                        ^
[19/26] Compiling YouTubeKit Logging.swift
[20/26] Compiling YouTubeKit RegularExpression.swift
[21/26] Compiling YouTubeKit Retry.swift
[22/26] Compiling YouTubeKit StreamQuery.swift
[23/26] Compiling YouTubeKit YouTubeMetadata.swift
[24/26] Compiling YouTubeKit Cipher.swift
[25/26] Compiling YouTubeKit Errors.swift
[26/26] Compiling YouTubeKit AsyncCompatibility.swift
Build complete! (7.15s)
Build complete.
Done.