Build Information
Failed to build Pods with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftyfinch/Pods.git
Reference: 1.0.0
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
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 1599ee3 Bump version 1.0.0
Cloned https://github.com/swiftyfinch/Pods.git
Revision (git rev-parse @):
1599ee3750b1048d318ea05655a3754f3a5feaa1
SUCCESS checkout https://github.com/swiftyfinch/Pods.git at 1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD/checkout
https://github.com/swiftyfinch/Pods.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 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
[1266/5977] Fetching swiftshell, rainbow
[5856/17387] Fetching swiftshell, rainbow, swift-argument-parser
Fetched https://github.com/kareman/SwiftShell (0.43s)
[1107/12524] Fetching rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow (0.86s)
Fetched https://github.com/apple/swift-argument-parser (0.87s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (0.48s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (1.52s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.1 (0.74s)
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
Building for debugging...
[1/28] Compiling Rainbow StringGenerator.swift
[2/29] Compiling Rainbow String+Rainbow.swift
[3/29] Compiling Rainbow Style.swift
[4/29] Emitting module ArgumentParserToolInfo
[5/29] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/31] Wrapping AST for ArgumentParserToolInfo for debugging
[9/65] Compiling ArgumentParser CommandConfiguration.swift
[10/65] Compiling ArgumentParser EnumerableFlag.swift
[11/65] Emitting module Rainbow
[12/65] Compiling ArgumentParser Option.swift
[13/65] Compiling ArgumentParser OptionGroup.swift
[14/65] Compiling ArgumentParser ExpressibleByArgument.swift
[15/65] Compiling ArgumentParser ArgumentHelp.swift
[16/65] Compiling Rainbow OutputTarget.swift
[17/65] Compiling Rainbow Rainbow.swift
[20/66] Emitting module SwiftShell
[21/66] Compiling SwiftShell Stream.swift
[22/66] Compiling SwiftShell Lazy-split.swift
[23/67] Compiling SwiftShell Context.swift
[24/67] Compiling SwiftShell Array.swift
[25/67] Compiling SwiftShell Files.swift
[26/67] Compiling SwiftShell Process.swift
[29/68] Emitting module ArgumentParser
[30/72] Compiling SwiftShell String.swift
[31/74] Wrapping AST for Rainbow for debugging
[33/74] Wrapping AST for SwiftShell for debugging
[40/74] Compiling ArgumentParser CollectionExtensions.swift
[41/74] Compiling ArgumentParser SequenceExtensions.swift
[42/74] Compiling ArgumentParser StringExtensions.swift
[43/74] Compiling ArgumentParser Tree.swift
[45/74] Compiling ArgumentParser CompletionKind.swift
[46/74] Compiling ArgumentParser Errors.swift
[47/74] Compiling ArgumentParser Flag.swift
[48/74] Compiling ArgumentParser NameSpecification.swift
[49/74] Compiling ArgumentParser HelpCommand.swift
[50/74] Compiling ArgumentParser HelpGenerator.swift
[51/74] Compiling ArgumentParser MessageInfo.swift
[52/74] Compiling ArgumentParser UsageGenerator.swift
[53/74] Compiling ArgumentParser ArgumentSet.swift
[54/74] Compiling ArgumentParser CommandParser.swift
[55/74] Compiling ArgumentParser InputOrigin.swift
[56/74] Compiling ArgumentParser Name.swift
[57/74] Compiling ArgumentParser Parsed.swift
[58/74] Compiling ArgumentParser ParsedValues.swift
[59/74] Compiling ArgumentParser ParserError.swift
[60/74] Compiling ArgumentParser SplitArguments.swift
[61/74] Compiling ArgumentParser DumpHelpGenerator.swift
[62/74] Compiling ArgumentParser BashCompletionsGenerator.swift
[63/74] Compiling ArgumentParser CompletionsGenerator.swift
[64/74] Compiling ArgumentParser FishCompletionsGenerator.swift
[65/74] Compiling ArgumentParser ZshCompletionsGenerator.swift
[66/74] Compiling ArgumentParser Argument.swift
[67/74] Compiling ArgumentParser ParsableArguments.swift
[68/74] Compiling ArgumentParser ParsableArgumentsValidation.swift
[69/74] Compiling ArgumentParser ParsableCommand.swift
[70/74] Compiling ArgumentParser ArgumentDecoder.swift
[71/74] Compiling ArgumentParser ArgumentDefinition.swift
[73/76] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[75/91] Emitting module Pods
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
^~~~~~~~~~~
[76/93] Compiling Pods PodsPrinter.swift
[77/93] Compiling Pods Printer.swift
[78/93] Compiling Pods ParsableCommand.swift
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
^~~~~~~~~~~
[79/93] Compiling Pods ProcessMonitor.swift
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
^~~~~~~~~~~
[80/93] Compiling Pods ShellRunner.swift
[81/93] Compiling Pods Sounds.swift
[82/93] Compiling Pods Progress.swift
[83/93] Compiling Pods FileManager+Contains.swift
[84/93] Compiling Pods DefaultPrinter.swift
[85/93] Compiling Pods OneLinePrinter.swift
[86/93] Compiling Pods Formatter.swift
[87/93] Compiling Pods PodsFormatter.swift
[88/93] 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
let formatter = DateComponentsFormatter()
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
open class DateComponentsFormatter : Formatter {
^
/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'
formatter.zeroFormattingBehavior = .dropAll
^
[89/93] 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
let formatter = DateComponentsFormatter()
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
open class DateComponentsFormatter : Formatter {
^
/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'
formatter.zeroFormattingBehavior = .dropAll
^
[90/93] Compiling Pods WrapError.swift
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
^~~~~~~~~~~
[91/93] Compiling Pods main.swift
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
^~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[1/9] Compiling Pods ParsableCommand.swift
[2/9] Compiling Pods ProcessMonitor.swift
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
^~~~~~~~~~~
[3/9] Compiling Pods Printer+Spinner.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/13] Emitting module Pods
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
^~~~~~~~~~~
[5/13] 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
let formatter = DateComponentsFormatter()
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
open class DateComponentsFormatter : Formatter {
^
/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'
formatter.zeroFormattingBehavior = .dropAll
^
[6/13] Compiling Pods WrapError.swift
[7/13] Compiling Pods main.swift
/host/spi-builder-workspace/Sources/Pods/Utils/ProcessMonitor.swift:17:29: error: cannot find 'NSHashTable' in scope
private let processes = NSHashTable<PrintedAsyncCommand>.weakObjects()
^~~~~~~~~~~
[8/13] Compiling Pods Printer.swift
[9/13] Compiling Pods DefaultPrinter.swift
[10/13] Compiling Pods OneLinePrinter.swift
[11/13] Compiling Pods PodsPrinter.swift
error: fatalError
BUILD FAILURE 5.9 linux