Build Information
Failed to build Pods 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/swiftyfinch/Pods.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/swiftyfinch/Pods
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 969e5c6 Update README.md
Cloned https://github.com/swiftyfinch/Pods.git
Revision (git rev-parse @):
969e5c6ac899e9668604344c5ddcc2d1a44eeef3
SUCCESS checkout https://github.com/swiftyfinch/Pods.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/swiftyfinch/Pods.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-argument-parser
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/onevcat/Rainbow
[1/4863] Fetching swiftshell
[1120/5981] Fetching swiftshell, rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.26s)
[1/11714] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Fetched https://github.com/kareman/SwiftShell from cache (0.73s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (0.45s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (1.21s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.1 (0.71s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.0.1
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/35] Emitting module Rainbow
[8/36] Compiling Rainbow Style.swift
[9/36] Compiling Rainbow String+Rainbow.swift
[10/36] Compiling Rainbow StringGenerator.swift
[11/36] Emitting module ArgumentParserToolInfo
[12/36] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/37] Compiling Rainbow ControlCode.swift
[14/37] Compiling Rainbow ModesExtractor.swift
[16/37] Compiling Rainbow BackgroundColor.swift
[17/37] Compiling Rainbow CodesParser.swift
[17/37] Wrapping AST for ArgumentParserToolInfo for debugging
[19/71] Compiling ArgumentParser Option.swift
[20/71] Compiling ArgumentParser OptionGroup.swift
[21/71] Compiling ArgumentParser CommandConfiguration.swift
[22/71] Compiling ArgumentParser EnumerableFlag.swift
[23/71] Compiling ArgumentParser ExpressibleByArgument.swift
[24/75] Compiling SwiftShell Array.swift
[25/75] Compiling SwiftShell Process.swift
[28/75] Emitting module SwiftShell
[29/75] Compiling SwiftShell Context.swift
[30/75] Compiling SwiftShell Files.swift
[31/76] Compiling Rainbow OutputTarget.swift
[32/76] Emitting module ArgumentParser
[33/76] Compiling Rainbow Rainbow.swift
[35/76] Compiling ArgumentParser ArgumentHelp.swift
[36/77] Compiling SwiftShell Lazy-split.swift
[37/77] Compiling SwiftShell Stream.swift
[38/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/77] Compiling ArgumentParser CompletionsGenerator.swift
[40/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[41/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/77] Compiling ArgumentParser Argument.swift
[44/77] Compiling ArgumentParser CompletionKind.swift
[45/77] Compiling ArgumentParser Errors.swift
[46/77] Compiling ArgumentParser Flag.swift
[47/77] Compiling ArgumentParser NameSpecification.swift
[49/77] Compiling ArgumentParser CollectionExtensions.swift
[50/77] Compiling ArgumentParser SequenceExtensions.swift
[51/77] Compiling ArgumentParser StringExtensions.swift
[52/77] Compiling ArgumentParser Tree.swift
[53/77] Compiling ArgumentParser ParsedValues.swift
[54/77] Compiling ArgumentParser ParserError.swift
[55/77] Compiling ArgumentParser SplitArguments.swift
[56/77] Compiling ArgumentParser DumpHelpGenerator.swift
[57/77] Compiling SwiftShell String.swift
[58/78] Wrapping AST for Rainbow for debugging
[60/78] Compiling ArgumentParser ArgumentSet.swift
[61/78] Compiling ArgumentParser CommandParser.swift
[62/78] Compiling ArgumentParser InputOrigin.swift
[63/78] Compiling ArgumentParser Name.swift
[64/78] Compiling ArgumentParser Parsed.swift
[64/78] Wrapping AST for SwiftShell for debugging
[66/78] Compiling ArgumentParser HelpCommand.swift
[67/78] Compiling ArgumentParser HelpGenerator.swift
[68/78] Compiling ArgumentParser MessageInfo.swift
[69/78] Compiling ArgumentParser UsageGenerator.swift
[70/78] Compiling ArgumentParser ParsableArguments.swift
[71/78] Compiling ArgumentParser ParsableArgumentsValidation.swift
[72/78] Compiling ArgumentParser ParsableCommand.swift
[73/78] Compiling ArgumentParser ArgumentDecoder.swift
[74/78] Compiling ArgumentParser ArgumentDefinition.swift
[75/79] Wrapping AST for ArgumentParser for debugging
[77/94] Compiling Pods ShellRunner.swift
/host/spi-builder-workspace/Sources/Pods/Utils/ShellRunner.swift:94:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ShellRunner' may have shared mutable state; this is an error in the Swift 6 language mode
91 | }
92 |
93 | final class ShellRunner {
| `- note: class 'ShellRunner' does not conform to the 'Sendable' protocol
94 | static let shared = ShellRunner()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ShellRunner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
95 | private var shell: String?
96 |
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
15 |
16 | private var isSync = false
17 | private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
| `- error: cannot find 'NSHashTable' in scope
18 | private let signalSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
19 |
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProcessMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Synchronise shell subprocesses
13 | final class ProcessMonitor {
| `- note: class 'ProcessMonitor' does not conform to the 'Sendable' protocol
14 | static let shared = ProcessMonitor()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProcessMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
15 |
16 | private var isSync = false
[78/94] Compiling Pods Sounds.swift
/host/spi-builder-workspace/Sources/Pods/Utils/ShellRunner.swift:94:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ShellRunner' may have shared mutable state; this is an error in the Swift 6 language mode
91 | }
92 |
93 | final class ShellRunner {
| `- note: class 'ShellRunner' does not conform to the 'Sendable' protocol
94 | static let shared = ShellRunner()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ShellRunner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
95 | private var shell: String?
96 |
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
15 |
16 | private var isSync = false
17 | private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
| `- error: cannot find 'NSHashTable' in scope
18 | private let signalSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
19 |
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProcessMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Synchronise shell subprocesses
13 | final class ProcessMonitor {
| `- note: class 'ProcessMonitor' does not conform to the 'Sendable' protocol
14 | static let shared = ProcessMonitor()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProcessMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
15 |
16 | private var isSync = false
[79/94] Compiling Pods ParsableCommand.swift
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
15 |
16 | private var isSync = false
17 | private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
| `- error: cannot find 'NSHashTable' in scope
18 | private let signalSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
19 |
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProcessMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Synchronise shell subprocesses
13 | final class ProcessMonitor {
| `- note: class 'ProcessMonitor' does not conform to the 'Sendable' protocol
14 | static let shared = ProcessMonitor()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProcessMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
15 |
16 | private var isSync = false
[80/94] Compiling Pods ProcessMonitor.swift
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
15 |
16 | private var isSync = false
17 | private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
| `- error: cannot find 'NSHashTable' in scope
18 | private let signalSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
19 |
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProcessMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Synchronise shell subprocesses
13 | final class ProcessMonitor {
| `- note: class 'ProcessMonitor' does not conform to the 'Sendable' protocol
14 | static let shared = ProcessMonitor()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProcessMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
15 |
16 | private var isSync = false
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/96] Emitting module Pods
/host/spi-builder-workspace/Sources/Pods/main.swift:5:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct Pods: ParsableCommand {
5 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
6 | abstract: """
7 | \(logo) Cozy pod install
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
15 |
16 | private var isSync = false
17 | private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
| `- error: cannot find 'NSHashTable' in scope
18 | private let signalSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
19 |
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProcessMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Synchronise shell subprocesses
13 | final class ProcessMonitor {
| `- note: class 'ProcessMonitor' does not conform to the 'Sendable' protocol
14 | static let shared = ProcessMonitor()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ProcessMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
15 |
16 | private var isSync = false
/host/spi-builder-workspace/Sources/Pods/Utils/ShellRunner.swift:94:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ShellRunner' may have shared mutable state; this is an error in the Swift 6 language mode
91 | }
92 |
93 | final class ShellRunner {
| `- note: class 'ShellRunner' does not conform to the 'Sendable' protocol
94 | static let shared = ShellRunner()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ShellRunner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
95 | private var shell: String?
96 |
[82/96] Compiling Pods Double+FormatTime.swift
/host/spi-builder-workspace/Sources/Pods/Extensions/Double+FormatTime.swift:13:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
11 | extension Double {
12 | private func formatTime() -> String {
13 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
14 |
15 | var calendar = Calendar.current
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int {
4 | case positional
/host/spi-builder-workspace/Sources/Pods/Extensions/Double+FormatTime.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.allowedUnits = [.hour, .minute, .second]
20 | formatter.unitsStyle = .abbreviated
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | formatter.maximumUnitCount = 2
23 | return formatter.string(from: max(1, self)) ?? "NaN"
[83/96] Compiling Pods Printer+Spinner.swift
/host/spi-builder-workspace/Sources/Pods/Extensions/Double+FormatTime.swift:13:25: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
11 | extension Double {
12 | private func formatTime() -> String {
13 | let formatter = DateComponentsFormatter()
| `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
14 |
15 | var calendar = Calendar.current
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class DateComponentsFormatter : Formatter {
| `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
3 | public enum UnitsStyle : Int {
4 | case positional
/host/spi-builder-workspace/Sources/Pods/Extensions/Double+FormatTime.swift:21:45: error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
19 | formatter.allowedUnits = [.hour, .minute, .second]
20 | formatter.unitsStyle = .abbreviated
21 | formatter.zeroFormattingBehavior = .dropAll
| `- error: member 'dropAll' in 'DateComponentsFormatter.ZeroFormattingBehavior' produces result of type '[DateComponentsFormatter.ZeroFormattingBehavior]', but context expects 'DateComponentsFormatter.ZeroFormattingBehavior'
22 | formatter.maximumUnitCount = 2
23 | return formatter.string(from: max(1, self)) ?? "NaN"
[84/96] Compiling Pods DefaultPrinter.swift
[85/96] Compiling Pods OneLinePrinter.swift
[86/96] Compiling Pods PodsPrinter.swift
[87/96] Compiling Pods Printer.swift
[88/96] Compiling Pods Formatter.swift
[89/96] Compiling Pods PodsFormatter.swift
[90/96] Compiling Pods Progress.swift
[91/96] Compiling Pods FileManager+Contains.swift
[92/96] Compiling Pods WrapError.swift
/host/spi-builder-workspace/Sources/Pods/main.swift:5:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct Pods: ParsableCommand {
5 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
6 | abstract: """
7 | \(logo) Cozy pod install
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
15 |
16 | private var isSync = false
17 | private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
| `- error: cannot find 'NSHashTable' in scope
18 | private let signalSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
19 |
[93/96] Compiling Pods main.swift
/host/spi-builder-workspace/Sources/Pods/main.swift:5:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct Pods: ParsableCommand {
5 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
6 | abstract: """
7 | \(logo) Cozy pod install
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
15 |
16 | private var isSync = false
17 | private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
| `- error: cannot find 'NSHashTable' in scope
18 | private let signalSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
19 |
BUILD FAILURE 6.0 linux