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 ExtSwift, reference master (f5453d), with Swift 6.0 for Linux on 30 Nov 2024 21:12:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/iwill/ExtSwift.git
Reference: master
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/iwill/ExtSwift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f5453d3 tag: 1.0.0
Cloned https://github.com/iwill/ExtSwift.git
Revision (git rev-parse @):
f5453d338088add21b8e6053b8cd8e7c829c67e8
SUCCESS checkout https://github.com/iwill/ExtSwift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/iwill/ExtSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] Emitting module ExtSwift
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:150:23: warning: static property 'didSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
    |                       |- warning: static property 'didSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'didSet' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     public static let `default`: KVObservingOptions = [.initial, .didSet]
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:152:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
    :
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
151 |
152 |     public static let `default`: KVObservingOptions = [.initial, .didSet]
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 |     public let rawValue: Int
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:148:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
    |                       |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:149:23: warning: static property 'willSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
    |                       |- warning: static property 'willSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'willSet' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
151 |
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:174:2: error: Objective-C interoperability is disabled
172 | // public enum KVObservingState { case keep, stop }
173 |
174 | @objc // for Swift&ObjC mixed project
    |  `- error: Objective-C interoperability is disabled
175 | public protocol KVObserver: AnyObject {
176 |     func isObserving() -> Bool
[4/24] Compiling ExtSwift ExtSwift.swift
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:150:23: warning: static property 'didSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
    |                       |- warning: static property 'didSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'didSet' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     public static let `default`: KVObservingOptions = [.initial, .didSet]
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:152:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
    :
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
151 |
152 |     public static let `default`: KVObservingOptions = [.initial, .didSet]
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 |     public let rawValue: Int
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:148:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
    |                       |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:149:23: warning: static property 'willSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
    |                       |- warning: static property 'willSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'willSet' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
151 |
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:174:2: error: Objective-C interoperability is disabled
172 | // public enum KVObservingState { case keep, stop }
173 |
174 | @objc // for Swift&ObjC mixed project
    |  `- error: Objective-C interoperability is disabled
175 | public protocol KVObserver: AnyObject {
176 |     func isObserving() -> Bool
[5/24] Compiling ExtSwift KVO.swift
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:150:23: warning: static property 'didSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
    |                       |- warning: static property 'didSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'didSet' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     public static let `default`: KVObservingOptions = [.initial, .didSet]
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:152:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
    :
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
151 |
152 |     public static let `default`: KVObservingOptions = [.initial, .didSet]
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 |     public let rawValue: Int
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:148:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
    |                       |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:149:23: warning: static property 'willSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
    |                       |- warning: static property 'willSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'willSet' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
151 |
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:174:2: error: Objective-C interoperability is disabled
172 | // public enum KVObservingState { case keep, stop }
173 |
174 | @objc // for Swift&ObjC mixed project
    |  `- error: Objective-C interoperability is disabled
175 | public protocol KVObserver: AnyObject {
176 |     func isObserving() -> Bool
[6/24] Compiling ExtSwift Mutable.swift
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:150:23: warning: static property 'didSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
    |                       |- warning: static property 'didSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'didSet' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     public static let `default`: KVObservingOptions = [.initial, .didSet]
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:152:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
    :
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
151 |
152 |     public static let `default`: KVObservingOptions = [.initial, .didSet]
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 |     public let rawValue: Int
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:148:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
    |                       |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:149:23: warning: static property 'willSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
144 | // MARK: -
145 |
146 | public struct KVObservingOptions: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'KVObservingOptions' conform to the 'Sendable' protocol
147 |
148 |     public static let initial = KVObservingOptions(rawValue: 1 << 0) // value
149 |     public static let willSet = KVObservingOptions(rawValue: 1 << 1) // value + oldValue
    |                       |- warning: static property 'willSet' is not concurrency-safe because non-'Sendable' type 'KVObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'willSet' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     public static let didSet  = KVObservingOptions(rawValue: 1 << 2) // value + oldValue
151 |
/host/spi-builder-workspace/Sources/ExtSwift/Foundation/KVO.swift:174:2: error: Objective-C interoperability is disabled
172 | // public enum KVObservingState { case keep, stop }
173 |
174 | @objc // for Swift&ObjC mixed project
    |  `- error: Objective-C interoperability is disabled
175 | public protocol KVObserver: AnyObject {
176 |     func isObserving() -> Bool
[7/24] Compiling ExtSwift boolValue.swift
[8/24] Compiling ExtSwift tryIndex.swift
[9/24] Compiling ExtSwift ESCollectionViewDiffableDataSource.swift
[10/24] Compiling ExtSwift UITableViewCell+Style.swift
[11/24] Compiling ExtSwift AnyEquatable.swift
[12/24] Compiling ExtSwift JSON.swift
[13/24] Compiling ExtSwift ifEmpty.swift
[14/24] Compiling ExtSwift ESDiffableDataSourceSnapshot.swift
[15/24] Compiling ExtSwift ESDiffableDataSourceSnapshotBuilder.swift
[16/24] Compiling ExtSwift ESTableViewDiffableDataSource.swift
[17/24] Compiling ExtSwift NameSpace.swift
[18/24] Compiling ExtSwift Operators.swift
[19/24] Compiling ExtSwift SemanticVersion.swift
[20/24] Compiling ExtSwift String+IntIndex.swift
[21/24] Compiling ExtSwift Types.swift
[22/24] Compiling ExtSwift WeakArray.swift
[23/24] Compiling ExtSwift UIKit+Autolayout.swift
[24/24] Compiling ExtSwift UIKit.swift
BUILD FAILURE 6.0 linux