Build Information
Successful build of YouTubeKit, reference 0.4.9 (e5b7d0), with Swift 6.4 for macOS (SPM) on 27 Sep 2026 04:39:00 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexeichhorn/YouTubeKit.git
Reference: 0.4.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexeichhorn/YouTubeKit
* tag 0.4.9 -> FETCH_HEAD
HEAD is now at e5b7d03 Merge pull request #140 from alexeichhorn/fix/youtube-august-26
Cloned https://github.com/alexeichhorn/YouTubeKit.git
Revision (git rev-parse @):
e5b7d0396ce12bf3444f0d209e8436c83373b7af
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/alexeichhorn/YouTubeKit.git at 0.4.9
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/alexeichhorn/YouTubeKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[34 / 43]
[35 / 44] YouTubeKit
[44 / 105]
[47 / 105]
[55 / 105]
[57 / 105]
[58 / 105]
[62 / 105]
[64 / 105]
[67 / 105]
[72 / 105]
[75 / 105]
[76 / 105]
[82 / 105]
[83 / 105]
[84 / 105]
[85 / 105]
[96 / 105] YouTubeKit
[97 / 105] YouTubeKit
[102 / 105] YouTubeKit
Build complete! (10.06 sec)
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:44:15: [1;33mwarning: [1;39m'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m42 |[0;0m
[0;36m43 |[0;0m let codecs: [String]
[0;36m44 |[0;0m (self.mimeType, codecs) = try Extraction.mimeTypeCodec(format.mimeType)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m45 |[0;0m
[0;36m46 |[0;0m let mimeTypeComponents = self.mimeType.components(separatedBy: "/")
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:46:39: [1;33mwarning: [1;39m'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m44 |[0;0m (self.mimeType, codecs) = try Extraction.mimeTypeCodec(format.mimeType)
[0;36m45 |[0;0m
[0;36m46 |[0;0m let mimeTypeComponents = self.mimeType.components(separatedBy: "/")
[0;36m|[0;0m `- [1;33mwarning: [1;39m'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m47 |[0;0m self.type = mimeTypeComponents.first ?? ""
[0;36m48 |[0;0m self.subtype = mimeTypeComponents[safe: 1] ?? ""
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:47:14: [1;33mwarning: [1;39m'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m45 |[0;0m
[0;36m46 |[0;0m let mimeTypeComponents = self.mimeType.components(separatedBy: "/")
[0;36m47 |[0;0m self.type = mimeTypeComponents.first ?? ""
[0;36m|[0;0m `- [1;33mwarning: [1;39m'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m48 |[0;0m self.subtype = mimeTypeComponents[safe: 1] ?? ""
[0;36m49 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:48:14: [1;33mwarning: [1;39m'subtype' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m46 |[0;0m let mimeTypeComponents = self.mimeType.components(separatedBy: "/")
[0;36m47 |[0;0m self.type = mimeTypeComponents.first ?? ""
[0;36m48 |[0;0m self.subtype = mimeTypeComponents[safe: 1] ?? ""
[0;36m|[0;0m `- [1;33mwarning: [1;39m'subtype' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m49 |[0;0m
[0;36m50 |[0;0m self.fileExtension = FileExtension(mimeType: self.mimeType)
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:50:59: [1;33mwarning: [1;39m'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m48 |[0;0m self.subtype = mimeTypeComponents[safe: 1] ?? ""
[0;36m49 |[0;0m
[0;36m50 |[0;0m self.fileExtension = FileExtension(mimeType: self.mimeType)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m51 |[0;0m
[0;36m52 |[0;0m // codec decoding
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:57:21: [1;33mwarning: [1;39m'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m55 |[0;0m self.audioCodec = AudioCodec(rawValue: codecs[1])
[0;36m56 |[0;0m } else if let codec = codecs.first {
[0;36m57 |[0;0m if self.type == "audio" {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m58 |[0;0m self.audioCodec = AudioCodec(rawValue: codec)
[0;36m59 |[0;0m self.videoCodec = nil
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:94:14: [1;33mwarning: [1;39m'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m92 |[0;0m
[0;36m93 |[0;0m // Backward compatibility for deprecated `subtype` and `mimeType`
[0;36m94 |[0;0m self.type = (remoteStream.videoCodec != nil) ? "video" : "audio"
[0;36m|[0;0m `- [1;33mwarning: [1;39m'type' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m95 |[0;0m self.subtype = ""
[0;36m96 |[0;0m self.mimeType = ""
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:95:14: [1;33mwarning: [1;39m'subtype' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m93 |[0;0m // Backward compatibility for deprecated `subtype` and `mimeType`
[0;36m94 |[0;0m self.type = (remoteStream.videoCodec != nil) ? "video" : "audio"
[0;36m95 |[0;0m self.subtype = ""
[0;36m|[0;0m `- [1;33mwarning: [1;39m'subtype' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m96 |[0;0m self.mimeType = ""
[0;36m97 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Models/Stream.swift:96:14: [1;33mwarning: [1;39m'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m94 |[0;0m self.type = (remoteStream.videoCodec != nil) ? "video" : "audio"
[0;36m95 |[0;0m self.subtype = ""
[0;36m96 |[0;0m self.mimeType = ""
[0;36m|[0;0m `- [1;33mwarning: [1;39m'mimeType' is deprecated: Might be empty if using remote fetching method. Use `videoCodec`, `audioCodec` or `fileExtension` instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m97 |[0;0m }
[0;36m98 |[0;0m
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Extensions/AsyncCompatibility.swift:45:87: [1;33mwarning: [1;39mpassing non-Sendable parameter '$0' to function expecting a '@Sendable' closure[0;0m
[0;36m43 |[0;0m
[0;36m44 |[0;0m func data(from url: URL) async throws -> (Data, URLResponse) {
[0;36m45 |[0;0m try await performCancellableDataTask { dataTask(with: url, completionHandler: $0) }
[0;36m|[0;0m | `- [1;33mwarning: [1;39mpassing non-Sendable parameter '$0' to function expecting a '@Sendable' closure[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter '$0' is implicitly non-Sendable[0;0m
[0;36m46 |[0;0m }
[0;36m47 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Extensions/AsyncCompatibility.swift:49:91: [1;33mwarning: [1;39mpassing non-Sendable parameter '$0' to function expecting a '@Sendable' closure[0;0m
[0;36m47 |[0;0m
[0;36m48 |[0;0m func data(for request: URLRequest) async throws -> (Data, URLResponse) {
[0;36m49 |[0;0m try await performCancellableDataTask { dataTask(with: request, completionHandler: $0) }
[0;36m|[0;0m | `- [1;33mwarning: [1;39mpassing non-Sendable parameter '$0' to function expecting a '@Sendable' closure[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter '$0' is implicitly non-Sendable[0;0m
[0;36m50 |[0;0m }
[0;36m51 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/YouTube.swift:355:19: [1;33mwarning: [1;39m'catch' block is unreachable because no errors are thrown in 'do' block[0;0m
[0;36m353 |[0;0m do {
[0;36m354 |[0;0m return nil //try await Extraction.getVideoInfo(fromHTML: watchHTML) // (temporarily disabled)
[0;36m355 |[0;0m } catch let error {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'catch' block is unreachable because no errors are thrown in 'do' block[0;0m
[0;36m356 |[0;0m os_log("Couldn't extract video info from main watch html: %{public}@", log: log, type: .debug, error.localizedDescription)
[0;36m357 |[0;0m return nil
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "YouTubeKit",
"name" : "YouTubeKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "YouTubeKit",
"targets" : [
"YouTubeKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "YouTubeKitTests",
"module_type" : "SwiftTarget",
"name" : "YouTubeKitTests",
"path" : "Tests/YouTubeKitTests",
"sources" : [
"CipherTests.swift",
"ExtensionTests.swift",
"Extensions.swift",
"ExtractionTests.swift",
"ITagsTests.swift",
"NSigTests.swift",
"ParserTests.swift",
"PlayabilityTests.swift",
"SignatureTests.swift",
"YouTubeKitTests.swift"
],
"target_dependencies" : [
"YouTubeKit"
],
"type" : "test"
},
{
"c99name" : "YouTubeKit",
"module_type" : "SwiftTarget",
"name" : "YouTubeKit",
"path" : "Sources/YouTubeKit",
"product_memberships" : [
"YouTubeKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Resources/astring.umd.js",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Resources/meriyah.umd.js",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/YouTubeKit/Resources/yt_ejs_helper.js",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Cipher.swift",
"Errors.swift",
"Extensions/AsyncCompatibility.swift",
"Extensions/Concurrency.swift",
"Extensions/Foundation.swift",
"Extensions/Lazy.swift",
"Extensions/Logging.swift",
"Extensions/RegularExpression.swift",
"Extensions/Retry.swift",
"Extensions/URLSessionDelegates.swift",
"Extensions/WebSocket.swift",
"Extraction.swift",
"InnerTube.swift",
"Models/Codecs.swift",
"Models/FileExtension.swift",
"Models/ITag.swift",
"Models/Livestream.swift",
"Models/Method.swift",
"Models/Stream.swift",
"Models/StreamQuery.swift",
"Models/YouTubeMetadata.swift",
"Parser.swift",
"Remote/AppIdentity.swift",
"Remote/Chunking.swift",
"Remote/Models/RemoteStream.swift",
"Remote/RemoteYouTubeClient.swift",
"SignatureSolver.swift",
"YouTube.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.