Build Information
Failed to build ExtSwift with Swift 6.0 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/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: $workDir
https://github.com/iwill/ExtSwift.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
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 boolValue.swift
[5/24] Compiling ExtSwift tryIndex.swift
[6/24] Compiling ExtSwift ESCollectionViewDiffableDataSource.swift
[7/24] Compiling ExtSwift UITableViewCell+Style.swift
[8/24] Compiling ExtSwift AnyEquatable.swift
[9/24] Compiling ExtSwift NameSpace.swift
[10/24] Compiling ExtSwift Operators.swift
[11/24] Compiling ExtSwift SemanticVersion.swift
[12/24] Compiling ExtSwift String+IntIndex.swift
[13/24] Compiling ExtSwift Types.swift
[14/24] Compiling ExtSwift WeakArray.swift
[15/24] Compiling ExtSwift ESDiffableDataSourceSnapshot.swift
[16/24] Compiling ExtSwift ESDiffableDataSourceSnapshotBuilder.swift
[17/24] Compiling ExtSwift ESTableViewDiffableDataSource.swift
[18/24] Compiling ExtSwift UIKit+Autolayout.swift
[19/24] Compiling ExtSwift UIKit.swift
[20/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
[21/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
[22/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
[23/24] Compiling ExtSwift JSON.swift
[24/24] Compiling ExtSwift ifEmpty.swift
BUILD FAILURE 6.0 linux