The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build VIPER, reference master (2c44cc), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 01:50:50 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/thomverbeek/VIPER.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[2/9] Write viper-tools-entitlement.plist
[5/9] Write swift-version-1EA4D86E10B52AF.txt
[7/13] Emitting module ArgumentParserToolInfo
[8/13] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/48] Emitting module ArgumentParser
[10/51] Compiling ArgumentParser Argument.swift
[11/51] Compiling ArgumentParser ArgumentHelp.swift
[12/51] Compiling ArgumentParser CompletionKind.swift
[13/51] Compiling ArgumentParser Errors.swift
[14/51] Compiling ArgumentParser CommandConfiguration.swift
[15/51] Compiling ArgumentParser EnumerableFlag.swift
[16/51] Compiling ArgumentParser ExpressibleByArgument.swift
[17/51] Compiling ArgumentParser ParsableArguments.swift
[18/51] Compiling ArgumentParser ParsableArgumentsValidation.swift
[19/51] Compiling ArgumentParser ParsableCommand.swift
[20/51] Compiling ArgumentParser ArgumentDecoder.swift
[21/51] Compiling ArgumentParser ArgumentDefinition.swift
[22/51] Compiling ArgumentParser Flag.swift
[23/51] Compiling ArgumentParser NameSpecification.swift
[24/51] Compiling ArgumentParser Option.swift
[25/51] Compiling ArgumentParser OptionGroup.swift
[26/51] Compiling ArgumentParser SequenceExtensions.swift
[27/51] Compiling ArgumentParser StringExtensions.swift
[28/51] Compiling ArgumentParser Tree.swift
[29/51] Compiling ArgumentParser Parsed.swift
[30/51] Compiling ArgumentParser ParsedValues.swift
[31/51] Compiling ArgumentParser ParserError.swift
[32/51] Compiling ArgumentParser SplitArguments.swift
[33/51] Compiling VIPER VIPER.swift
/Users/admin/builder/spi-builder-workspace/Sources/VIPER/VIPER.swift:43:41: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 41 |
 42 |     func send(_ userInteraction: UserInteraction) {
 43 |         (objc_getAssociatedObject(self, &presenterKey) as? (UserInteraction) -> Void)?(userInteraction)
    |                                         `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 44 |     }
 45 |
/Users/admin/builder/spi-builder-workspace/Sources/VIPER/VIPER.swift:101:41: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 99 |
100 |     func send(_ useCase: UseCase) {
101 |         (objc_getAssociatedObject(self, &interactorKey) as? (UseCase) -> Void)?(useCase)
    |                                         `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
102 |     }
103 |
/Users/admin/builder/spi-builder-workspace/Sources/VIPER/VIPER.swift:105:41: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
103 |
104 |     func send(_ navigation: Navigation) {
105 |         (objc_getAssociatedObject(self, &routerKey) as? (Navigation) -> Void)?(navigation)
    |                                         `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
106 |     }
107 |
/Users/admin/builder/spi-builder-workspace/Sources/VIPER/VIPER.swift:195:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
193 |
194 |     var view: View? {
195 |         objc_getAssociatedObject(self, &viewKey) as? View
    |                                        `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
196 |     }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/VIPER/VIPER.swift:256:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
254 |         let view = View(viewModel: presenter.viewModel)
255 |
256 |         objc_setAssociatedObject(view, &presenterKey, { [presenter] userInteraction in
    |                                        `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
257 |             presenter.receive(userInteraction: userInteraction)
258 |         }, .OBJC_ASSOCIATION_RETAIN)
/Users/admin/builder/spi-builder-workspace/Sources/VIPER/VIPER.swift:260:45: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
258 |         }, .OBJC_ASSOCIATION_RETAIN)
259 |
260 |         objc_setAssociatedObject(presenter, &interactorKey, { [interactor] useCase in
    |                                             `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
261 |             interactor.receive(useCase: useCase)
262 |         }, .OBJC_ASSOCIATION_RETAIN)
/Users/admin/builder/spi-builder-workspace/Sources/VIPER/VIPER.swift:264:45: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
262 |         }, .OBJC_ASSOCIATION_RETAIN)
263 |
264 |         objc_setAssociatedObject(presenter, &routerKey, { [router] navigation in
    |                                             `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
265 |             router.receive(navigation: navigation)
266 |         }, .OBJC_ASSOCIATION_RETAIN)
/Users/admin/builder/spi-builder-workspace/Sources/VIPER/VIPER.swift:268:42: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
266 |         }, .OBJC_ASSOCIATION_RETAIN)
267 |
268 |         objc_setAssociatedObject(router, &viewKey, view, .OBJC_ASSOCIATION_ASSIGN)
    |                                          `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
269 |
270 |         router.configure(view: view)
[34/51] Emitting module VIPER
[35/51] Compiling ArgumentParser MessageInfo.swift
[36/51] Compiling ArgumentParser UsageGenerator.swift
[37/51] Compiling ArgumentParser CollectionExtensions.swift
[38/51] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/51] Compiling ArgumentParser CompletionsGenerator.swift
[40/51] Compiling ArgumentParser FishCompletionsGenerator.swift
[41/51] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/51] Compiling ArgumentParser ArgumentSet.swift
[43/51] Compiling ArgumentParser CommandParser.swift
[44/51] Compiling ArgumentParser InputOrigin.swift
[45/51] Compiling ArgumentParser Name.swift
[46/51] Compiling ArgumentParser DumpHelpGenerator.swift
[47/51] Compiling ArgumentParser HelpCommand.swift
[48/51] Compiling ArgumentParser HelpGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/59] Compiling VIPERCommandLine Presenter.swift
[50/59] Compiling VIPERCommandLine Module.swift
[51/59] Compiling VIPERCommandLine Interactor.swift
[52/59] Compiling VIPERCommandLine Router.swift
[53/59] Compiling VIPERCommandLine View.swift
[54/59] Emitting module VIPERCommandLine
/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 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Flag.swift:298:1: note: where 'Value' = 'Bool'
296 | }
297 |
298 | extension Flag where Value == Int {
    | `- note: where 'Value' = 'Bool'
299 |   /// Creates an integer property that gets its value from the number of times
300 |   /// a flag appears.
/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 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Flag.swift:298:1: note: where 'Value' = 'Bool'
296 | }
297 |
298 | extension Flag where Value == Int {
    | `- note: where 'Value' = 'Bool'
299 |   /// Creates an integer property that gets its value from the number of times
300 |   /// a flag appears.
/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 '<<error type>>' 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 '<<error type>>' 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 '<<error type>>' 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 |
[55/59] Compiling VIPERCommandLine Template.swift
[56/59] Compiling VIPERCommandLine main.swift
/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 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Flag.swift:298:1: note: where 'Value' = 'Bool'
296 | }
297 |
298 | extension Flag where Value == Int {
    | `- note: where 'Value' = 'Bool'
299 |   /// Creates an integer property that gets its value from the number of times
300 |   /// a flag appears.
/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 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Flag.swift:298:1: note: where 'Value' = 'Bool'
296 | }
297 |
298 | extension Flag where Value == Int {
    | `- note: where 'Value' = 'Bool'
299 |   /// Creates an integer property that gets its value from the number of times
300 |   /// a flag appears.
/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 '<<error type>>' 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 '<<error type>>' 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 '<<error type>>' 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 |
Fetching https://github.com/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (2.10s)
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
BUILD FAILURE 6.2 macosSpm