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-4609320-0":/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: 0.2.0
Cloned https://github.com/swiftbrew/Swiftbrew.git into spi-builder-workspace
SUCCESS checkout https://github.com/swiftbrew/Swiftbrew.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/getGuaka/Colorizer.git
Fetching https://github.com/apple/swift-package-manager.git
Fetching https://github.com/getGuaka/Args.git
[1/111803] Fetching swift-package-manager
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/getGuaka/Args.git (10.52s)
Fetched https://github.com/getGuaka/Colorizer.git (10.52s)
Fetching https://github.com/kylef/PathKit.git
[1/1405] Fetching pathkit
Fetched https://github.com/apple/swift-package-manager.git (10.76s)
Fetching https://github.com/getGuaka/Run.git
Fetched https://github.com/kylef/PathKit.git (0.36s)
Fetching https://github.com/JustHTTP/Just.git
Fetched https://github.com/getGuaka/Run.git (0.18s)
Fetching https://github.com/getGuaka/Prompt.git
[1/15746] Fetching nimble
[9764/17872] Fetching nimble, just
Fetched https://github.com/getGuaka/Prompt.git (0.63s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/JustHTTP/Just.git (2.88s)
Fetching https://github.com/yonaskolb/Mint.git
Fetched https://github.com/kylef/Spectre.git (2.21s)
Fetching https://github.com/Quick/Quick.git
Fetched https://github.com/Quick/Nimble.git (3.27s)
Fetching https://github.com/nsomar/Guaka.git
[1/2706] Fetching mint
[83/4126] Fetching mint, guaka
[4127/17824] Fetching mint, guaka, quick
Fetched https://github.com/nsomar/Guaka.git (0.30s)
Fetching https://github.com/getGuaka/StringScanner.git
[6268/16404] Fetching mint, quick
Fetched https://github.com/yonaskolb/Mint.git (0.35s)
Fetching https://github.com/jakeheis/SwiftCLI.git
[6849/13698] Fetching quick
[13699/13886] Fetching quick, stringscanner
[13886/18960] Fetching quick, stringscanner, swiftcli
Fetched https://github.com/getGuaka/StringScanner.git (0.25s)
Fetching https://github.com/onevcat/Rainbow.git
[16895/18772] Fetching quick, swiftcli
Fetched https://github.com/Quick/Quick.git (0.65s)
Fetched https://github.com/jakeheis/SwiftCLI.git (0.33s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
[1/1110] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow.git (0.21s)
Computed https://github.com/jakeheis/SwiftCLI.git at 5.2.2 (1.10s)
Computing version for https://github.com/yonaskolb/Mint.git
Computed https://github.com/yonaskolb/Mint.git at 0.12.0 (0.30s)
Computing version for https://github.com/nsomar/Guaka.git
Computed https://github.com/nsomar/Guaka.git at 0.4.1 (1.08s)
Computing version for https://github.com/getGuaka/Run.git
Computed https://github.com/getGuaka/Run.git at 0.1.1 (0.28s)
Computing version for https://github.com/getGuaka/Colorizer.git
Computed https://github.com/getGuaka/Colorizer.git at 0.2.1 (0.28s)
Computing version for https://github.com/JustHTTP/Just.git
Computed https://github.com/JustHTTP/Just.git at 0.8.0 (0.28s)
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.44s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.1.5 (0.28s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.30s)
Computing version for https://github.com/getGuaka/StringScanner.git
Computed https://github.com/getGuaka/StringScanner.git at 0.4.1 (0.29s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.30s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.32s)
Computing version for https://github.com/getGuaka/Prompt.git
Computed https://github.com/getGuaka/Prompt.git at 0.1.1 (0.29s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.29s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.29s)
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/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 5.2.2
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/getGuaka/Colorizer.git
Working copy of https://github.com/getGuaka/Colorizer.git resolved at 0.2.1
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/nsomar/Guaka.git
Working copy of https://github.com/nsomar/Guaka.git resolved at 0.4.1
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/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.git resolved at 0.1.1
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/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/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/getGuaka/Run.git
Working copy of https://github.com/getGuaka/Run.git resolved at 0.1.1
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
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 PathKit
[3/74] Emitting module SwiftCLI
[4/76] Compiling SwiftCLI Validation.swift
[5/76] Compiling SwiftCLI VersionCommand.swift
[6/76] Compiling SwiftCLI Error.swift
[7/76] Compiling SwiftCLI HelpCommand.swift
[8/76] Compiling SwiftCLI HelpMessageGenerator.swift
[9/76] Compiling Colorizer StringStyleColorizer.swift
[10/76] Compiling Rainbow StringGenerator.swift
[11/76] Compiling Rainbow Style.swift
[12/77] Compiling SwiftCLI OptionRegistry.swift
[13/77] Compiling SwiftCLI Parameter.swift
[14/77] Compiling SwiftCLI Parser.swift
[15/77] Emitting module Colorizer
[16/77] Compiling Colorizer Colorizer.swift
[17/77] Compiling Colorizer StringForegroundColorizer.swift
[18/77] Compiling Rainbow String+Rainbow.swift
[19/77] Compiling StringScanner StringExtension.swift
[20/77] Compiling StringScanner ScannerResult.swift
[21/77] Compiling StringScanner StringScanner.swift
[22/77] Compiling Rainbow XcodeColorsSupport.swift
[23/77] Compiling SwiftCLI Task.swift
[24/77] Compiling SwiftCLI Term.swift
[25/77] Compiling SwiftCLI Path.swift
[26/77] Compiling SwiftCLI Stream.swift
[27/77] Compiling Args ProcessInfo.swift
[28/77] Compiling SwiftCLI Command.swift
[29/77] Compiling SwiftCLI Compatibility.swift
[30/77] Compiling SwiftCLI CompletionGenerator.swift
[31/77] Emitting module Args
[32/77] Compiling Args ArgsParser.swift
[33/77] Compiling Args Argument.swift
[34/77] Compiling Args Args.swift
[35/77] Compiling Args ArgConvertible.swift
[36/77] Emitting module SPMLibc
[37/77] Compiling SPMLibc libc.swift
[39/80] Compiling SwiftCLI ArgumentList.swift
[40/80] Compiling SwiftCLI ArgumentListManipulator.swift
[41/80] Compiling SwiftCLI CLI.swift
[44/81] Compiling SwiftCLI Input.swift
[45/81] Compiling SwiftCLI Option.swift
[46/81] Compiling SwiftCLI OptionGroup.swift
[54/83] Emitting module Rainbow
[57/83] Compiling Rainbow Rainbow.swift
[58/85] Wrapping AST for SPMLibc for debugging
[60/85] Compiling StringScanner CharacterSet.swift
[61/85] Emitting module StringScanner
[62/85] Compiling StringScanner Regex.swift
[63/86] Compiling Colorizer StringStyle.swift
[64/86] Compiling Colorizer StringBackgroundColorizer.swift
[67/93] Wrapping AST for Args for debugging
[69/102] Wrapping AST for SwiftCLI for debugging
[71/110] Wrapping AST for Rainbow for debugging
[72/110] Wrapping AST for StringScanner for debugging
[73/110] Wrapping AST for Colorizer for debugging
[75/132] Compiling Guaka CommandTypes.swift
[76/132] Compiling Guaka CommandExecution.swift
[77/133] Emitting module Just
[78/133] Compiling Just Just.swift
[79/133] Compiling Prompt Choose.swift
[80/133] Compiling Prompt PromptPrinter.swift
[81/133] Compiling Prompt PromptReader.swift
[82/133] Compiling POSIX realpath.swift
[83/133] Compiling POSIX readdir.swift
[84/134] Compiling Prompt PromptSettings.swift
[86/135] Emitting module Prompt
[87/136] Compiling Guaka Flag+Utilities.swift
[88/136] Compiling Guaka Command+Execution.swift
[90/136] Compiling POSIX rename.swift
[91/136] Compiling POSIX stat.swift
[92/136] Compiling POSIX usleep.swift
[95/136] Compiling Guaka Command+Utilities.swift
[96/136] Compiling Guaka Command.swift
[96/136] Wrapping AST for Just for debugging
[98/136] Compiling Prompt AskerValidator.swift
[99/136] Compiling Prompt ChooseSettings.swift
[102/137] Emitting module POSIX
[109/143] Wrapping AST for POSIX for debugging
[111/143] Compiling PathKit PathKit.swift
[112/143] Compiling Guaka HelpGeneratorErrors.swift
[113/143] Compiling Guaka GuakaConfig.swift
[114/143] Compiling Guaka Levenshtein.swift
[115/143] Compiling Guaka ArgTokenType.swift
[116/143] Compiling Guaka Command+Parsing.swift
[117/143] Compiling Guaka FlagSet+Parsing.swift
[118/143] Compiling Guaka Flag.swift
[119/143] Compiling Guaka FlagSet.swift
[120/143] Compiling Guaka Flags.swift
[121/143] Compiling Guaka CommandHelp.swift
[122/143] Compiling Guaka DefaultHelpGenerator.swift
[123/143] Compiling Guaka FlagHelp.swift
[123/143] Wrapping AST for Prompt for debugging
[127/186] Compiling Basic Path.swift
[128/186] Compiling Basic PathShims.swift
[129/186] Compiling Basic Process.swift
[129/186] Wrapping AST for PathKit for debugging
[131/186] Compiling Basic SynchronizedQueue.swift
[132/186] Compiling Basic TemporaryFile.swift
[133/186] Compiling Basic CollectionExtensions.swift
[134/186] Compiling Run TaskPipe.swift
[135/186] 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)
                                           ^
                                              !
[136/186] Compiling Run ShortHandRunner.swift
[137/186] Compiling Run RunResults.swift
[138/186] Emitting module Guaka
[139/186] Compiling Basic CacheableSequence.swift
[140/186] Compiling Basic CollectionAlgorithms.swift
[141/186] Compiling Basic DictionaryLiteralExtensions.swift
[144/188] Emitting module Run
[144/188] Wrapping AST for Guaka for debugging
[146/188] Compiling Run Runner.swift
[147/188] Compiling Run RunnerSettings.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2