The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build StreamDeck, reference 0.5.1 (f6d1a5), with Swift 5.10 for Linux on 17 Oct 2024 05:22:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emorydunn/StreamDeckPlugin.git
Reference: 0.5.1
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
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at f6d1a5f GitHub Actions are still grumpy
Cloned https://github.com/emorydunn/StreamDeckPlugin.git
Revision (git rev-parse @):
f6d1a5ff8545106bf18720817bfa9f2833b7babc
SUCCESS checkout https://github.com/emorydunn/StreamDeckPlugin.git at 0.5.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/emorydunn/StreamDeckPlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:de52ea9a9b71f638f9ab112bc11e200b74fab18027de8589a3de4f14b5e22683
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser.git
[1/2038] Fetching swift-docc-plugin
[2039/14291] Fetching swift-docc-plugin, swift-argument-parser
[14292/80194] Fetching swift-docc-plugin, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (3.56s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.57s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.60s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.31s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.05s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.36s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3150] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.32s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.37s)
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 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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.4.3
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/36] Write sources
[20/36] Write swift-version-24593BA9C3E375BF.txt
[22/55] Compiling SwiftSyntax509 Empty.swift
[23/55] Emitting module SwiftSyntax509
[24/56] Wrapping AST for SwiftSyntax509 for debugging
[26/84] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/84] Emitting module ArgumentParserToolInfo
[29/140] Compiling ArgumentParser ArgumentVisibility.swift
[30/140] Compiling ArgumentParser CompletionKind.swift
[31/140] Compiling ArgumentParser Errors.swift
[32/140] Compiling ArgumentParser Flag.swift
[33/140] Compiling ArgumentParser Argument.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))"
                                                                     ~^~~~~~~~~~~~~~
[34/140] 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))"
                                                                     ~^~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/142] Compiling ArgumentParser OptionGroup.swift
[36/142] Compiling ArgumentParser AsyncParsableCommand.swift
[37/142] 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 {
                                        ^
[38/142] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/142] Compiling ArgumentParser CompletionsGenerator.swift
[40/142] Compiling ArgumentParser NameSpecification.swift
[41/142] Compiling ArgumentParser Option.swift
[42/142] Compiling ArgumentParser FishCompletionsGenerator.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 {
                             ^
[43/142] Compiling ArgumentParser ZshCompletionsGenerator.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 {
                             ^
[44/142] Emitting module ArgumentParser
[51/142] Compiling SDPlusLayout ModifiedItem.swift
[52/142] Compiling SDPlusLayout Properties.swift
error: fatalError
[59/147] Compiling ArgumentParser Name.swift
[60/147] Compiling ArgumentParser Parsed.swift
[61/147] Compiling ArgumentParser ParsedValues.swift
[62/147] Compiling ArgumentParser ParserError.swift
[63/147] Compiling ArgumentParser SplitArguments.swift
BUILD FAILURE 5.10 linux