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 arm64Build 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: [1;31merror: [1;39mextra argument 'default' in call[0;0m
[0;36m39 |[0;0m private var output: String
[0;36m40 |[0;0m
[0;36m41 |[0;0m @Option(default: .iOS, help: "The OS for the generated module. [iOS,macOS,tvOS]")
[0;36m|[0;0m `- [1;31merror: [1;39mextra argument 'default' in call[0;0m
[0;36m42 |[0;0m private var os: OperatingSystem
[0;36m43 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/main.swift:41:23: [1;31merror: [1;39mcannot infer contextual base in reference to member 'iOS'[0;0m
[0;36m39 |[0;0m private var output: String
[0;36m40 |[0;0m
[0;36m41 |[0;0m @Option(default: [4;39m.iOS[0;0m, help: "The OS for the generated module. [iOS,macOS,tvOS]")
[0;36m|[0;0m `- [1;31merror: [1;39mcannot infer contextual base in reference to member 'iOS'[0;0m
[0;36m42 |[0;0m private var os: OperatingSystem
[0;36m43 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/main.swift:44:6: [1;31merror: [1;39mreferencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent[0;0m
[0;36m42 |[0;0m private var os: OperatingSystem
[0;36m43 |[0;0m
[0;36m44 |[0;0m @Flag(help: "Don't create a new directory for generated files.")
[0;36m|[0;0m `- [1;31merror: [1;39mreferencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent[0;0m
[0;36m45 |[0;0m private var excludeDirectory: Bool
[0;36m46 |[0;0m
ArgumentParser.Flag:1:11: [1;39mnote: [1;39mwhere 'Value' = 'Bool'[0;0m
[0;36m1 |[0;0m extension Flag where Value == Int {
[0;36m|[0;0m `- [1;39mnote: [1;39mwhere 'Value' = 'Bool'[0;0m
[0;36m2 |[0;0m public init(name: ArgumentParser.NameSpecification = .long, help: ArgumentParser.ArgumentHelp? = nil)
[0;36m3 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/main.swift:47:6: [1;31merror: [1;39mreferencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent[0;0m
[0;36m45 |[0;0m private var excludeDirectory: Bool
[0;36m46 |[0;0m
[0;36m47 |[0;0m @Flag(name: .shortAndLong, help: "Show extra logging for debugging purposes.")
[0;36m|[0;0m `- [1;31merror: [1;39mreferencing initializer 'init(name:help:)' on 'Flag' requires the types 'Bool' and 'Int' be equivalent[0;0m
[0;36m48 |[0;0m private var verbose: Bool
[0;36m49 |[0;0m
ArgumentParser.Flag:1:11: [1;39mnote: [1;39mwhere 'Value' = 'Bool'[0;0m
[0;36m1 |[0;0m extension Flag where Value == Int {
[0;36m|[0;0m `- [1;39mnote: [1;39mwhere 'Value' = 'Bool'[0;0m
[0;36m2 |[0;0m public init(name: ArgumentParser.NameSpecification = .long, help: ArgumentParser.ArgumentHelp? = nil)
[0;36m3 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/VIPERCommandLine/main.swift:15:8: [1;31merror: [1;39mtype 'Generate' does not conform to protocol 'Decodable'[0;0m
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m struct Generate: ParsableCommand {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'Generate' does not conform to protocol 'Decodable'[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m public static let configuration = CommandConfiguration(abstract: "Generate a module of VIPER components at a given file location.")
[0;36m:[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m @Option(default: .iOS, help: "The OS for the generated module. [iOS,macOS,tvOS]")
[0;36m42 |[0;0m private var os: OperatingSystem
[0;36m|[0;0m `- [1;39mnote: [1;39mcannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'[0;0m
[0;36m43 |[0;0m
[0;36m44 |[0;0m @Flag(help: "Don't create a new directory for generated files.")
[0;36m45 |[0;0m private var excludeDirectory: Bool
[0;36m|[0;0m `- [1;39mnote: [1;39mcannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'[0;0m
[0;36m46 |[0;0m
[0;36m47 |[0;0m @Flag(name: .shortAndLong, help: "Show extra logging for debugging purposes.")
[0;36m48 |[0;0m private var verbose: Bool
[0;36m|[0;0m `- [1;39mnote: [1;39mcannot automatically synthesize 'Decodable' because '_' does not conform to 'Decodable'[0;0m
[0;36m49 |[0;0m
[0;36m50 |[0;0m func run() throws {
Swift.Decodable.init:2:1: [1;39mnote: [1;39mprotocol requires initializer 'init(from:)' with type 'Decodable'[0;0m
[0;36m1 |[0;0m protocol Decodable {
[0;36m2 |[0;0m init(from decoder: any Decoder) throws}
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires initializer 'init(from:)' with type 'Decodable'[0;0m
[0;36m3 |[0;0m
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