The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StreamDeck with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emorydunn/StreamDeckPlugin.git
Reference: main
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/emorydunn/StreamDeckPlugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8ebbf74 Disable user title
Cloned https://github.com/emorydunn/StreamDeckPlugin.git
Revision (git rev-parse @):
8ebbf740f6ba1519e71eabad3feaaad482d22933
SUCCESS checkout https://github.com/emorydunn/StreamDeckPlugin.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/emorydunn/StreamDeckPlugin.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1457] Fetching swift-docc-plugin
[1458/13072] Fetching swift-docc-plugin, swift-argument-parser
[3201/72531] Fetching swift-docc-plugin, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (3.25s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.25s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.29s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (1.06s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.40s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2684] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.34s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.40s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.52s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/35] Write sources
[19/35] Write swift-version-24593BA9C3E375BF.txt
[21/54] Emitting module SwiftSyntax509
[22/54] Compiling SwiftSyntax509 Empty.swift
[23/55] Wrapping AST for SwiftSyntax509 for debugging
[25/100] Emitting module ArgumentParserToolInfo
[26/100] Compiling ArgumentParserToolInfo ToolInfo.swift
[28/135] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:54:18: error: cannot find type 'FormatStyle' in scope
public extension FormatStyle where Self == Color.FormatStyle {
                 ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:38: error: no type named 'FormatStyle' in module 'Foundation'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                            ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:68: error: 'FormatOutput' is not a member type of type 'F'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                                                        ~ ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:89: error: 'FormatInput' is not a member type of type 'F'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                                                                             ~ ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:34:41: error: no type named 'FormatStyle' in module 'Foundation'
extension Color.FormatStyle: Foundation.FormatStyle {
                                        ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color.swift:190:40: error: cannot infer contextual base in reference to member 'hex'
                try container.encode(self.formatted(.hex))
                                                    ~^~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:54:30: error: 'where' clause cannot be applied to a non-generic top-level declaration
public extension FormatStyle where Self == Color.FormatStyle {
                             ^
[29/135] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:54:18: error: cannot find type 'FormatStyle' in scope
public extension FormatStyle where Self == Color.FormatStyle {
                 ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:38: error: no type named 'FormatStyle' in module 'Foundation'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                            ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:68: error: 'FormatOutput' is not a member type of type 'F'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                                                        ~ ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:89: error: 'FormatInput' is not a member type of type 'F'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                                                                             ~ ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:34:41: error: no type named 'FormatStyle' in module 'Foundation'
extension Color.FormatStyle: Foundation.FormatStyle {
                                        ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color.swift:190:40: error: cannot infer contextual base in reference to member 'hex'
                try container.encode(self.formatted(.hex))
                                                    ~^~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:54:30: error: 'where' clause cannot be applied to a non-generic top-level declaration
public extension FormatStyle where Self == Color.FormatStyle {
                             ^
[30/137] Compiling ArgumentParser CommandConfiguration.swift
[31/137] Compiling ArgumentParser EnumerableFlag.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/137] Compiling ArgumentParser NameSpecification.swift
[33/137] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/137] Emitting module SDPlusLayout
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:54:18: error: cannot find type 'FormatStyle' in scope
public extension FormatStyle where Self == Color.FormatStyle {
                 ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:38: error: no type named 'FormatStyle' in module 'Foundation'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                            ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:68: error: 'FormatOutput' is not a member type of type 'F'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                                                        ~ ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:89: error: 'FormatInput' is not a member type of type 'F'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                                                                             ~ ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:34:41: error: no type named 'FormatStyle' in module 'Foundation'
extension Color.FormatStyle: Foundation.FormatStyle {
                                        ^
[35/137] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Gradient.swift:51:21: error: value of type 'Double' has no member 'formatted'
                        "\(stop.position.formatted(.number.precision(.fractionLength(0..<2)))): \(stop.color.formatted(.hex))"
                           ~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Gradient.swift:51:32: error: cannot infer contextual base in reference to member 'number'
                        "\(stop.position.formatted(.number.precision(.fractionLength(0..<2)))): \(stop.color.formatted(.hex))"
                                                   ~^~~~~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Gradient.swift:51:50: error: cannot infer contextual base in reference to member 'fractionLength'
                        "\(stop.position.formatted(.number.precision(.fractionLength(0..<2)))): \(stop.color.formatted(.hex))"
                                                                     ~^~~~~~~~~~~~~~
[36/137] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Gradient.swift:51:21: error: value of type 'Double' has no member 'formatted'
                        "\(stop.position.formatted(.number.precision(.fractionLength(0..<2)))): \(stop.color.formatted(.hex))"
                           ~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Gradient.swift:51:32: error: cannot infer contextual base in reference to member 'number'
                        "\(stop.position.formatted(.number.precision(.fractionLength(0..<2)))): \(stop.color.formatted(.hex))"
                                                   ~^~~~~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Gradient.swift:51:50: error: cannot infer contextual base in reference to member 'fractionLength'
                        "\(stop.position.formatted(.number.precision(.fractionLength(0..<2)))): \(stop.color.formatted(.hex))"
                                                                     ~^~~~~~~~~~~~~~
[37/137] Compiling ArgumentParser CompletionsGenerator.swift
[38/137] Compiling ArgumentParser FishCompletionsGenerator.swift
[39/137] Compiling ArgumentParser ZshCompletionsGenerator.swift
[40/137] Compiling ArgumentParser Argument.swift
[41/137] Compiling ArgumentParser Option.swift
[42/137] Compiling ArgumentParser OptionGroup.swift
[43/137] Compiling SDPlusLayout ModifiedItem.swift
[44/137] Compiling SDPlusLayout Properties.swift
[45/137] Emitting module ArgumentParser
error: fatalError
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/18] Write swift-version-24593BA9C3E375BF.txt
[4/101] Compiling SDPlusLayout Color+FormatStyle.swift
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:54:18: error: cannot find type 'FormatStyle' in scope
public extension FormatStyle where Self == Color.FormatStyle {
                 ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:38: error: no type named 'FormatStyle' in module 'Foundation'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                            ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:68: error: 'FormatOutput' is not a member type of type 'F'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                                                        ~ ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:89: error: 'FormatInput' is not a member type of type 'F'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                                                                             ~ ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:34:41: error: no type named 'FormatStyle' in module 'Foundation'
extension Color.FormatStyle: Foundation.FormatStyle {
                                        ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:54:30: error: 'where' clause cannot be applied to a non-generic top-level declaration
public extension FormatStyle where Self == Color.FormatStyle {
                             ^
[5/101] Compiling SDPlusLayout ColorStyle.swift
[6/101] Compiling SDPlusLayout Gradient.swift
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Gradient.swift:51:21: error: value of type 'Double' has no member 'formatted'
                        "\(stop.position.formatted(.number.precision(.fractionLength(0..<2)))): \(stop.color.formatted(.hex))"
                           ~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Gradient.swift:51:32: error: cannot infer contextual base in reference to member 'number'
                        "\(stop.position.formatted(.number.precision(.fractionLength(0..<2)))): \(stop.color.formatted(.hex))"
                                                   ~^~~~~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Gradient.swift:51:50: error: cannot infer contextual base in reference to member 'fractionLength'
                        "\(stop.position.formatted(.number.precision(.fractionLength(0..<2)))): \(stop.color.formatted(.hex))"
                                                                     ~^~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/105] Emitting module SDPlusLayout
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:54:18: error: cannot find type 'FormatStyle' in scope
public extension FormatStyle where Self == Color.FormatStyle {
                 ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:38: error: no type named 'FormatStyle' in module 'Foundation'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                            ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:68: error: 'FormatOutput' is not a member type of type 'F'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                                                        ~ ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:89: error: 'FormatInput' is not a member type of type 'F'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                                                                             ~ ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:34:41: error: no type named 'FormatStyle' in module 'Foundation'
extension Color.FormatStyle: Foundation.FormatStyle {
                                        ^
[8/105] Compiling SDPlusLayout Color.swift
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:38: error: no type named 'FormatStyle' in module 'Foundation'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                            ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color+FormatStyle.swift:27:68: error: 'FormatOutput' is not a member type of type 'F'
        public func formatted<F: Foundation.FormatStyle>(_ style: F) -> F.FormatOutput where F.FormatInput == Color {
                                                                        ~ ^
/host/spi-builder-workspace/Sources/SDPlusLayout/Color/Color.swift:190:40: error: cannot infer contextual base in reference to member 'hex'
                try container.encode(self.formatted(.hex))
                                                    ~^~~
[9/105] Compiling SDPlusLayout ModifiedItem.swift
[10/105] Emitting module ArgumentParser
[11/109] Compiling SDPlusLayout Bar.swift
[12/109] Compiling SDPlusLayout Slider.swift
[13/109] Compiling SDPlusLayout BarLayoutItem.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1