Build Information
Failed to build DiscordKit with Swift 6.0 (beta) for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftcordApp/DiscordKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/SwiftcordApp/DiscordKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2da56fe patch(snowflake): update discord epoch to be static property
Cloned https://github.com/SwiftcordApp/DiscordKit.git
Revision (git rev-parse @):
2da56feba250dac2638b58ee5c6b362fa46002d1
SUCCESS checkout https://github.com/SwiftcordApp/DiscordKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/SwiftcordApp/DiscordKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/ashleymills/Reachability.swift
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/tsolomko/BitByteData
Fetching https://github.com/tesseract-one/WebSocket.swift.git
Fetching https://github.com/tsolomko/SWCompression.git
[1/1465] Fetching swift-docc-plugin
[558/3351] Fetching swift-docc-plugin, reachability.swift
[1924/3634] Fetching swift-docc-plugin, reachability.swift, websocket.swift
[2907/6685] Fetching swift-docc-plugin, reachability.swift, websocket.swift, bitbytedata
[4738/23635] Fetching swift-docc-plugin, reachability.swift, websocket.swift, bitbytedata, swcompression
[5380/26996] Fetching swift-docc-plugin, reachability.swift, websocket.swift, bitbytedata, swcompression, swift-log
Fetched https://github.com/ashleymills/Reachability.swift from cache (0.30s)
Fetching https://github.com/apple/swift-nio-ssl.git
[7504/25110] Fetching swift-docc-plugin, websocket.swift, bitbytedata, swcompression, swift-log
Fetched https://github.com/tesseract-one/WebSocket.swift.git from cache (0.38s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/tsolomko/BitByteData from cache (0.38s)
Fetching https://github.com/apple/swift-protobuf.git
Fetched https://github.com/apple/swift-docc-plugin from cache (0.38s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[9124/20311] Fetching swcompression, swift-log
[17431/28579] Fetching swcompression, swift-log, opencombine
[25025/94186] Fetching swcompression, swift-log, opencombine, swift-nio
[29893/106454] Fetching swcompression, swift-log, opencombine, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (1.24s)
[61196/103093] Fetching swcompression, opencombine, swift-nio, swift-nio-ssl
Fetched https://github.com/tsolomko/SWCompression.git from cache (1.28s)
[48668/86143] Fetching opencombine, swift-nio, swift-nio-ssl
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.90s)
[40523/77875] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.40s)
[39365/65607] Fetching swift-nio
[55767/101793] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (6.00s)
Computing version for https://github.com/tesseract-one/WebSocket.swift.git
Fetched https://github.com/apple/swift-nio.git from cache (6.03s)
Computed https://github.com/tesseract-one/WebSocket.swift.git at 0.2.0 (0.44s)
Computing version for https://github.com/tsolomko/SWCompression.git
Computed https://github.com/tsolomko/SWCompression.git at 4.8.5 (0.44s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (2.54s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.20.2 (0.48s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.47s)
Computing version for https://github.com/ashleymills/Reachability.swift
Computed https://github.com/ashleymills/Reachability.swift at 5.1.0 (1.08s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.19.0 (0.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.40.0 (0.87s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.2 (0.50s)
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.19.0
Creating working copy for https://github.com/ashleymills/Reachability.swift
Working copy of https://github.com/ashleymills/Reachability.swift resolved at 5.1.0
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.40.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.20.2
Creating working copy for https://github.com/tsolomko/SWCompression.git
Working copy of https://github.com/tsolomko/SWCompression.git resolved at 4.8.5
Creating working copy for https://github.com/tesseract-one/WebSocket.swift.git
Working copy of https://github.com/tesseract-one/WebSocket.swift.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.4
warning: 'swift-protobuf': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/CMakeLists.txt
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/469] Write sources
clang: error: unknown argument: '-index-store-path'
clang: error: no such file or directory: '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store'
clang: error: unknown argument: '-index-store-path'
clang: error: no such file or directory: '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store'
clang: error: unknown argument: '-index-store-path'
clang: error: no such file or directory: '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store'
clang: error: unknown argument: '-index-store-path'
clang: error: no such file or directory: '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store'
clang: error: unknown argument: '-index-store-path'
clang: error: no such file or directory: '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store'
[21/469] Compiling v3_ncons.c
clang: error: unknown argument: '-index-store-path'
clang: error: no such file or directory: '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store'
[21/469] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[21/469] Compiling CNIOHTTPParser c_nio_http_parser.c
[21/469] Compiling by_file.c
[21/469] Compiling CNIOSHA1 c_nio_sha1.c
clang: error: unknown argument: '-index-store-path'
clang: error: no such file or directory: '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store'
[21/469] Compiling by_dir.c
[21/469] Compiling v3_lib.c
[21/469] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux