The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Swiftbrew with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftbrew/Swiftbrew.git
Reference: master
Cloned https://github.com/swiftbrew/Swiftbrew.git into spi-builder-workspace
SUCCESS checkout https://github.com/swiftbrew/Swiftbrew.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/1110] Fetching rainbow
[1111/6184] Fetching rainbow, swiftcli
[6185/19882] Fetching rainbow, swiftcli, quick
Fetching https://github.com/getGuaka/Args.git
Fetched https://github.com/jakeheis/SwiftCLI.git (0.31s)
[7686/14808] Fetching rainbow, quick
Fetched https://github.com/getGuaka/Args.git (0.18s)
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/onevcat/Rainbow.git (0.57s)
Fetching https://github.com/getGuaka/Run.git
Fetched https://github.com/Quick/Quick.git (0.57s)
Fetching https://github.com/getGuaka/StringScanner.git
[1/1405] Fetching pathkit
Fetched https://github.com/getGuaka/Run.git (0.19s)
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/kylef/PathKit.git (0.33s)
Fetching https://github.com/yonaskolb/Mint.git
[1/188] Fetching stringscanner
Fetched https://github.com/getGuaka/StringScanner.git (0.30s)
Fetching https://github.com/getGuaka/Prompt.git
[1/2706] Fetching mint
Fetched https://github.com/getGuaka/Prompt.git (0.19s)
Fetching https://github.com/JustHTTP/Just.git
[1/15746] Fetching nimble
Fetched https://github.com/yonaskolb/Mint.git (0.32s)
Fetching https://github.com/nsomar/Guaka.git
[11496/17872] Fetching nimble, just
[17559/19292] Fetching nimble, just, guaka
Fetched https://github.com/nsomar/Guaka.git (0.23s)
Fetching https://github.com/apple/swift-package-manager.git
Fetched https://github.com/JustHTTP/Just.git (0.31s)
Fetching https://github.com/kylef/Spectre.git
[15746/15746] Fetching nimble
[15747/16767] Fetching nimble, spectre
Fetched https://github.com/kylef/Spectre.git (0.23s)
Fetching https://github.com/getGuaka/Colorizer.git
Fetched https://github.com/Quick/Nimble.git (1.01s)
Fetched https://github.com/getGuaka/Colorizer.git (0.19s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
[1/111803] Fetching swift-package-manager
Computed https://github.com/jakeheis/SwiftCLI.git at 5.2.2 (2.16s)
Computing version for https://github.com/yonaskolb/Mint.git
Computed https://github.com/yonaskolb/Mint.git at 0.12.0 (0.30s)
Fetched https://github.com/apple/swift-package-manager.git (9.57s)
Computing version for https://github.com/nsomar/Guaka.git
Computed https://github.com/nsomar/Guaka.git at 0.4.1 (3.30s)
Computing version for https://github.com/getGuaka/Run.git
Computed https://github.com/getGuaka/Run.git at 0.1.1 (0.32s)
Computing version for https://github.com/getGuaka/Colorizer.git
Computed https://github.com/getGuaka/Colorizer.git at 0.2.1 (0.26s)
Computing version for https://github.com/JustHTTP/Just.git
Computed https://github.com/JustHTTP/Just.git at 0.8.0 (0.26s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.2.0 (0.39s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.1.5 (0.25s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.27s)
Computing version for https://github.com/getGuaka/StringScanner.git
Computed https://github.com/getGuaka/StringScanner.git at 0.4.1 (0.26s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.26s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.28s)
Computing version for https://github.com/getGuaka/Prompt.git
Computed https://github.com/getGuaka/Prompt.git at 0.1.1 (0.27s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.26s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.26s)
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 5.2.2
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at 0.2.0
Creating working copy for https://github.com/getGuaka/StringScanner.git
Working copy of https://github.com/getGuaka/StringScanner.git resolved at 0.4.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.4
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
Creating working copy for https://github.com/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.git resolved at 0.1.1
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.1.5
Creating working copy for https://github.com/JustHTTP/Just.git
Working copy of https://github.com/JustHTTP/Just.git resolved at 0.8.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/yonaskolb/Mint.git
Working copy of https://github.com/yonaskolb/Mint.git resolved at 0.12.0
Creating working copy for https://github.com/getGuaka/Prompt.git
Working copy of https://github.com/getGuaka/Prompt.git resolved at 0.1.1
Creating working copy for https://github.com/nsomar/Guaka.git
Working copy of https://github.com/nsomar/Guaka.git resolved at 0.4.1
Creating working copy for https://github.com/getGuaka/Colorizer.git
Working copy of https://github.com/getGuaka/Colorizer.git resolved at 0.2.1
Creating working copy for https://github.com/getGuaka/Run.git
Working copy of https://github.com/getGuaka/Run.git resolved at 0.1.1
warning: 'spi-builder-workspace': dependency 'swiftcli' is not used by any target
Building for debugging...
[0/19] Compiling clibc libc.c
[2/74] Emitting module Just
[3/74] Compiling Rainbow StringGenerator.swift
[4/75] Compiling Colorizer StringStyleColorizer.swift
[5/75] Emitting module Args
[6/75] Compiling Args ArgConvertible.swift
[7/75] Compiling Rainbow Style.swift
[8/75] Compiling SwiftCLI ArgumentList.swift
[9/75] Compiling SwiftCLI ArgumentListManipulator.swift
[10/75] Emitting module Rainbow
[11/75] Emitting module StringScanner
[12/75] Compiling StringScanner CharacterSet.swift
[13/75] Compiling Rainbow XcodeColorsSupport.swift
[14/75] Compiling StringScanner StringExtension.swift
[15/75] Compiling StringScanner StringScanner.swift
[16/75] Compiling StringScanner ScannerResult.swift
[17/75] Compiling Rainbow String+Rainbow.swift
[18/75] Compiling SwiftCLI Error.swift
[19/75] Compiling SwiftCLI HelpCommand.swift
[20/75] Compiling SwiftCLI HelpMessageGenerator.swift
[21/75] Compiling SwiftCLI Input.swift
[22/75] Compiling SwiftCLI Option.swift
[23/75] Compiling SwiftCLI OptionGroup.swift
[24/75] Compiling Args ProcessInfo.swift
[25/77] Compiling SPMLibc libc.swift
[26/77] Emitting module SPMLibc
[27/78] Compiling SwiftCLI Task.swift
[28/78] Compiling SwiftCLI Term.swift
[29/78] Compiling Rainbow ModesExtractor.swift
[30/78] Compiling SwiftCLI Command.swift
[31/78] Compiling Rainbow BackgroundColor.swift
[32/78] Compiling Rainbow CodesParser.swift
[33/78] Compiling Rainbow Rainbow.swift
[38/81] Compiling SwiftCLI OptionRegistry.swift
[39/81] Compiling SwiftCLI Parameter.swift
[40/81] Compiling SwiftCLI Parser.swift
[41/81] Compiling SwiftCLI Path.swift
[42/81] Compiling SwiftCLI Stream.swift
[49/81] Emitting module SwiftCLI
[50/81] Compiling StringScanner Regex.swift
[52/83] Compiling Args Args.swift
[54/83] Compiling Args ArgsParser.swift
[55/83] Compiling Args Argument.swift
[55/84] Wrapping AST for SPMLibc for debugging
[57/85] Wrapping AST for Rainbow for debugging
[59/90] Wrapping AST for StringScanner for debugging
[61/96] Compiling SwiftCLI Validation.swift
[62/96] Compiling SwiftCLI VersionCommand.swift
[63/119] Compiling Colorizer Colorizer.swift
[64/119] Compiling Colorizer StringBackgroundColorizer.swift
[65/119] Compiling Colorizer StringStyle.swift
[66/119] Emitting module Colorizer
[67/119] Compiling Colorizer StringForegroundColorizer.swift
[67/120] Wrapping AST for Args for debugging
[70/120] Emitting module PathKit
[71/121] Compiling PathKit PathKit.swift
[74/133] Wrapping AST for Colorizer for debugging
[76/133] Compiling Prompt Ask.swift
[77/133] Compiling Prompt AskSettings.swift
[78/133] Compiling POSIX realpath.swift
[79/135] Wrapping AST for SwiftCLI for debugging
[81/135] Compiling Prompt Agree.swift
[82/135] Compiling Prompt AgreeSettings.swift
[84/136] Compiling Just Just.swift
[85/136] Compiling Guaka DefaultHelpGenerator.swift
[86/136] Compiling Guaka FlagHelp.swift
[87/136] Compiling POSIX readdir.swift
[88/136] Compiling Prompt PromptReader.swift
[89/136] Compiling POSIX usleep.swift
[90/136] Compiling POSIX rename.swift
[91/136] Compiling POSIX stat.swift
[91/136] Wrapping AST for PathKit for debugging
[93/136] Compiling Prompt PromptSettings.swift
[94/137] Compiling Prompt PromptPrinter.swift
[95/137] Compiling Prompt AskerValidator.swift
[96/137] Emitting module Prompt
[101/138] Emitting module POSIX
[103/139] Wrapping AST for Just for debugging
[107/140] Compiling Guaka HelpGeneratorErrors.swift
[108/140] Compiling Guaka GuakaConfig.swift
[109/140] Compiling Guaka Levenshtein.swift
[110/140] Compiling Guaka ArgTokenType.swift
[111/140] Compiling Guaka Command+Parsing.swift
[112/140] Compiling Guaka FlagSet+Parsing.swift
[112/143] Wrapping AST for POSIX for debugging
[117/143] Compiling Guaka CommandTypes.swift
[118/143] Compiling Guaka CommandExecution.swift
[119/143] Compiling Guaka Flag+Utilities.swift
[120/143] Compiling Guaka FlagHelpGeneratorUtils.swift
[121/143] Compiling Guaka HelpGenerator.swift
[122/143] Compiling Guaka HelpGeneratorDefaults.swift
[123/143] Compiling Guaka Flag.swift
[124/143] Compiling Guaka FlagSet.swift
[125/143] Compiling Guaka Flags.swift
[126/144] Compiling Prompt Choose.swift
[127/144] Compiling Prompt ChooseSettings.swift
[130/179] Compiling Basic KeyedPair.swift
[131/179] Compiling Basic LazyCache.swift
[132/179] Compiling Basic Lock.swift
[133/179] Emitting module Guaka
[134/179] Compiling Basic CollectionExtensions.swift
[135/179] Compiling Basic Condition.swift
[136/179] Compiling Basic DeltaAlgorithm.swift
[136/180] Wrapping AST for Prompt for debugging
[139/188] Wrapping AST for Guaka for debugging
[141/188] Compiling Run RunResults.swift
[142/188] Compiling Run TaskPipe.swift
[143/188] Compiling Run CommandExecutor.swift
/host/spi-builder-workspace/.build/checkouts/Run/Sources/Run/CommandExecutor.swift:81:44: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
        let result = posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], nil)
                                           ^
/host/spi-builder-workspace/.build/checkouts/Run/Sources/Run/CommandExecutor.swift:81:44: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let result = posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], nil)
                                           ^
                                               ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/Run/Sources/Run/CommandExecutor.swift:81:44: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let result = posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], nil)
                                           ^
                                              !
[144/188] Compiling Run ShortHandRunner.swift
[145/188] Emitting module Run
[149/188] Compiling Basic DiagnosticsEngine.swift
[150/188] Compiling Basic DictionaryExtensions.swift
[151/188] Compiling Basic Await.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[152/188] Compiling Basic ByteString.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[153/188] Compiling Basic CStringArray.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[154/188] Compiling Basic CacheableSequence.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[155/188] Compiling Basic CollectionAlgorithms.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
    return try await(body).dematerialize()
                    ~~~~~~ ^~~~~~~~~~~~~
[156/192] Emitting module Basic
[157/192] Compiling Run Runner.swift
[158/192] Compiling Run RunnerSettings.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1