The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMockk, reference main (2b52c7), with Swift 6.3 for Wasm on 18 Apr 2026 01:18:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TheRogue76/SwiftMockk.git
Reference: main
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/TheRogue76/SwiftMockk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2b52c78 Update README with Xcode integration instructions
Cloned https://github.com/TheRogue76/SwiftMockk.git
Revision (git rev-parse @):
2b52c78600b70b7ab1f5a29140c3b69794c4198b
SUCCESS checkout https://github.com/TheRogue76/SwiftMockk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/TheRogue76/SwiftMockk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
[1/17529] Fetching swift-argument-parser
[4384/92512] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (5.03s)
Fetched https://github.com/apple/swift-syntax from cache (5.08s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 600.0.1 (8.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.86s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 600.0.1
[0/22] Write sources
[9/22] Compiling _SwiftSyntaxCShims dummy.c
[10/22] Write swift-version-24593BA9C3E375BF.txt
[12/30] Emitting module SwiftSyntax600
[13/30] Emitting module SwiftSyntax509
[14/30] Compiling SwiftSyntax509 Empty.swift
[16/31] Emitting module SwiftSyntax510
[17/31] Compiling SwiftSyntax510 Empty.swift
[18/31] Compiling SwiftSyntax600 Empty.swift
[20/33] Wrapping AST for SwiftSyntax509 for debugging
[21/33] Wrapping AST for SwiftSyntax600 for debugging
[22/33] Wrapping AST for SwiftSyntax510 for debugging
[24/97] Emitting module ArgumentParserToolInfo
[25/97] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/98] Wrapping AST for ArgumentParserToolInfo for debugging
[28/144] Compiling ArgumentParser BashCompletionsGenerator.swift
[29/144] Compiling ArgumentParser CompletionsGenerator.swift
[30/144] Compiling ArgumentParser FishCompletionsGenerator.swift
[31/144] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/144] Compiling ArgumentParser Argument.swift
[33/144] Compiling ArgumentParser ArgumentDiscussion.swift
[34/144] Compiling ArgumentParser ArgumentHelp.swift
[35/144] Compiling ArgumentParser ArgumentVisibility.swift
[36/144] Compiling ArgumentParser CompletionKind.swift
[37/152] Compiling SwiftSyntax MemoryLayout.swift
[38/152] Compiling SwiftSyntax MissingNodeInitializers.swift
[39/152] Compiling SwiftSyntax RawSyntax.swift
[40/152] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[41/152] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[42/152] Compiling SwiftSyntax RawSyntaxTokenView.swift
[43/152] Compiling SwiftSyntax SourceEdit.swift
[44/152] Compiling SwiftSyntax SourceLength.swift
[45/152] Compiling SwiftSyntax SourceLocation.swift
[46/152] Emitting module ArgumentParser
[49/158] Compiling ArgumentParser Errors.swift
[50/158] Compiling ArgumentParser Flag.swift
[51/158] Compiling ArgumentParser NameSpecification.swift
[52/158] Compiling ArgumentParser Option.swift
[53/158] Compiling ArgumentParser OptionGroup.swift
[54/158] Compiling ArgumentParser Mutex.swift
[55/158] Compiling ArgumentParser Platform.swift
[56/158] Compiling ArgumentParser SequenceExtensions.swift
[57/158] Compiling ArgumentParser StringExtensions.swift
[58/158] Compiling ArgumentParser SwiftExtensions.swift
[59/158] Compiling ArgumentParser ParentCommand.swift
[60/158] Compiling ArgumentParser AsyncParsableCommand.swift
[61/158] Compiling ArgumentParser CommandConfiguration.swift
[62/158] Compiling ArgumentParser CommandGroup.swift
[63/158] Compiling ArgumentParser EnumerableFlag.swift
[64/158] Compiling ArgumentParser ExpressibleByArgument.swift
[65/158] Compiling ArgumentParser ParsableArguments.swift
[66/158] Compiling ArgumentParser DumpHelpGenerator.swift
[67/158] Compiling ArgumentParser HelpCommand.swift
[68/158] Compiling ArgumentParser HelpGenerator.swift
[69/158] Compiling ArgumentParser MessageInfo.swift
[70/158] Compiling ArgumentParser UsageGenerator.swift
[71/158] Compiling ArgumentParser CollectionExtensions.swift
[72/158] Compiling ArgumentParser InputOrigin.swift
[73/158] Compiling ArgumentParser Name.swift
[74/158] Compiling ArgumentParser Parsed.swift
[75/158] Compiling ArgumentParser ParsedValues.swift
[76/158] Compiling ArgumentParser ParserError.swift
[77/158] Compiling ArgumentParser SplitArguments.swift
[78/158] Compiling ArgumentParser Tree.swift
[79/158] Compiling ArgumentParser CodingKeyValidator.swift
[80/158] Compiling ArgumentParser NonsenseFlagsValidator.swift
[81/158] Compiling ArgumentParser ParsableArgumentsValidation.swift
[82/158] Compiling ArgumentParser PositionalArgumentsValidator.swift
[83/158] Compiling ArgumentParser UniqueNamesValidator.swift
[84/158] Compiling ArgumentParser Foundation.swift
[110/158] Compiling ArgumentParser ParsableCommand.swift
[111/158] Compiling ArgumentParser ArgumentDecoder.swift
[112/158] Compiling ArgumentParser ArgumentDefinition.swift
[113/158] Compiling ArgumentParser ArgumentSet.swift
[114/158] Compiling ArgumentParser CommandParser.swift
[115/158] Compiling ArgumentParser InputKey.swift
[116/159] Wrapping AST for ArgumentParser for debugging
[118/159] Emitting module SwiftSyntax
[119/159] Compiling SwiftSyntax SyntaxKind.swift
[120/159] Compiling SwiftSyntax SyntaxRewriter.swift
[121/159] Compiling SwiftSyntax SyntaxTraits.swift
[122/159] Compiling SwiftSyntax SyntaxVisitor.swift
[123/159] Compiling SwiftSyntax TokenKind.swift
[124/159] Compiling SwiftSyntax Tokens.swift
[125/159] Compiling SwiftSyntax TriviaPieces.swift
[126/159] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[127/159] Compiling SwiftSyntax RawSyntaxNodesC.swift
[146/159] Compiling SwiftSyntax SyntaxNodesC.swift
[147/159] Compiling SwiftSyntax SyntaxNodesD.swift
[148/159] Compiling SwiftSyntax SyntaxNodesEF.swift
[149/159] Compiling SwiftSyntax SyntaxNodesGHI.swift
[150/159] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[151/159] Compiling SwiftSyntax SyntaxNodesOP.swift
[152/159] Compiling SwiftSyntax SyntaxNodesQRS.swift
[153/159] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[154/160] Wrapping AST for SwiftSyntax for debugging
[156/201] Compiling SwiftParser LexemeSequence.swift
[157/201] Compiling SwiftParser Lexer.swift
[158/201] Compiling SwiftParser RegexLiteralLexer.swift
[159/201] Compiling SwiftParser UnicodeScalarExtensions.swift
[160/201] Compiling SwiftParser Lookahead.swift
[161/201] Compiling SwiftParser LoopProgressCondition.swift
[162/206] Compiling SwiftParser Modifiers.swift
[163/206] Compiling SwiftParser Names.swift
[164/206] Compiling SwiftParser Nominals.swift
[165/206] Compiling SwiftParser Parameters.swift
[166/206] Compiling SwiftParser ParseSourceFile.swift
[167/206] Compiling SwiftParser Parser.swift
[168/206] Emitting module SwiftParser
[169/206] Compiling SwiftParser Patterns.swift
[170/206] Compiling SwiftParser Recovery.swift
[171/206] Compiling SwiftParser Specifiers.swift
[172/206] Compiling SwiftParser Statements.swift
[173/206] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[174/206] Compiling SwiftParser StringLiterals.swift
[175/206] Compiling SwiftParser SwiftParserCompatibility.swift
[176/206] Compiling SwiftParser SwiftVersion.swift
[177/206] Compiling SwiftParser SyntaxUtils.swift
[178/206] Compiling SwiftParser TokenConsumer.swift
[179/206] Compiling SwiftParser TokenPrecedence.swift
[180/206] Compiling SwiftParser TokenSpec.swift
[181/206] Compiling SwiftParser TokenSpecSet.swift
[182/206] Compiling SwiftParser TopLevel.swift
[183/206] Compiling SwiftParser TriviaParser.swift
[184/206] Compiling SwiftParser Types.swift
[185/206] Compiling SwiftParser Attributes.swift
[186/206] Compiling SwiftParser Availability.swift
[187/206] Compiling SwiftParser CharacterInfo.swift
[188/206] Compiling SwiftParser CollectionNodes+Parsable.swift
[189/206] Compiling SwiftParser Declarations.swift
[190/206] Compiling SwiftParser Directives.swift
[191/206] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[192/206] Compiling SwiftParser Expressions.swift
[193/206] Compiling SwiftParser IncrementalParseTransition.swift
[194/206] Compiling SwiftParser IsValidIdentifier.swift
[195/206] Compiling SwiftParser Cursor.swift
[196/206] Compiling SwiftParser Lexeme.swift
[197/206] Compiling SwiftParser ExperimentalFeatures.swift
[198/206] Compiling SwiftParser IsLexerClassified.swift
[199/206] Compiling SwiftParser LayoutNodes+Parsable.swift
[200/206] Compiling SwiftParser Parser+TokenSpecSet.swift
[201/206] Compiling SwiftParser TokenSpecStaticMembers.swift
[202/207] Wrapping AST for SwiftParser for debugging
[204/213] Compiling SwiftMockkCore SwiftMockkCore.swift
[205/213] Compiling SwiftMockkCore ProtocolParser.swift
[206/213] Compiling SwiftMockkCore ProtocolScanner.swift
[207/213] Compiling SwiftMockkCore ProtocolInfo.swift
[208/213] Emitting module SwiftMockkCore
[209/213] Compiling SwiftMockkCore MockGenerator.swift
[210/214] Wrapping AST for SwiftMockkCore for debugging
[212/216] Compiling SwiftMockkGenerator SwiftMockkGenerator.swift
[213/216] Emitting module SwiftMockkGenerator
[214/217] Wrapping AST for SwiftMockkGenerator for debugging
[215/217] Write Objects.LinkFileList
[216/217] Linking SwiftMockkGenerator-tool
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:19:35: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
 17 |         inputDirectories.append(sourceTarget.directory)
 18 |         for file in sourceTarget.sourceFiles {
 19 |             let pathString = file.path.string
    |                                   |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                                   `- note: use 'url' instead
 20 |             if pathString.hasSuffix(".swift") {
 21 |                 inputFiles.append(file.path)
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:19:40: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 17 |         inputDirectories.append(sourceTarget.directory)
 18 |         for file in sourceTarget.sourceFiles {
 19 |             let pathString = file.path.string
    |                                        `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 20 |             if pathString.hasSuffix(".swift") {
 21 |                 inputFiles.append(file.path)
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:21:40: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
 19 |             let pathString = file.path.string
 20 |             if pathString.hasSuffix(".swift") {
 21 |                 inputFiles.append(file.path)
    |                                        |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                                        `- note: use 'url' instead
 22 |             }
 23 |         }
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:33:47: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
 31 |                     // Collect all Swift source files as inputs for incremental builds
 32 |                     for file in sourceModule.sourceFiles {
 33 |                         let pathString = file.path.string
    |                                               |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                                               `- note: use 'url' instead
 34 |                         if pathString.hasSuffix(".swift") {
 35 |                             inputFiles.append(file.path)
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:33:52: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 31 |                     // Collect all Swift source files as inputs for incremental builds
 32 |                     for file in sourceModule.sourceFiles {
 33 |                         let pathString = file.path.string
    |                                                    `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 34 |                         if pathString.hasSuffix(".swift") {
 35 |                             inputFiles.append(file.path)
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:35:52: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
 33 |                         let pathString = file.path.string
 34 |                         if pathString.hasSuffix(".swift") {
 35 |                             inputFiles.append(file.path)
    |                                                    |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                                                    `- note: use 'url' instead
 36 |                         }
 37 |                     }
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:57:34: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
 55 |
 56 |         // Output file in the plugin's working directory
 57 |         let outputFile = context.pluginWorkDirectory.appending("GeneratedMocks.swift")
    |                                  |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
    |                                  `- note: use 'pluginWorkDirectoryURL' instead
 58 |
 59 |         // Determine the module name from the first dependency
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:57:54: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 55 |
 56 |         // Output file in the plugin's working directory
 57 |         let outputFile = context.pluginWorkDirectory.appending("GeneratedMocks.swift")
    |                                                      `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 58 |
 59 |         // Determine the module name from the first dependency
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:74:64: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 72 |         // Add input directories
 73 |         arguments.append("--input")
 74 |         arguments.append(contentsOf: inputDirectories.map { $0.string })
    |                                                                `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 75 |
 76 |         // Add output file
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:78:37: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 76 |         // Add output file
 77 |         arguments.append("--output")
 78 |         arguments.append(outputFile.string)
    |                                     `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 79 |
 80 |         // Add module name if available
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:87:14: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 85 |
 86 |         return [
 87 |             .buildCommand(
    |              `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 88 |                 displayName: "Generate SwiftMockk Mocks",
 89 |                 executable: generator.path,
/host/spi-builder-workspace/Plugins/SwiftMockkGeneratorPlugin/SwiftMockkGeneratorPlugin.swift:89:39: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
 87 |             .buildCommand(
 88 |                 displayName: "Generate SwiftMockk Mocks",
 89 |                 executable: generator.path,
    |                                       |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                                       `- note: use 'url' instead
 90 |                 arguments: arguments,
 91 |                 inputFiles: inputFiles,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin SwiftMockkGeneratorPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/47] Write sources
[22/47] Compiling _SwiftSyntaxCShims dummy.c
[24/47] Write swift-version-24593BA9C3E375BF.txt
[25/55] Wrapping AST for SwiftSyntax509 for debugging
[27/67] Emitting module SwiftSyntax509
[27/67] Wrapping AST for SwiftSyntax510 for debugging
[28/67] Wrapping AST for SwiftSyntax600 for debugging
[29/67] Wrapping AST for ArgumentParserToolInfo for debugging
[31/67] Emitting module ArgumentParserToolInfo
[31/67] Wrapping AST for ArgumentParser for debugging
[32/67] Wrapping AST for SwiftSyntax for debugging
[33/67] Wrapping AST for SwiftParser for debugging
[34/67] Wrapping AST for SwiftMockkCore for debugging
[35/67] Wrapping AST for SwiftMockkGenerator for debugging
[36/67] Write Objects.LinkFileList
[37/67] Linking SwiftMockkGenerator-tool
[39/67] Compiling SwiftSyntax509 Empty.swift
[41/68] Emitting module SwiftSyntax510
[42/68] Compiling SwiftSyntax510 Empty.swift
[43/69] Wrapping AST for SwiftSyntax509 for debugging
[45/69] Emitting module SwiftMockk
[46/70] Emitting module SwiftSyntax600
[47/70] Compiling SwiftSyntax600 Empty.swift
[47/71] Wrapping AST for SwiftSyntax510 for debugging
[49/71] Wrapping AST for SwiftSyntax600 for debugging
[51/71] Compiling ArgumentParserToolInfo ToolInfo.swift
[52/136] Wrapping AST for ArgumentParserToolInfo for debugging
[54/157] Compiling SwiftMockk SwiftMockk.swift
[55/182] Compiling ArgumentParser BashCompletionsGenerator.swift
[56/182] Compiling ArgumentParser CompletionsGenerator.swift
[57/182] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/Sources/SwiftMockk/Matchers/MatcherRegistry.swift:17:33: error: cannot find 'Thread' in scope
15 |         // Use the current thread as a proxy for task identity
16 |         // This works because each test task runs on its own execution context
17 |         return ObjectIdentifier(Thread.current)
   |                                 `- error: cannot find 'Thread' in scope
18 |     }
19 |
[58/182] Compiling ArgumentParser ArgumentDiscussion.swift
/host/spi-builder-workspace/Sources/SwiftMockk/Matchers/MatcherRegistry.swift:17:33: error: cannot find 'Thread' in scope
15 |         // Use the current thread as a proxy for task identity
16 |         // This works because each test task runs on its own execution context
17 |         return ObjectIdentifier(Thread.current)
   |                                 `- error: cannot find 'Thread' in scope
18 |     }
19 |
[59/182] Compiling ArgumentParser FishCompletionsGenerator.swift
[60/182] Compiling ArgumentParser ZshCompletionsGenerator.swift
[61/182] Compiling SwiftMockk StubbingRegistry.swift
[62/182] Compiling SwiftMockk MockRegistry.swift
[63/182] Compiling ArgumentParser ArgumentHelp.swift
[64/182] Compiling ArgumentParser ArgumentVisibility.swift
[65/182] Compiling SwiftMockk RecordingContext.swift
BUILD FAILURE 6.3 wasm