The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VIPER, reference master (2c44cc), with Swift 6.4 for macOS (SPM) on 17 Sep 2026 19:57:32 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/thomverbeek/VIPER.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/thomverbeek/VIPER
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2c44cce Merge pull request #1 from thomverbeek/develop
Cloned https://github.com/thomverbeek/VIPER.git
Revision (git rev-parse @):
2c44cce00daf5bf99b0fbdf58fbc9fac3397f1fa
SUCCESS checkout https://github.com/thomverbeek/VIPER.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/thomverbeek/VIPER.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 154]
[Planning deferred tasks]
[36 / 68]
[38 / 70] ArgumentParserToolInfo
[42 / 74] ArgumentParserToolInfo
[49 / 75] VIPER
[57 / 109] ArgumentParser
[59 / 120]
[66 / 120]
[68 / 120]
[72 / 120]
[74 / 120]
[77 / 120]
[80 / 120]
[82 / 120]
[83 / 120]
[94 / 120] VIPER
[95 / 120] VIPER
[108 / 120] ArgumentParser-product
[111 / 121] ArgumentParser
[119 / 129] viper-tools-product
Fetching https://github.com/apple/swift-argument-parser
[1/18904] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.96s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (2.64s)
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
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/main.swift:41:23: error: extra argument 'default' in call
39 |     private var output: String
40 |
41 |     @Option(default: .iOS, help: "The OS for the generated module. [iOS,macOS,tvOS]")
   |                       `- error: extra argument 'default' in call
42 |     private var os: OperatingSystem
43 |
/Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/main.swift:41:23: error: cannot infer contextual base in reference to member 'iOS'
39 |     private var output: String
40 |
41 |     @Option(default: .iOS, help: "The OS for the generated module. [iOS,macOS,tvOS]")
   |                       `- error: cannot infer contextual base in reference to member 'iOS'
42 |     private var os: OperatingSystem
43 |
/Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/main.swift:44:6: error: referencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent
42 |     private var os: OperatingSystem
43 |
44 |     @Flag(help: "Don't create a new directory for generated files.")
   |      `- error: referencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent
45 |     private var excludeDirectory: Bool
46 |
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/VIPERCommandLine/main.swift:47:6: error: referencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent
45 |     private var excludeDirectory: Bool
46 |
47 |     @Flag(name: .shortAndLong, help: "Show extra logging for debugging purposes.")
   |      `- error: referencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent
48 |     private var verbose: Bool
49 |
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/VIPERCommandLine/main.swift:15:8: error: type 'Generate' does not conform to protocol 'Decodable'
13 | }
14 |
15 | struct Generate: ParsableCommand {
   |        `- error: type 'Generate' does not conform to protocol 'Decodable'
16 |
17 |     public static let configuration = CommandConfiguration(abstract: "Generate a module of VIPER components at a given file location.")
   :
40 |
41 |     @Option(default: .iOS, help: "The OS for the generated module. [iOS,macOS,tvOS]")
42 |     private var os: OperatingSystem
   |                 `- note: cannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'
43 |
44 |     @Flag(help: "Don't create a new directory for generated files.")
45 |     private var excludeDirectory: Bool
   |                 `- note: cannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'
46 |
47 |     @Flag(name: .shortAndLong, help: "Show extra logging for debugging purposes.")
48 |     private var verbose: Bool
   |                 `- note: cannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'
49 |
50 |     func run() 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 -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/Templates/Interactor.swift /Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/Templates/Module.swift /Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/Templates/Presenter.swift /Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/Templates/Router.swift /Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/Templates/Template.swift /Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/Templates/View.swift /Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/main.swift -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/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -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/VIPER.build/Debug/viper-tools-p.build/Objects-normal/arm64/VIPERCommandLine-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/VIPER.build/Debug/viper-tools-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VIPER.build/Debug/viper-tools-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VIPER.build/Debug/viper-tools-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name VIPERCommandLine -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VIPER.build/Debug/viper-tools-p.build/Objects-normal/arm64/viper-tools_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 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VIPER.build/Debug/viper-tools-p.build/Objects-normal/arm64/VIPERCommandLine.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VIPER.build/Debug/viper-tools-p.build/Objects-normal/arm64/VIPERCommandLine.swiftsourceinfo -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VIPER.build/Debug/viper-tools-p.build/Objects-normal/arm64/viper-tools-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VIPER.build/Debug/viper-tools-p.build/Objects-normal/arm64/viper-tools-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VIPER.build/Debug/viper-tools-p.build/Objects-normal/arm64/VIPERCommandLine.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VIPER.build/Debug/viper-tools-p.build/Objects-normal/arm64/VIPERCommandLine.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm