Build Information
Successful build of BilibiliKit, reference main (afbc9a
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 14:06:08 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ApolloZhu/BilibiliKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ApolloZhu/BilibiliKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at afbc9ae Update branch
Cloned https://github.com/ApolloZhu/BilibiliKit.git
Revision (git rev-parse @):
afbc9ae8bb3454811ad547d781d5eb3953143538
SUCCESS checkout https://github.com/ApolloZhu/BilibiliKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ApolloZhu/BilibiliKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[4/7] Write swift-version-1EA4D86E10B52AF.txt
[6/15] Compiling BKFoundation URL+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BKFoundation/URL+Extensions.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringInterpolation', 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | import Foundation
10 |
11 | extension URL: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringInterpolation', 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | /// Initialize url with string literals.
13 | ///
[7/15] Compiling BKFoundation Either.swift
[8/15] Compiling BKFoundation BKSession.swift
[9/15] Compiling BKFoundation BKError.swift
[10/15] Compiling BKFoundation BKCookie.swift
[11/15] Compiling BKFoundation URLSession+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BKFoundation/URLSession+Extensions.swift:115:24: warning: capture of non-sendable type 'Wrapper.Wrapped.Type' in an isolated closure
113 | let task = URLSession._bk.dataTask(with: request) { data, res, err in
114 | guard let data = data else {
115 | return handler(.failure(.responseError(
| `- warning: capture of non-sendable type 'Wrapper.Wrapped.Type' in an isolated closure
116 | reason: .urlSessionError(err, response: res))))
117 | }
/Users/admin/builder/spi-builder-workspace/Sources/BKFoundation/URLSession+Extensions.swift:111:14: warning: capture of non-sendable type 'Wrapper.Type' in an isolated closure
109 | _ request: URLRequest,
110 | unwrap wrapperType: Wrapper.Type,
111 | then handler: @escaping BKHandler<Wrapper.Wrapped>)
| `- warning: capture of non-sendable type 'Wrapper.Type' in an isolated closure
112 | {
113 | let task = URLSession._bk.dataTask(with: request) { data, res, err in
/Users/admin/builder/spi-builder-workspace/Sources/BKFoundation/URLSession+Extensions.swift:120:18: warning: capture of non-sendable type 'Wrapper.Type' in an isolated closure
118 | handler(Result { try JSONDecoder().decode(Wrapper.self, from: data) }
119 | .mapError { BKError.parseError(reason: .jsonDecode(data, failure: $0)) }
120 | .flatMap { wrapper in
| `- warning: capture of non-sendable type 'Wrapper.Type' in an isolated closure
121 | wrapper.data.map(Result<Wrapper.Wrapped, BKError>.success)
122 | ?? (wrapper as? BKMessagedWrapper).map {
[12/15] Compiling BKFoundation BKApp.swift
[13/15] Emitting module BKFoundation
/Users/admin/builder/spi-builder-workspace/Sources/BKFoundation/URL+Extensions.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringInterpolation', 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | import Foundation
10 |
11 | extension URL: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringInterpolation', 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | /// Initialize url with string literals.
13 | ///
[14/24] Compiling BKAudio BKAudio+URLs.swift
[15/24] Emitting module BKAudio
[16/24] Compiling BKAudio BKAudio.swift
[17/24] Compiling BKAudio BKAudio+Info.swift
[18/24] Compiling BKAudio BKAudio+Staff.swift
[19/24] Compiling BKSecurity MD5.swift
[20/24] Compiling BKSecurity RSA.swift
[21/24] Emitting module BKSecurity
[22/24] Compiling BKSecurity BKSec.swift
[23/42] Compiling BilibiliKit BKVideo.swift
[24/43] Compiling BilibiliKit BKVideo+Page.swift
[25/43] Compiling BilibiliKit BKVideo+Stat.swift
[26/43] Compiling BilibiliKit BKUser+Info.swift
[27/43] Compiling BilibiliKit BKUser+Relationship.swift
[28/43] Compiling BilibiliKit BKUpUser.swift
[29/43] Compiling BilibiliKit BKUser+AudioStat.swift
[30/43] Compiling BilibiliKit BKLiveRoom.swift
[31/43] Compiling BilibiliKit BKSession+PasswordLogin.swift
[32/43] Compiling BilibiliKit BKCurrentUser.swift
[33/43] Compiling BilibiliKit BKLiveRoom+Info.swift
[34/43] Compiling BilibiliKit BKArticle+Info.swift
[35/43] Compiling BilibiliKit BKArticle.swift
[36/43] Compiling BilibiliKit BKSession+QRCodeLoginHelper.swift
[37/43] Compiling BilibiliKit BKUpUser+Stat.swift
[38/43] Compiling BilibiliKit BKUser.swift
[39/43] Compiling BilibiliKit BKVideo+Info.swift
[40/43] Emitting module BilibiliKit
[41/43] Compiling BilibiliKit BilibiliKit.swift
[41/43] Write Objects.LinkFileList
[42/43] Linking libBilibiliKitDYLIB.dylib
Build complete! (12.88s)
Fetching https://github.com/apple/swift-crypto
[1/15203] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto from cache (3.05s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 1.1.7 (3.59s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 1.1.7
Build complete.
{
"dependencies" : [
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto"
}
],
"manifest_display_name" : "BilibiliKit",
"name" : "BilibiliKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "BilibiliKit",
"targets" : [
"BilibiliKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BilibiliKitDYLIB",
"targets" : [
"BilibiliKit"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "BilibiliKitTests",
"module_type" : "SwiftTarget",
"name" : "BilibiliKitTests",
"path" : "Tests/BilibiliKitTests",
"sources" : [
"BilibiliKitTests.swift"
],
"target_dependencies" : [
"BilibiliKit"
],
"type" : "test"
},
{
"c99name" : "BilibiliKit",
"module_type" : "SwiftTarget",
"name" : "BilibiliKit",
"path" : "Sources/BilibiliKit",
"product_memberships" : [
"BilibiliKit",
"BilibiliKitDYLIB"
],
"sources" : [
"BKArticle+Info.swift",
"BKArticle.swift",
"BKCurrentUser.swift",
"BKLiveRoom+Info.swift",
"BKLiveRoom.swift",
"BKSession+PasswordLogin.swift",
"BKSession+QRCodeLoginHelper.swift",
"BKUpUser+Stat.swift",
"BKUpUser.swift",
"BKUser+AudioStat.swift",
"BKUser+Info.swift",
"BKUser+Relationship.swift",
"BKUser.swift",
"BKVideo+Info.swift",
"BKVideo+Page.swift",
"BKVideo+Stat.swift",
"BKVideo.swift",
"BilibiliKit.swift"
],
"target_dependencies" : [
"BKFoundation",
"BKSecurity",
"BKAudio"
],
"type" : "library"
},
{
"c99name" : "BKSecurity",
"module_type" : "SwiftTarget",
"name" : "BKSecurity",
"path" : "Sources/BKSecurity",
"product_dependencies" : [
"Crypto"
],
"product_memberships" : [
"BilibiliKit",
"BilibiliKitDYLIB"
],
"sources" : [
"BKSec.swift",
"MD5.swift",
"RSA.swift"
],
"target_dependencies" : [
"BKFoundation"
],
"type" : "library"
},
{
"c99name" : "BKFoundation",
"module_type" : "SwiftTarget",
"name" : "BKFoundation",
"path" : "Sources/BKFoundation",
"product_memberships" : [
"BilibiliKit",
"BilibiliKitDYLIB"
],
"sources" : [
"BKApp.swift",
"BKCookie.swift",
"BKError.swift",
"BKSession.swift",
"Either.swift",
"URL+Extensions.swift",
"URLSession+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "BKAudio",
"module_type" : "SwiftTarget",
"name" : "BKAudio",
"path" : "Sources/BKAudio",
"product_memberships" : [
"BilibiliKit",
"BilibiliKitDYLIB"
],
"sources" : [
"BKAudio+Info.swift",
"BKAudio+Staff.swift",
"BKAudio+URLs.swift",
"BKAudio.swift"
],
"target_dependencies" : [
"BKFoundation"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.