Build Information
Failed to build Swiftbrew with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path: $workDir
https://github.com/swiftbrew/Swiftbrew.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-package-manager.git
Fetching https://github.com/getGuaka/Prompt.git
Fetching https://github.com/nsomar/Guaka.git
[1/1420] Fetching guaka
[224/2441] Fetching guaka, spectre
[2442/3845] Fetching guaka, spectre, pathkit
[3018/3889] Fetching guaka, spectre, pathkit, prompt
[3890/18098] Fetching guaka, spectre, pathkit, prompt, quick
Fetched https://github.com/getGuaka/Prompt.git from cache (0.34s)
Fetching https://github.com/onevcat/Rainbow.git
[5408/18054] Fetching guaka, spectre, pathkit, quick
[18055/19168] Fetching guaka, spectre, pathkit, quick, rainbow
Fetched https://github.com/onevcat/Rainbow.git from cache (0.24s)
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetched https://github.com/Quick/Quick.git from cache (0.73s)
Fetching https://github.com/getGuaka/StringScanner.git
[1/5074] Fetching swiftcli
[5075/5262] Fetching swiftcli, stringscanner
Fetched https://github.com/getGuaka/StringScanner.git from cache (0.22s)
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.38s)
Fetching https://github.com/getGuaka/Colorizer.git
[1/58] Fetching colorizer
Fetched https://github.com/getGuaka/Colorizer.git from cache (0.21s)
Fetching https://github.com/JustHTTP/Just.git
[1/2126] Fetching just
Fetched https://github.com/JustHTTP/Just.git from cache (0.31s)
Fetching https://github.com/getGuaka/Run.git
[1/125267] Fetching swift-package-manager
[2507/125320] Fetching swift-package-manager, run
[2548/142611] Fetching swift-package-manager, run, nimble
Fetched https://github.com/getGuaka/Run.git from cache (0.20s)
Fetching https://github.com/getGuaka/Args.git
[7086/142558] Fetching swift-package-manager, nimble
[28955/142592] Fetching swift-package-manager, nimble, args
Fetched https://github.com/getGuaka/Args.git from cache (0.21s)
Fetching https://github.com/yonaskolb/Mint.git
[30726/142558] Fetching swift-package-manager, nimble
[43599/145335] Fetching swift-package-manager, nimble, mint
Fetched https://github.com/yonaskolb/Mint.git from cache (0.47s)
[59882/142558] Fetching swift-package-manager, nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.80s)
[75161/125267] Fetching swift-package-manager
Fetched https://github.com/nsomar/Guaka.git from cache (13.44s)
Fetched https://github.com/kylef/PathKit.git from cache (13.44s)
Fetched https://github.com/kylef/Spectre.git from cache (13.44s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Fetched https://github.com/apple/swift-package-manager.git from cache (13.69s)
Computed https://github.com/jakeheis/SwiftCLI.git at 5.2.2 (1.38s)
Computing version for https://github.com/yonaskolb/Mint.git
Computed https://github.com/yonaskolb/Mint.git at 0.12.0 (0.48s)
Computing version for https://github.com/nsomar/Guaka.git
Computed https://github.com/nsomar/Guaka.git at 0.4.1 (1.30s)
Computing version for https://github.com/getGuaka/Run.git
Computed https://github.com/getGuaka/Run.git at 0.1.1 (0.46s)
Computing version for https://github.com/getGuaka/Colorizer.git
Computed https://github.com/getGuaka/Colorizer.git at 0.2.1 (0.47s)
Computing version for https://github.com/JustHTTP/Just.git
Computed https://github.com/JustHTTP/Just.git at 0.8.0 (0.49s)
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.59s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.1.5 (0.45s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.47s)
Computing version for https://github.com/getGuaka/StringScanner.git
Computed https://github.com/getGuaka/StringScanner.git at 0.4.1 (0.44s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.45s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.50s)
Computing version for https://github.com/getGuaka/Prompt.git
Computed https://github.com/getGuaka/Prompt.git at 0.1.1 (0.50s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.45s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.43s)
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/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
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/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/Prompt.git
Working copy of https://github.com/getGuaka/Prompt.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/getGuaka/Colorizer.git
Working copy of https://github.com/getGuaka/Colorizer.git resolved at 0.2.1
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/Run.git
Working copy of https://github.com/getGuaka/Run.git resolved at 0.1.1
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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.1.5
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
warning: 'spi-builder-workspace': dependency 'swiftcli' is not used by any target
Building for debugging...
[0/38] Write sources
[17/38] Compiling clibc libc.c
[18/38] Write swift-version-24593BA9C3E375BF.txt
[20/93] Emitting module StringScanner
[21/93] Compiling Colorizer StringForegroundColorizer.swift
[22/93] Compiling Rainbow BackgroundColor.swift
[23/93] Compiling Rainbow CodesParser.swift
[24/93] Compiling Rainbow Color.swift
[25/93] Compiling Rainbow ControlCode.swift
[26/93] Emitting module Rainbow
[27/94] Compiling Colorizer StringStyleColorizer.swift
[28/94] Compiling StringScanner ScannerResult.swift
[29/94] Compiling StringScanner StringExtension.swift
[30/94] Compiling Args ArgConvertible.swift
[31/94] Compiling Rainbow String+Rainbow.swift
[32/94] Compiling StringScanner StringScanner.swift
[33/94] Compiling Rainbow StringGenerator.swift
[34/94] Compiling Rainbow Style.swift
[35/94] Emitting module Colorizer
[36/94] Compiling Colorizer StringBackgroundColorizer.swift
[37/94] Compiling Colorizer Colorizer.swift
[38/94] Compiling Rainbow XcodeColorsSupport.swift
[39/94] Emitting module SPMLibc
[40/94] Compiling SPMLibc libc.swift
[41/95] Compiling Rainbow ModesExtractor.swift
[42/95] Compiling Rainbow OutputTarget.swift
[43/95] Compiling Rainbow Rainbow.swift
[44/96] Compiling SwiftCLI Task.swift
[45/96] Compiling SwiftCLI Term.swift
[47/98] Compiling Args ProcessInfo.swift
[49/98] Compiling Args ArgsParser.swift
[50/98] Compiling Args Args.swift
[51/98] Compiling Args Argument.swift
[52/98] Emitting module Args
[56/99] Compiling SwiftCLI Input.swift
[57/99] Compiling SwiftCLI Option.swift
[58/99] Compiling SwiftCLI OptionGroup.swift
[59/99] Compiling SwiftCLI OptionRegistry.swift
[60/99] Compiling SwiftCLI Parameter.swift
[61/99] Compiling SwiftCLI Parser.swift
[63/99] Compiling SwiftCLI Compatibility.swift
[64/99] Compiling SwiftCLI CompletionGenerator.swift
[65/99] Compiling SwiftCLI ArgumentList.swift
[66/99] Compiling SwiftCLI ArgumentListManipulator.swift
[67/99] Compiling SwiftCLI CLI.swift
[68/99] Emitting module SwiftCLI
[71/99] Compiling Colorizer StringStyle.swift
[74/100] Compiling StringScanner CharacterSet.swift
[75/100] Compiling StringScanner Regex.swift
[77/101] Compiling SwiftCLI Validation.swift
[78/101] Compiling SwiftCLI VersionCommand.swift
[80/102] Emitting module Just
[81/102] Compiling Just Just.swift
[82/103] Wrapping AST for SPMLibc for debugging
[83/103] Wrapping AST for Colorizer for debugging
[84/103] Wrapping AST for StringScanner for debugging
[86/103] Emitting module PathKit
[87/103] Compiling PathKit PathKit.swift
[87/103] Wrapping AST for SwiftCLI for debugging
[88/103] Wrapping AST for Rainbow for debugging
[89/106] Wrapping AST for Args for debugging
[90/106] Wrapping AST for Just for debugging
[93/147] Compiling Prompt AskerValidator.swift
[94/148] Emitting module Prompt
[95/148] Compiling Prompt Agree.swift
[96/148] Compiling Prompt AgreeSettings.swift
[97/148] Compiling POSIX readdir.swift
[97/148] Wrapping AST for PathKit for debugging
[99/149] Compiling Prompt PromptSettings.swift
[100/149] Compiling Guaka Command+Utilities.swift
[101/149] Compiling Guaka Command.swift
[104/149] Compiling Prompt Ask.swift
[105/149] Compiling Prompt AskSettings.swift
[106/149] Compiling Prompt PromptPrinter.swift
[107/149] Compiling Prompt PromptReader.swift
[108/149] Compiling POSIX rename.swift
[109/149] Compiling POSIX stat.swift
[110/149] Compiling POSIX realpath.swift
[111/149] Compiling POSIX usleep.swift
[112/149] Compiling Guaka ArgTokenType.swift
[113/149] Compiling Guaka Command+Parsing.swift
[114/149] Compiling Guaka FlagSet+Parsing.swift
[115/149] Compiling Guaka HelpGeneratorErrors.swift
[116/149] Compiling Guaka GuakaConfig.swift
[117/149] Compiling Guaka Levenshtein.swift
[118/152] Compiling Prompt Choose.swift
[119/152] Compiling Prompt ChooseSettings.swift
[121/153] Emitting module POSIX
[123/154] Wrapping AST for Prompt for debugging
[126/161] Compiling Guaka Errors.swift
[127/161] Compiling Guaka FlagValue.swift
[128/161] Compiling Guaka Result.swift
[128/161] Wrapping AST for POSIX for debugging
[130/161] Compiling Guaka FlagHelpGeneratorUtils.swift
[131/161] Compiling Guaka HelpGenerator.swift
[132/161] Compiling Guaka HelpGeneratorDefaults.swift
[133/161] Compiling Guaka CommandHelp.swift
[134/161] Compiling Guaka DefaultHelpGenerator.swift
[135/161] Compiling Guaka FlagHelp.swift
[139/161] Compiling Guaka Flag.swift
[140/161] Compiling Guaka FlagSet.swift
[141/161] Compiling Guaka Flags.swift
[142/161] Emitting module Guaka
[146/162] Compiling Run TaskPipe.swift
[148/194] Compiling Run ShortHandRunner.swift
[149/196] Compiling Run RunResults.swift
[149/196] Wrapping AST for Guaka for debugging
[151/196] 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)
^
!
[152/196] Compiling Run Runner.swift
[153/196] Emitting module Run
[154/196] Compiling Run RunnerSettings.swift
error: fatalError
warning: 'spi-builder-workspace': dependency 'swiftcli' is not used by any target
[0/1] Planning build
Building for debugging...
[0/20] Write swift-version-24593BA9C3E375BF.txt
[2/45] 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)
^
!
[3/45] Emitting module Run
error: fatalError
BUILD FAILURE 5.10 linux