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 CompoundPredicate, reference main (6e9961), with Swift 6.0 for Linux on 15 Sep 2024 12:23:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NoahKamara/CompoundPredicate.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/NoahKamara/CompoundPredicate
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6e99619 Update README.md
Cloned https://github.com/NoahKamara/CompoundPredicate.git
Revision (git rev-parse @):
6e996195ff12db90b00737060425dec5d43c1829
SUCCESS checkout https://github.com/NoahKamara/CompoundPredicate.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/NoahKamara/CompoundPredicate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/noahkamara/swift-xctesting
[1/847] Fetching swift-xctesting
Fetched https://github.com/noahkamara/swift-xctesting from cache (0.31s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-testing.git
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2038] Fetching swift-docc-plugin
[246/5113] Fetching swift-docc-plugin, swift-docc-symbolkit
[5114/17991] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-testing
[11811/22914] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-testing, xctest-dynamic-overlay
[22817/87977] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-testing, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (0.67s)
[25431/85939] Fetching swift-docc-symbolkit, swift-testing, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/apple/swift-docc-symbolkit from cache (3.88s)
Fetched https://github.com/apple/swift-testing.git from cache (3.88s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (3.88s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.92s)
Computing version for https://github.com/apple/swift-testing.git
Computed https://github.com/apple/swift-testing.git at 0.5.1 (0.54s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (2.51s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.1.1 (0.50s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.49s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.54s)
Creating working copy for https://github.com/noahkamara/swift-xctesting
Working copy of https://github.com/noahkamara/swift-xctesting resolved at main (cc74147)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
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-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-testing.git
Working copy of https://github.com/apple/swift-testing.git resolved at 0.5.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.1.1
/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/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/14] Compiling XCTestDynamicOverlay XCTExpectFailure.swift
[7/15] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[8/15] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[9/15] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[10/15] Compiling XCTestDynamicOverlay Unimplemented.swift
[11/15] Compiling XCTestDynamicOverlay XCTFail.swift
[12/15] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[13/15] Compiling XCTestDynamicOverlay Deprecations.swift
[14/15] Emitting module XCTestDynamicOverlay
[15/15] Compiling XCTestDynamicOverlay XCTIsTesting.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/21] Compiling CompoundPredicate VariableReplacing.swift
[18/21] Compiling CompoundPredicate RuntimeWarnings.swift
/host/spi-builder-workspace/Sources/CompoundPredicate/RuntimeWarnings.swift:43:79: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 |         )
42 | #else
43 |         fputs("\(formatter.string(from: Date())) [\(category)] \(message)\n", stderr)
   |                                                                               `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | #endif
45 |     }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
[19/21] Compiling CompoundPredicate Predicate+combining.swift
[20/21] Emitting module CompoundPredicate
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:357:32: error: 'StringLocalizedStandardContains' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
355 | }
356 |
357 | extension PredicateExpressions.StringLocalizedStandardContains: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
    |                                `- error: 'StringLocalizedStandardContains' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
358 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
359 |         Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | @frozen public enum PredicateExpressions {
  |                     `- note: 'PredicateExpressions' declared here
3 | }
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:366:32: error: 'StringCaseInsensitiveCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
364 | }
365 |
366 | extension PredicateExpressions.StringCaseInsensitiveCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
    |                                `- error: 'StringCaseInsensitiveCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
367 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
368 |         Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | @frozen public enum PredicateExpressions {
  |                     `- note: 'PredicateExpressions' declared here
3 | }
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:375:32: error: 'StringLocalizedCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
373 | }
374 |
375 | extension PredicateExpressions.StringLocalizedCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
    |                                `- error: 'StringLocalizedCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
376 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
377 |         Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | @frozen public enum PredicateExpressions {
  |                     `- note: 'PredicateExpressions' declared here
3 | }
/host/spi-builder-workspace/Sources/CompoundPredicate/RuntimeWarnings.swift:43:79: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 |         )
42 | #else
43 |         fputs("\(formatter.string(from: Date())) [\(category)] \(message)\n", stderr)
   |                                                                               `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | #endif
45 |     }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
[21/21] Compiling CompoundPredicate PredicateExpressions.swift
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:357:32: error: 'StringLocalizedStandardContains' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
355 | }
356 |
357 | extension PredicateExpressions.StringLocalizedStandardContains: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
    |                                `- error: 'StringLocalizedStandardContains' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
358 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
359 |         Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | @frozen public enum PredicateExpressions {
  |                     `- note: 'PredicateExpressions' declared here
3 | }
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:366:32: error: 'StringCaseInsensitiveCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
364 | }
365 |
366 | extension PredicateExpressions.StringCaseInsensitiveCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
    |                                `- error: 'StringCaseInsensitiveCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
367 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
368 |         Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | @frozen public enum PredicateExpressions {
  |                     `- note: 'PredicateExpressions' declared here
