The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Badgy, reference master (6831dc), with Swift 6.4 for macOS (SPM) on 15 Sep 2026 21:48:39 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/arthurpalves/badgy.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/arthurpalves/badgy
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6831dce Merge pull request #23 from arthurpalves/clean/rc-argument-parser
Cloned https://github.com/arthurpalves/badgy.git
Revision (git rev-parse @):
6831dce91968b3db4bb2797cc9c5d3777bf37ea9
SUCCESS checkout https://github.com/arthurpalves/badgy.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/arthurpalves/badgy.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[41 / 80]
[46 / 85] ArgumentParserToolInfo
[50 / 89] ArgumentParserToolInfo
[57 / 90] SwiftCLI
[65 / 133] ArgumentParser
[69 / 144]
[74 / 144]
[76 / 144]
[80 / 144]
[82 / 144]
[85 / 144]
[94 / 144]
[96 / 144]
[97 / 144]
[107 / 144] SwiftCLI
[110 / 144] SwiftCLI
[119 / 144] ArgumentParser
[123 / 144] SwiftCLI
[127 / 144] SwiftCLI
[131 / 144] PathKit
[133 / 144]
[136 / 145] SwiftCLI
[138 / 145] ArgumentParser
[140 / 145] ArgumentParser
[140 / 145] badgy-product
[154 / 184]
[160 / 184]
[163 / 184]
[165 / 184]
[167 / 184]
[168 / 184]
[179 / 184] badgy-product
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/nicklockwood/SwiftFormat
[1/5080] Fetching swiftcli
[2/6540] Fetching swiftcli, pathkit
[3769/25399] Fetching swiftcli, pathkit, swift-argument-parser
[7107/84116] Fetching swiftcli, pathkit, swift-argument-parser, swiftformat
Fetched https://github.com/jakeheis/SwiftCLI (1.89s)
[23843/79036] Fetching pathkit, swift-argument-parser, swiftformat
Fetched https://github.com/kylef/PathKit (69.62s)
Fetched https://github.com/apple/swift-argument-parser (69.62s)
Fetched https://github.com/nicklockwood/SwiftFormat (69.62s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (71.97s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (1.02s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.69s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.61s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.65s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.63.0 (0.65s)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.63.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftPerFileCompile Badgy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift:57:26: error: extra argument 'default' in call
 55 |         var color: ColorCode?
 56 |
 57 |         @Option(default: "white", help: """
    |                          `- error: extra argument 'default' in call
 58 |         Specify a valid hex color code in a case insensitive format: '#rrggbb' | '#rrggbbaa'
 59 |             or
/Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift:65:10: error: referencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent
 63 |         var tintColor: ColorCode
 64 |
 65 |         @Flag(help: "Indicates Badgy should replace the input icon")
    |          `- error: referencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent
 66 |         var replace: Bool
 67 |
ArgumentParser.Flag:1:11: note: where 'Value' = 'Bool'
1 | extension Flag where Value == Int {
  |           `- note: where 'Value' = 'Bool'
2 |     public init(name: ArgumentParser.NameSpecification = .long, help: ArgumentParser.ArgumentHelp? = nil)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift:68:10: error: referencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent
 66 |         var replace: Bool
 67 |
 68 |         @Flag(help: "Log tech details for nerds")
    |          `- error: referencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent
 69 |         var verbose: Bool
 70 |
ArgumentParser.Flag:1:11: note: where 'Value' = 'Bool'
1 | extension Flag where Value == Int {
  |           `- note: where 'Value' = 'Bool'
2 |     public init(name: ArgumentParser.NameSpecification = .long, help: ArgumentParser.ArgumentHelp? = nil)
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift:41:12: error: type 'Badgy.Options' does not conform to protocol 'Decodable'
 39 |
 40 | extension Badgy {
 41 |     struct Options: ParsableArguments {
    |            `- error: type 'Badgy.Options' does not conform to protocol 'Decodable'
 42 |         @Argument(help: "Specify badge text")
 43 |         var label: String
    :
 61 |         Complete list of named colors: https://imagemagick.org/script/color.php#color_names
 62 |         """)
 63 |         var tintColor: ColorCode
    |             `- note: cannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'
 64 |
 65 |         @Flag(help: "Indicates Badgy should replace the input icon")
 66 |         var replace: Bool
    |             `- note: cannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'
 67 |
 68 |         @Flag(help: "Log tech details for nerds")
 69 |         var verbose: Bool
    |             `- note: cannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'
 70 |
 71 |         func validate() throws {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift:90:27: error: extra argument 'default' in call
 88 |         var options: Badgy.Options
 89 |
 90 |         @Option(default: .bottom, help: "Position on which to place the badge. Supported positions:  \(Position.longLabelPositions.formatted())")
    |                           `- error: extra argument 'default' in call
 91 |         var position: Position
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift:90:27: error: cannot infer contextual base in reference to member 'bottom'
 88 |         var options: Badgy.Options
 89 |
 90 |         @Option(default: .bottom, help: "Position on which to place the badge. Supported positions:  \(Position.longLabelPositions.formatted())")
    |                           `- error: cannot infer contextual base in reference to member 'bottom'
 91 |         var position: Position
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift:93:26: error: extra argument 'default' in call
 91 |         var position: Position
 92 |
 93 |         @Option(default: 0, help: "The rotation angle of the badge in degrees range of -180 ... 180")
    |                          `- error: extra argument 'default' in call
 94 |         var angle: Int
 95 |
/Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift:82:12: error: type 'Badgy.Long' does not conform to protocol 'Decodable'
 80 |
 81 | extension Badgy {
 82 |     struct Long: ParsableCommand {
    |            `- error: type 'Badgy.Long' does not conform to protocol 'Decodable'
 83 |         static var configuration = CommandConfiguration(
 84 |             abstract: "Add rectangular label to app icon"
    :
 89 |
 90 |         @Option(default: .bottom, help: "Position on which to place the badge. Supported positions:  \(Position.longLabelPositions.formatted())")
 91 |         var position: Position
    |             `- note: cannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'
 92 |
 93 |         @Option(default: 0, help: "The rotation angle of the badge in degrees range of -180 ... 180")
 94 |         var angle: Int
    |             `- note: cannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'
 95 |
 96 |         func validate() throws {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift:132:27: error: extra argument 'default' in call
130 |         var options: Badgy.Options
131 |
132 |         @Option(default: .bottomLeft, help: "Position on which to place the badge. Supported positions: \(Position.allCases.formatted())")
    |                           `- error: extra argument 'default' in call
133 |         var position: Position
134 |
/Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift:132:27: error: cannot infer contextual base in reference to member 'bottomLeft'
130 |         var options: Badgy.Options
131 |
132 |         @Option(default: .bottomLeft, help: "Position on which to place the badge. Supported positions: \(Position.allCases.formatted())")
    |                           `- error: cannot infer contextual base in reference to member 'bottomLeft'
133 |         var position: Position
134 |
/Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift:124:12: error: type 'Badgy.Small' does not conform to protocol 'Decodable'
122 |
123 | extension Badgy {
124 |     struct Small: ParsableCommand {
    |            `- error: type 'Badgy.Small' does not conform to protocol 'Decodable'
125 |         static var configuration = CommandConfiguration(
126 |             abstract: "Add small square label to app icon"
    :
131 |
132 |         @Option(default: .bottomLeft, help: "Position on which to place the badge. Supported positions: \(Position.allCases.formatted())")
133 |         var position: Position
    |             `- note: cannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'
134 |
135 |         func validate() throws {
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Commands/Badgy.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Badgy/DependencyManager.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Helpers/ColorCode+Hex.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Helpers/ColorCode+Name.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Helpers/ColorCode.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Helpers/Factory+Resizer.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Helpers/Factory+Small.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Helpers/Factory.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Helpers/Foundation+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Helpers/Icon.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Helpers/IconSet.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Helpers/IconSignPipeline.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/IconSetDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Loggers/Logger.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Loggers/VerboseLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/Position.swift /Users/admin/builder/spi-builder-workspace/Sources/Badgy/main.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/Badgy.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/Badgy.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/Badgy.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/Badgy.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/DependencyManager.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/DependencyManager.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/DependencyManager.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/DependencyManager.dia -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/Badgy-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Badgy -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/badgy_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/Badgy.o -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/DependencyManager.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/Badgy.swiftmodule -index-unit-output-path /Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/Badgy.o -index-unit-output-path /Badgy.build/Debug/badgy-p.build/Objects-normal/arm64/DependencyManager.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm