Build Information
Failed to build Swiftbrew with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftbrew/Swiftbrew.git
Reference: 0.2.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/swiftbrew/Swiftbrew
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at a111c21 Merge pull request #12 from Thieurom/update-gh-pull-request-action
Cloned https://github.com/swiftbrew/Swiftbrew.git
Revision (git rev-parse @):
a111c21840644f32aa3cdada67c5bd499184e9d3
SUCCESS checkout https://github.com/swiftbrew/Swiftbrew.git at 0.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/swiftbrew/Swiftbrew.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/JustHTTP/Just.git
Fetching https://github.com/getGuaka/Args.git
Fetching https://github.com/getGuaka/Run.git
[1/2126] Fetching just
[151/2160] Fetching just, args
[1013/2213] Fetching just, args, run
Fetching https://github.com/yonaskolb/Mint.git
Fetched https://github.com/getGuaka/Run.git (0.27s)
[1544/2160] Fetching just, args
Fetched https://github.com/getGuaka/Args.git (0.27s)
[1574/2126] Fetching just
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/JustHTTP/Just.git (0.40s)
Fetching https://github.com/getGuaka/Colorizer.git
[1/1404] Fetching pathkit
[1405/4181] Fetching pathkit, mint
Fetched https://github.com/kylef/PathKit.git (0.27s)
Fetching https://github.com/kylef/Spectre.git
[2750/2777] Fetching mint
[2778/2835] Fetching mint, colorizer
Fetched https://github.com/getGuaka/Colorizer.git (0.21s)
Fetching https://github.com/onevcat/Rainbow.git
Fetched https://github.com/yonaskolb/Mint.git (0.41s)
Fetching https://github.com/getGuaka/StringScanner.git
[1/1021] Fetching spectre
[1022/2135] Fetching spectre, rainbow
[435/1114] Fetching rainbow
Fetched https://github.com/kylef/Spectre.git (0.26s)
Fetching https://github.com/getGuaka/Prompt.git
Fetched https://github.com/onevcat/Rainbow.git (0.23s)
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/188] Fetching stringscanner
Fetched https://github.com/getGuaka/StringScanner.git (0.25s)
Fetching https://github.com/Quick/Quick.git
[1/44] Fetching prompt
Fetched https://github.com/getGuaka/Prompt.git (0.21s)
Fetching https://github.com/Quick/Nimble.git
[1/5074] Fetching swiftcli
[5075/19283] Fetching swiftcli, quick
Fetched https://github.com/jakeheis/SwiftCLI.git (0.38s)
Fetching https://github.com/apple/swift-package-manager.git
[5684/14209] Fetching quick
[14210/31500] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git (0.68s)
Fetching https://github.com/nsomar/Guaka.git
[1211/17291] Fetching nimble
[11586/18711] Fetching nimble, guaka
Fetched https://github.com/nsomar/Guaka.git (0.24s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
[16600/17291] Fetching nimble
Fetched https://github.com/Quick/Nimble.git (1.60s)
[1/125267] Fetching swift-package-manager
Computed https://github.com/jakeheis/SwiftCLI.git at 5.2.2 (1.35s)
Computing version for https://github.com/yonaskolb/Mint.git
Computed https://github.com/yonaskolb/Mint.git at 0.12.0 (0.42s)
Fetched https://github.com/apple/swift-package-manager.git (11.27s)
Computing version for https://github.com/nsomar/Guaka.git
Computed https://github.com/nsomar/Guaka.git at 0.4.1 (1.11s)
Computing version for https://github.com/getGuaka/Run.git
Computed https://github.com/getGuaka/Run.git at 0.1.1 (0.36s)
Computing version for https://github.com/getGuaka/Colorizer.git
Computed https://github.com/getGuaka/Colorizer.git at 0.2.1 (0.35s)
Computing version for https://github.com/JustHTTP/Just.git
Computed https://github.com/JustHTTP/Just.git at 0.8.0 (0.37s)
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.48s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.1.5 (0.34s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.34s)
Computing version for https://github.com/getGuaka/StringScanner.git
Computed https://github.com/getGuaka/StringScanner.git at 0.4.1 (0.34s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.35s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.37s)
Computing version for https://github.com/getGuaka/Prompt.git
Computed https://github.com/getGuaka/Prompt.git at 0.1.1 (0.35s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.35s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.36s)
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/getGuaka/Colorizer.git
Working copy of https://github.com/getGuaka/Colorizer.git resolved at 0.2.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/Args.git
Working copy of https://github.com/getGuaka/Args.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
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/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 5.2.2
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/Run.git
Working copy of https://github.com/getGuaka/Run.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/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.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
warning: dependency 'swiftcli' is not used by any target
Building for debugging...
[0/19] Compiling clibc libc.c
[2/74] Emitting module SwiftCLI
[3/76] Compiling Rainbow Style.swift
[4/76] Compiling Rainbow StringGenerator.swift
[5/76] Compiling StringScanner CharacterSet.swift
[6/77] Compiling SwiftCLI Validation.swift
[7/77] Compiling SwiftCLI VersionCommand.swift
[8/77] Compiling Colorizer StringForegroundColorizer.swift
[9/77] Emitting module Args
[10/77] Compiling Args ArgConvertible.swift
[11/77] Compiling Args Args.swift
[12/77] Compiling SwiftCLI ArgumentList.swift
[13/77] Compiling SwiftCLI ArgumentListManipulator.swift
[14/77] Compiling Colorizer StringStyleColorizer.swift
[15/77] Compiling Rainbow ControlCode.swift
[16/77] Compiling Rainbow ModesExtractor.swift
[17/77] Compiling Rainbow OutputTarget.swift
[18/77] Compiling Rainbow XcodeColorsSupport.swift
[19/77] Compiling StringScanner ScannerResult.swift
[20/77] Compiling Colorizer Colorizer.swift
[21/77] Emitting module Colorizer
[22/77] Compiling StringScanner StringExtension.swift
[23/77] Compiling StringScanner StringScanner.swift
[24/77] Compiling Rainbow String+Rainbow.swift
[25/77] Compiling SwiftCLI Task.swift
[26/77] Compiling SwiftCLI Term.swift
[27/77] Compiling SwiftCLI Input.swift
[28/77] Compiling SwiftCLI Option.swift
[29/77] Compiling SwiftCLI OptionGroup.swift
[30/77] Compiling SwiftCLI OptionRegistry.swift
[31/77] Compiling SwiftCLI Parameter.swift
[32/77] Compiling SwiftCLI Parser.swift
[33/77] Compiling SwiftCLI Path.swift
[34/77] Compiling SwiftCLI Stream.swift
[37/77] Compiling Rainbow Color.swift
[38/77] Compiling SwiftCLI Command.swift
[39/77] Compiling SwiftCLI Compatibility.swift
[40/77] Compiling SwiftCLI CompletionGenerator.swift
[41/78] Compiling Args ArgsParser.swift
[42/78] Compiling Args Argument.swift
[43/78] Compiling SPMLibc libc.swift
[44/78] Compiling Args ProcessInfo.swift
[45/78] Emitting module SPMLibc
[49/81] Compiling Colorizer StringBackgroundColorizer.swift
[50/81] Compiling Colorizer StringStyle.swift
[55/84] Emitting module StringScanner
[56/84] Compiling StringScanner Regex.swift
[59/86] Compiling Rainbow Rainbow.swift
[62/86] Emitting module Rainbow
[67/89] Wrapping AST for Args for debugging
[68/89] Wrapping AST for SwiftCLI for debugging
[69/89] Wrapping AST for SPMLibc for debugging
[70/89] Wrapping AST for StringScanner for debugging
[71/89] Wrapping AST for Colorizer for debugging
[72/89] Wrapping AST for Rainbow for debugging
[74/132] Emitting module PathKit
[75/132] Compiling PathKit PathKit.swift
[77/133] Compiling Prompt PromptReader.swift
[78/135] Compiling POSIX realpath.swift
[79/136] Compiling POSIX readdir.swift
[80/136] Emitting module Guaka
[81/136] Compiling Prompt PromptPrinter.swift
[83/139] Compiling Prompt AskerValidator.swift
[84/139] Compiling Prompt Choose.swift
[85/139] Compiling POSIX env.swift
[86/139] Compiling POSIX exit.swift
[89/139] Compiling POSIX Error.swift
[90/139] Compiling POSIX chdir.swift
[91/139] Emitting module Prompt
[92/139] Compiling POSIX getcwd.swift
[93/139] Compiling POSIX isatty.swift
[94/139] Compiling POSIX rename.swift
[95/139] Compiling POSIX stat.swift
[96/139] Compiling Prompt PromptSettings.swift
[96/139] Wrapping AST for PathKit for debugging
[98/139] Compiling POSIX usleep.swift
[99/139] Compiling Just Just.swift
[100/139] Emitting module Just
[104/140] Compiling Guaka Flag.swift
[105/140] Compiling Guaka FlagSet.swift
[106/140] Compiling Guaka Flags.swift
[108/141] Compiling Guaka Errors.swift
[109/141] Compiling Guaka FlagValue.swift
[110/141] Compiling Guaka Result.swift
[112/141] Compiling Prompt ChooseSettings.swift
[113/142] Compiling Guaka HelpGeneratorErrors.swift
[114/142] Compiling Guaka GuakaConfig.swift
[115/142] Compiling Guaka Levenshtein.swift
[116/142] Compiling Guaka ArgTokenType.swift
[117/142] Compiling Guaka Command+Parsing.swift
[118/142] Compiling Guaka FlagSet+Parsing.swift
[119/142] Emitting module POSIX
[127/144] Compiling Guaka CommandHelp.swift
[128/144] Compiling Guaka DefaultHelpGenerator.swift
[129/144] Compiling Guaka FlagHelp.swift
[130/145] Compiling Guaka FlagHelpGeneratorUtils.swift
[131/145] Compiling Guaka HelpGenerator.swift
[132/145] Compiling Guaka HelpGeneratorDefaults.swift
[134/146] Wrapping AST for Just for debugging
[136/147] Wrapping AST for POSIX for debugging
[138/147] Wrapping AST for Prompt for debugging
[139/147] Wrapping AST for Guaka for debugging
[141/188] Emitting module Run
[142/188] Compiling Run TaskPipe.swift
[143/188] Compiling Run ShortHandRunner.swift
[144/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)
^
!
[145/188] Compiling Run RunResults.swift
[146/188] Compiling Run RunnerSettings.swift
[147/188] Compiling Run Runner.swift
warning: dependency 'swiftcli' is not used by any target
[0/1] Planning build
Building for debugging...
[1/43] 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()
~~~~~~ ^~~~~~~~~~~~~
[2/43] 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()
~~~~~~ ^~~~~~~~~~~~~
[3/43] 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()
~~~~~~ ^~~~~~~~~~~~~
[4/43] 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()
~~~~~~ ^~~~~~~~~~~~~
[5/43] 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()
~~~~~~ ^~~~~~~~~~~~~
[6/47] Emitting module Run
[7/47] 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)
^
!
BUILD FAILURE 5.8 linux