The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Run 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/getGuaka/Run.git
Reference: 0.1.1
Cloned https://github.com/getGuaka/Run.git into spi-builder-workspace
SUCCESS checkout https://github.com/getGuaka/Run.git at 0.1.1
========================================
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/Args.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/13702] Fetching quick
[13566/29448] Fetching quick, nimble
Fetched https://github.com/getGuaka/Args.git (0.63s)
Fetched https://github.com/Quick/Quick.git (0.63s)
Fetching https://github.com/getGuaka/Prompt.git
[15589/15746] Fetching nimble
Fetched https://github.com/getGuaka/Prompt.git (0.20s)
Fetched https://github.com/Quick/Nimble.git (1.05s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.1 (0.34s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.2 (0.32s)
Computing version for https://github.com/getGuaka/Prompt.git
Computed https://github.com/getGuaka/Prompt.git at 0.1.1 (0.34s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.32s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.1
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/getGuaka/Prompt.git
Working copy of https://github.com/getGuaka/Prompt.git resolved at 0.1.1
Building for debugging...
[1/6] Emitting module Args
[2/6] Compiling Args ArgConvertible.swift
[3/6] Compiling Args ArgsParser.swift
[4/6] Compiling Args Argument.swift
[5/6] Compiling Args Args.swift
[6/6] Compiling Args ProcessInfo.swift
[9/18] Emitting module Prompt
[10/19] Compiling Prompt PromptPrinter.swift
[11/19] Compiling Prompt PromptReader.swift
[12/19] Compiling Prompt PromptSettings.swift
[13/19] Compiling Prompt Ask.swift
[14/19] Compiling Prompt AskSettings.swift
[15/19] Compiling Prompt Choose.swift
[16/19] Compiling Prompt AskerValidator.swift
[17/19] Compiling Prompt Agree.swift
[18/19] Compiling Prompt AgreeSettings.swift
[19/19] Compiling Prompt ChooseSettings.swift
[22/28] Compiling Run TaskPipe.swift
[23/28] Compiling Run ShortHandRunner.swift
[24/28] Compiling Run RunResults.swift
[25/28] Emitting module Run
[26/28] Compiling Run CommandExecutor.swift
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:44:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
        task.launchPath = "/usr/bin/env"
             ^
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:44:14: note: use 'executableURL' instead
        task.launchPath = "/usr/bin/env"
             ^~~~~~~~~~
             executableURL
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:52:14: warning: 'launch()' is deprecated: renamed to 'run'
        task.launch()
             ^
/host/spi-builder-workspace/Sources/Run/CommandExecutor.swift:52:14: note: use 'run' instead
        task.launch()
             ^~~~~~
             run
/host/spi-builder-workspace/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/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/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)
                                           ^
                                              !
[27/28] Compiling Run Runner.swift
[28/28] Compiling Run RunnerSettings.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2