Build Information
Failed to build SwiftMockk, reference 0.6.0 (5e5a61), with Swift 6.2 for Wasm on 1 Jan 2026 15:51:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TheRogue76/SwiftMockk.git
Reference: 0.6.0
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
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at 5e5a611 Remove reference to Mockable from acknowledgments
Cloned https://github.com/TheRogue76/SwiftMockk.git
Revision (git rev-parse @):
5e5a61110b4531e37d57bcdf71f8839b5d34d446
SUCCESS checkout https://github.com/TheRogue76/SwiftMockk.git at 0.6.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/TheRogue76/SwiftMockk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax
[1/16987] Fetching swift-argument-parser
[16988/90241] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
[8791/73254] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (8.09s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 600.0.1 (11.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.43s)
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.0
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.67s)
[0/22] Write sources
[9/22] Compiling _SwiftSyntaxCShims dummy.c
[10/22] Write swift-version-24593BA9C3E375BF.txt
[12/30] Emitting module SwiftSyntax600
[13/30] Compiling SwiftSyntax600 Empty.swift
[15/31] Compiling SwiftSyntax510 Empty.swift
[16/31] Emitting module SwiftSyntax510
[16/32] Wrapping AST for SwiftSyntax600 for debugging
[18/32] Wrapping AST for SwiftSyntax510 for debugging
[20/32] Compiling SwiftSyntax509 Empty.swift
[21/32] Emitting module SwiftSyntax509
[23/33] Emitting module ArgumentParserToolInfo
[24/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/34] Wrapping AST for SwiftSyntax509 for debugging
[26/34] Wrapping AST for ArgumentParserToolInfo for debugging
[28/144] Compiling ArgumentParser Foundation.swift
[29/144] Compiling ArgumentParser Mutex.swift
[30/144] Compiling ArgumentParser Platform.swift
[31/144] Compiling ArgumentParser SequenceExtensions.swift
[32/144] Compiling ArgumentParser StringExtensions.swift
[33/144] Compiling ArgumentParser SwiftExtensions.swift
[34/150] Compiling ArgumentParser InputOrigin.swift
[35/150] Compiling ArgumentParser Name.swift
[36/150] Compiling ArgumentParser Parsed.swift
[37/150] Compiling ArgumentParser ParsedValues.swift
[38/150] Compiling ArgumentParser ParserError.swift
[39/150] Compiling ArgumentParser SplitArguments.swift
[40/150] Compiling ArgumentParser DumpHelpGenerator.swift
[41/150] Compiling ArgumentParser HelpCommand.swift
[42/150] Compiling ArgumentParser HelpGenerator.swift
[43/150] Compiling ArgumentParser MessageInfo.swift
[44/150] Compiling ArgumentParser UsageGenerator.swift
[45/150] Compiling ArgumentParser CollectionExtensions.swift
[46/150] Compiling ArgumentParser BashCompletionsGenerator.swift
[47/150] Compiling ArgumentParser CompletionsGenerator.swift
[48/150] Compiling ArgumentParser FishCompletionsGenerator.swift
[49/150] Compiling ArgumentParser ZshCompletionsGenerator.swift
[50/150] Compiling ArgumentParser Argument.swift
[51/150] Compiling ArgumentParser ArgumentDiscussion.swift
[52/150] Compiling ArgumentParser ArgumentHelp.swift
[53/150] Emitting module ArgumentParser
[54/150] Compiling ArgumentParser Tree.swift
[55/150] Compiling ArgumentParser CodingKeyValidator.swift
[56/150] Compiling ArgumentParser NonsenseFlagsValidator.swift
[57/150] Compiling ArgumentParser ParsableArgumentsValidation.swift
[58/150] Compiling ArgumentParser PositionalArgumentsValidator.swift
[59/150] Compiling ArgumentParser UniqueNamesValidator.swift
[60/150] Compiling ArgumentParser ParsableCommand.swift
[61/150] Compiling ArgumentParser ArgumentDecoder.swift
[62/150] Compiling ArgumentParser ArgumentDefinition.swift
[63/150] Compiling ArgumentParser ArgumentSet.swift
[64/150] Compiling ArgumentParser CommandParser.swift
[65/150] Compiling ArgumentParser InputKey.swift
[66/150] Compiling ArgumentParser ParentCommand.swift
[67/150] Compiling ArgumentParser AsyncParsableCommand.swift
[68/150] Compiling ArgumentParser CommandConfiguration.swift
[69/150] Compiling ArgumentParser CommandGroup.swift
[70/150] Compiling ArgumentParser EnumerableFlag.swift
[71/150] Compiling ArgumentParser ExpressibleByArgument.swift
[72/150] Compiling ArgumentParser ParsableArguments.swift
[73/150] Compiling ArgumentParser ArgumentVisibility.swift
[74/150] Compiling ArgumentParser CompletionKind.swift
[75/150] Compiling ArgumentParser Errors.swift
[76/150] Compiling ArgumentParser Flag.swift
[77/150] Compiling ArgumentParser NameSpecification.swift
[78/150] Compiling ArgumentParser Option.swift
[79/150] Compiling ArgumentParser OptionGroup.swift
[80/151] Wrapping AST for ArgumentParser for debugging
[88/151] Compiling SwiftSyntax TriviaPieces.swift
[89/151] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[90/151] Compiling SwiftSyntax RawSyntaxNodesC.swift
[91/151] Compiling SwiftSyntax RawSyntaxNodesD.swift
[92/151] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[93/151] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[94/151] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[95/151] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[96/151] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[97/151] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[98/151] Compiling SwiftSyntax RawSyntaxValidation.swift
[99/151] Compiling SwiftSyntax SyntaxNodesAB.swift
[127/159] Emitting module SwiftSyntax
[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 Modifiers.swift
[157/201] Compiling SwiftParser Names.swift
[158/201] Compiling SwiftParser Nominals.swift
[159/201] Compiling SwiftParser Parameters.swift
[160/201] Compiling SwiftParser ParseSourceFile.swift
[161/201] Compiling SwiftParser Parser.swift
[162/206] Compiling SwiftParser LexemeSequence.swift
[163/206] Compiling SwiftParser Lexer.swift
[164/206] Compiling SwiftParser RegexLiteralLexer.swift
[165/206] Compiling SwiftParser UnicodeScalarExtensions.swift
[166/206] Compiling SwiftParser Lookahead.swift
[167/206] Compiling SwiftParser LoopProgressCondition.swift
[168/206] Compiling SwiftParser SwiftParserCompatibility.swift
[169/206] Compiling SwiftParser SwiftVersion.swift
[170/206] Compiling SwiftParser SyntaxUtils.swift
[171/206] Compiling SwiftParser TokenConsumer.swift
[172/206] Compiling SwiftParser TokenPrecedence.swift
[173/206] Compiling SwiftParser TokenSpec.swift
[174/206] Compiling SwiftParser TokenSpecSet.swift
[175/206] Compiling SwiftParser TopLevel.swift
[176/206] Compiling SwiftParser TriviaParser.swift
[177/206] Compiling SwiftParser Types.swift
[178/206] Compiling SwiftParser Patterns.swift
[179/206] Compiling SwiftParser Recovery.swift
[180/206] Compiling SwiftParser Specifiers.swift
[181/206] Compiling SwiftParser Statements.swift
[182/206] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[183/206] Compiling SwiftParser StringLiterals.swift
[184/206] Compiling SwiftParser Attributes.swift
[185/206] Compiling SwiftParser Availability.swift
[186/206] Compiling SwiftParser CharacterInfo.swift
[187/206] Compiling SwiftParser CollectionNodes+Parsable.swift
[188/206] Compiling SwiftParser Declarations.swift
[189/206] Compiling SwiftParser Directives.swift
[190/206] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[191/206] Compiling SwiftParser Expressions.swift
[192/206] Compiling SwiftParser IncrementalParseTransition.swift
[193/206] Compiling SwiftParser IsValidIdentifier.swift
[194/206] Compiling SwiftParser Cursor.swift
[195/206] Compiling SwiftParser Lexeme.swift
[196/206] Emitting module SwiftParser
[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] Emitting module SwiftMockkCore
[205/213] Compiling SwiftMockkCore ProtocolParser.swift
[206/213] Compiling SwiftMockkCore ProtocolInfo.swift
[207/213] Compiling SwiftMockkCore SwiftMockkCore.swift
[208/213] Compiling SwiftMockkCore ProtocolScanner.swift
[209/213] Compiling SwiftMockkCore MockGenerator.swift
[210/214] Wrapping AST for SwiftMockkCore for debugging
[212/216] Emitting module SwiftMockkGenerator
[213/216] Compiling SwiftMockkGenerator SwiftMockkGenerator.swift
[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 SwiftSyntax600 for debugging
[26/67] Wrapping AST for SwiftSyntax510 for debugging
[27/67] Wrapping AST for SwiftSyntax509 for debugging
[28/67] Wrapping AST for ArgumentParserToolInfo for debugging
[29/67] Wrapping AST for ArgumentParser for debugging
[30/67] Wrapping AST for SwiftSyntax for debugging
[31/67] Wrapping AST for SwiftParser for debugging
[32/67] Wrapping AST for SwiftMockkCore for debugging
[34/67] Emitting module SwiftMockk
[34/68] Wrapping AST for SwiftMockkGenerator for debugging
[35/68] Write Objects.LinkFileList
[36/68] Linking SwiftMockkGenerator-tool
[38/68] Compiling SwiftMockk SwiftMockk.swift
[39/68] Emitting module SwiftSyntax509
[40/68] Compiling SwiftSyntax509 Empty.swift
[41/69] Compiling SwiftSyntax600 Empty.swift
[42/69] Emitting module SwiftSyntax600
[45/70] Emitting module SwiftSyntax510
[45/70] Wrapping AST for SwiftSyntax509 for debugging
[46/70] Compiling SwiftSyntax510 Empty.swift
[47/70] Wrapping AST for SwiftSyntax600 for debugging
[49/71] Wrapping AST for SwiftSyntax510 for debugging
[51/135] Compiling ArgumentParserToolInfo ToolInfo.swift
[52/135] Emitting module ArgumentParserToolInfo
[53/136] Wrapping AST for ArgumentParserToolInfo for debugging
[55/182] Compiling ArgumentParser BashCompletionsGenerator.swift
[56/182] Compiling ArgumentParser CompletionsGenerator.swift
[57/182] Compiling ArgumentParser FishCompletionsGenerator.swift
[58/182] Compiling ArgumentParser ZshCompletionsGenerator.swift
[59/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 |
[60/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 |
[61/182] Compiling ArgumentParser ArgumentHelp.swift
[62/182] Compiling ArgumentParser ArgumentVisibility.swift
[63/182] Compiling SwiftMockk MockRegistry.swift
[64/182] Compiling SwiftMockk RecordingContext.swift
[65/182] Compiling SwiftMockk StubbingRegistry.swift
BUILD FAILURE 6.2 wasm