This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Failed to build NIOAsyncWebSockets with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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/samalone/nio-async-websockets.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/samalone/nio-async-websockets
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 308eff3 Add link to API documentation
Cloned https://github.com/samalone/nio-async-websockets.git
Revision (git rev-parse @):
308eff3b3b05d492398e8b2d775bf804c64ec138
SUCCESS checkout https://github.com/samalone/nio-async-websockets.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/samalone/nio-async-websockets.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/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/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-docc-plugin
[1/1465] Fetching swift-docc-plugin
[1393/4325] Fetching swift-docc-plugin, swift-docc-symbolkit
[1422/5888] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-atomics
[5858/19903] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-atomics, swift-collections
[8552/85510] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-atomics, swift-collections, swift-nio
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.38s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
[4925/81087] Fetching swift-docc-plugin, swift-collections, swift-nio
Fetched https://github.com/apple/swift-docc-plugin from cache (0.94s)
Fetched https://github.com/apple/swift-collections.git from cache (0.96s)
[38053/65607] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.50s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (1.06s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.62.0 (0.57s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.43s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.5
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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.62.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/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
Building for debugging...
[2/27] 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'
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'
[13/27] Compiling CNIOSHA1 c_nio_sha1.c
[13/27] Compiling CNIOLinux shim.c
[13/27] Compiling _AtomicsShims.c
[13/27] Compiling CNIOLinux liburing_shims.c
[13/27] Compiling CNIOWindows WSAStartup.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'
[13/27] Compiling CNIOLLHTTP c_nio_llhttp.c
[13/27] Compiling CNIOWindows shim.c
[13/27] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.