3 | }
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:375:32: error: 'StringLocalizedCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
373 | }
374 |
375 | extension PredicateExpressions.StringLocalizedCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
    |                                `- error: 'StringLocalizedCompare' is not a member type of enum 'FoundationEssentials.PredicateExpressions'
376 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
377 |         Self(
FoundationEssentials.PredicateExpressions:2:21: note: 'PredicateExpressions' declared here
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | @frozen public enum PredicateExpressions {
  |                     `- note: 'PredicateExpressions' declared here
3 | }
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:357:83: error: 'where' clause cannot be applied to a non-generic top-level declaration
355 | }
356 |
357 | extension PredicateExpressions.StringLocalizedStandardContains: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
    |                                                                                   `- error: 'where' clause cannot be applied to a non-generic top-level declaration
358 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
359 |         Self(
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:358:42: error: cannot find type 'Variable' in scope
356 |
357 | extension PredicateExpressions.StringLocalizedStandardContains: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
358 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
    |                                          `- error: cannot find type 'Variable' in scope
359 |         Self(
360 |             root: root.replacing(variable, with: replacement),
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:358:73: error: cannot find type 'Variable' in scope
356 |
357 | extension PredicateExpressions.StringLocalizedStandardContains: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
358 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
    |                                                                         `- error: cannot find type 'Variable' in scope
359 |         Self(
360 |             root: root.replacing(variable, with: replacement),
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:366:80: error: 'where' clause cannot be applied to a non-generic top-level declaration
364 | }
365 |
366 | extension PredicateExpressions.StringCaseInsensitiveCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
    |                                                                                `- error: 'where' clause cannot be applied to a non-generic top-level declaration
367 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
368 |         Self(
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:367:42: error: cannot find type 'Variable' in scope
365 |
366 | extension PredicateExpressions.StringCaseInsensitiveCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
367 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
    |                                          `- error: cannot find type 'Variable' in scope
368 |         Self(
369 |             root: root.replacing(variable, with: replacement),
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:367:73: error: cannot find type 'Variable' in scope
365 |
366 | extension PredicateExpressions.StringCaseInsensitiveCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
367 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
    |                                                                         `- error: cannot find type 'Variable' in scope
368 |         Self(
369 |             root: root.replacing(variable, with: replacement),
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:375:74: error: 'where' clause cannot be applied to a non-generic top-level declaration
373 | }
374 |
375 | extension PredicateExpressions.StringLocalizedCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
    |                                                                          `- error: 'where' clause cannot be applied to a non-generic top-level declaration
376 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
377 |         Self(
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:376:42: error: cannot find type 'Variable' in scope
374 |
375 | extension PredicateExpressions.StringLocalizedCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
376 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
    |                                          `- error: cannot find type 'Variable' in scope
377 |         Self(
378 |             root: root.replacing(variable, with: replacement),
/host/spi-builder-workspace/Sources/CompoundPredicate/PredicateExpressions.swift:376:73: error: cannot find type 'Variable' in scope
374 |
375 | extension PredicateExpressions.StringLocalizedCompare: VariableReplacing where Root: VariableReplacing, Other: VariableReplacing {
376 |     public func replacing<T>(_ variable: Variable<T>, with replacement: Variable<T>) -> Self {
    |                                                                         `- error: cannot find type 'Variable' in scope
377 |         Self(
378 |             root: root.replacing(variable, with: replacement),
BUILD FAILURE 6.0 linux