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 PasscodeKit, reference main (5b3af7), with Swift 6.0 for Linux on 30 Nov 2024 22:10:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/divadretlaw/PasscodeKit.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/divadretlaw/PasscodeKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5b3af72 Minor config defaults update
Cloned https://github.com/divadretlaw/PasscodeKit.git
Revision (git rev-parse @):
5b3af72bb599d0ee7957efff8bd491730fffc47b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/divadretlaw/PasscodeKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/divadretlaw/PasscodeKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/siteline/swiftui-introspect.git
Fetching https://github.com/evgenyneu/keychain-swift.git
Fetching https://github.com/divadretlaw/WindowSceneReader.git
[1/2196] Fetching keychain-swift
[2197/2318] Fetching keychain-swift, windowscenereader
[2319/11644] Fetching keychain-swift, windowscenereader, swiftui-introspect
Fetched https://github.com/divadretlaw/WindowSceneReader.git from cache (0.25s)
[7046/11522] Fetching keychain-swift, swiftui-introspect
Fetched https://github.com/evgenyneu/keychain-swift.git from cache (0.26s)
[6249/9326] Fetching swiftui-introspect
Fetched https://github.com/siteline/swiftui-introspect.git from cache (0.40s)
Computing version for https://github.com/evgenyneu/keychain-swift.git
Computed https://github.com/evgenyneu/keychain-swift.git at 21.0.0 (2.18s)
Computing version for https://github.com/divadretlaw/WindowSceneReader.git
Computed https://github.com/divadretlaw/WindowSceneReader.git at 3.1.2 (0.43s)
Fetching https://github.com/divadretlaw/WindowReader
[1/101] Fetching windowreader
Fetched https://github.com/divadretlaw/WindowReader from cache (0.19s)
Computing version for https://github.com/divadretlaw/WindowReader
Computed https://github.com/divadretlaw/WindowReader at 2.0.1 (0.42s)
Computing version for https://github.com/siteline/swiftui-introspect.git
warning: 'swiftui-introspect': /Package@swift-6.0.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "swiftui-introspect",
 7 |     platforms: [
Computed https://github.com/siteline/swiftui-introspect.git at 1.3.0 (0.46s)
Creating working copy for https://github.com/divadretlaw/WindowSceneReader.git
Working copy of https://github.com/divadretlaw/WindowSceneReader.git resolved at 3.1.2
Creating working copy for https://github.com/siteline/swiftui-introspect.git
Working copy of https://github.com/siteline/swiftui-introspect.git resolved at 1.3.0
Creating working copy for https://github.com/evgenyneu/keychain-swift.git
Working copy of https://github.com/evgenyneu/keychain-swift.git resolved at 21.0.0
Creating working copy for https://github.com/divadretlaw/WindowReader
Working copy of https://github.com/divadretlaw/WindowReader resolved at 2.0.1
warning: 'swiftui-introspect': /host/spi-builder-workspace/.build/checkouts/swiftui-introspect/Package@swift-6.0.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "swiftui-introspect",
 7 |     platforms: [
warning: 'keychain-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/PrivacyInfo.xcprivacy
Building for debugging...
[0/8] Write sources
[0/8] Copying Passcode.strings
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/70] Emitting module SwiftUIIntrospect
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swiftui-introspect/Sources/Introspect.swift:2:8: error: no such module 'SwiftUI'
  1 | #if !os(watchOS)
  2 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  3 |
  4 | /// The scope of introspection i.e. where introspect should look to find
[10/77] Compiling WindowReader WindowReader.swift
/host/spi-builder-workspace/.build/checkouts/WindowReader/Sources/WindowReader/Environment+Window.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if os(iOS) || os(tvOS) || os(visionOS)
[11/77] Compiling WindowReader WindowInjectView.swift
/host/spi-builder-workspace/.build/checkouts/WindowReader/Sources/WindowReader/Environment+Window.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if os(iOS) || os(tvOS) || os(visionOS)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/77] Emitting module WindowReader
/host/spi-builder-workspace/.build/checkouts/WindowReader/Sources/WindowReader/Environment+Window.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if os(iOS) || os(tvOS) || os(visionOS)
[13/77] Compiling WindowReader Environment+Window.swift
/host/spi-builder-workspace/.build/checkouts/WindowReader/Sources/WindowReader/Environment+Window.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if os(iOS) || os(tvOS) || os(visionOS)
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[14/77] Compiling KeychainSwift KeychainSwiftAccessOptions.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
BUILD FAILURE 6.0 linux