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 main (c48829), with Swift 5.9 for macOS (SPM) on 23 Oct 2024 11:30:23 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexeichhorn/YouTubeKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexeichhorn/YouTubeKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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 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
~~~~~~~~~~~~~~~~^
[3/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
~~~~~~~~~~~~~~~~^
[4/26] Compiling YouTubeKit ITag.swift
[5/26] Compiling YouTubeKit Livestream.swift
[6/26] Compiling YouTubeKit Parser.swift
[7/26] Compiling YouTubeKit RemoteStream.swift
[8/26] Compiling YouTubeKit StreamQuery.swift
[9/26] Compiling YouTubeKit YouTubeMetadata.swift
[10/26] Compiling YouTubeKit Concurrency.swift
[11/26] Compiling YouTubeKit Foundation.swift
[12/26] Compiling YouTubeKit Lazy.swift
[13/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)
                        ^
[14/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)
                        ^
[15/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)
                        ^
[16/26] Compiling YouTubeKit Cipher.swift
[17/26] Compiling YouTubeKit Errors.swift
[18/26] Compiling YouTubeKit AsyncCompatibility.swift
[19/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 = ""
             ^
[20/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 = ""
             ^
[21/26] Compiling YouTubeKit Logging.swift
[22/26] Compiling YouTubeKit RegularExpression.swift
[23/26] Compiling YouTubeKit Retry.swift
[24/26] Compiling YouTubeKit InnerTube.swift
[25/26] Compiling YouTubeKit Codecs.swift
[26/26] Compiling YouTubeKit FileExtension.swift
Build complete! (7.23s)
Build complete.
Done.