The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swiftymocky, reference master (3672ee), with Swift 6.3 for Wasm on 13 Apr 2026 19:58:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/MakeAWishFoundation/SwiftyMocky.git
Reference: master
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/MakeAWishFoundation/SwiftyMocky
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3672eea Merge pull request #363 from mapierce/xcode-16-fixes
Cloned https://github.com/MakeAWishFoundation/SwiftyMocky.git
Revision (git rev-parse @):
3672eea08c7098214ac54ee26c7a7e39ea01a2f1
SUCCESS checkout https://github.com/MakeAWishFoundation/SwiftyMocky.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/MakeAWishFoundation/SwiftyMocky.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/tuist/xcodeproj
Fetching https://github.com/JohnSundell/ShellOut
Fetching https://github.com/luoxiu/Chalk
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/kylef/Commander
Fetching https://github.com/jpsim/Yams
[1/329] Fetching chalk
[298/1309] Fetching chalk, shellout
[1310/2897] Fetching chalk, shellout, commander
[2851/4349] Fetching chalk, shellout, commander, pathkit
[4350/28782] Fetching chalk, shellout, commander, pathkit, xcodeproj
Fetched https://github.com/kylef/PathKit from cache (0.44s)
[5585/27330] Fetching chalk, shellout, commander, xcodeproj
[6563/38881] Fetching chalk, shellout, commander, xcodeproj, yams
Fetched https://github.com/luoxiu/Chalk from cache (2.57s)
Fetched https://github.com/kylef/Commander from cache (2.57s)
Fetched https://github.com/jpsim/Yams from cache (2.62s)
Fetched https://github.com/JohnSundell/ShellOut from cache (2.75s)
Fetched https://github.com/tuist/xcodeproj from cache (2.78s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (3.26s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.28s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (3.21s)
Fetching https://github.com/luoxiu/Rainbow
[1/234] Fetching rainbow
Fetched https://github.com/luoxiu/Rainbow from cache (0.37s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.92s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (4.83s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.78s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.87s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.69s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.27.7 (0.45s)
Fetching https://github.com/tadija/AEXML.git
[1/2155] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.28s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.68s)
Creating working copy for https://github.com/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
Creating working copy for https://github.com/luoxiu/Rainbow
Working copy of https://github.com/luoxiu/Rainbow resolved at 0.1.1
Creating working copy for https://github.com/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 8.27.7
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/luoxiu/Chalk
Working copy of https://github.com/luoxiu/Chalk resolved at 0.2.1
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/kylef/Commander
Working copy of https://github.com/kylef/Commander resolved at 0.9.2
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Building for debugging...
[0/33] Write sources
[14/33] Compiling writer.c
[15/33] Write swift-version-24593BA9C3E375BF.txt
[16/33] Compiling reader.c
[17/61] Compiling api.c
[18/62] Compiling parser.c
[19/65] Compiling emitter.c
[20/81] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/112] Emitting module SwiftyMocky
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:13:12: error: cannot find 'Thread' in scope
 11 |         Matcher.fatalErrorHandler = SwiftyMockyTestObserver.handleFatalError
 12 |         let addObserver = { XCTestObservationCenter.shared.addTestObserver(SwiftyMockyTestObserver()) }
 13 |         if Thread.isMainThread {
    |            `- error: cannot find 'Thread' in scope
 14 |             addObserver()
 15 |         } else {
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:16:13: error: cannot find 'DispatchQueue' in scope
 14 |             addObserver()
 15 |         } else {
 16 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 17 |                 addObserver()
 18 |             }
[23/114] Emitting module AEXML
[24/114] Emitting module Yams
[25/116] Compiling Yams Tag.swift
[26/116] Compiling Yams YamlAnchorProviding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/116] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[28/116] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[29/116] Compiling Yams Emitter.swift
[30/116] Compiling Yams Encoder.swift
error: cancelled
error: cancelled
[35/116] Compiling SwiftyMocky Utils.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:13:12: error: cannot find 'Thread' in scope
 11 |         Matcher.fatalErrorHandler = SwiftyMockyTestObserver.handleFatalError
 12 |         let addObserver = { XCTestObservationCenter.shared.addTestObserver(SwiftyMockyTestObserver()) }
 13 |         if Thread.isMainThread {
    |            `- error: cannot find 'Thread' in scope
 14 |             addObserver()
 15 |         } else {
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:16:13: error: cannot find 'DispatchQueue' in scope
 14 |             addObserver()
 15 |         } else {
 16 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 17 |                 addObserver()
 18 |             }
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:29: error: cannot find 'XCTIssue' in scope
 57 |         let methodName = getNameOfExtecutedTestCase(testCase)
 58 |         if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
 59 |             testCase.record(XCTIssue(
    |                             `- error: cannot find 'XCTIssue' in scope
 60 |                 type: .system,
 61 |                 compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:22: error: value of type 'XCTestCase' has no member 'record'
 57 |         let methodName = getNameOfExtecutedTestCase(testCase)
 58 |         if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
 59 |             testCase.record(XCTIssue(
    |                      `- error: value of type 'XCTestCase' has no member 'record'
 60 |                 type: .system,
 61 |                 compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:60:24: error: cannot infer contextual base in reference to member 'system'
 58 |         if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
 59 |             testCase.record(XCTIssue(
 60 |                 type: .system,
    |                        `- error: cannot infer contextual base in reference to member 'system'
 61 |                 compactDescription: message,
 62 |                 detailedDescription: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:62:38: error: 'nil' requires a contextual type
 60 |                 type: .system,
 61 |                 compactDescription: message,
 62 |                 detailedDescription: nil,
    |                                      `- error: 'nil' requires a contextual type
 63 |                 sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
 64 |                 associatedError: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:37: error: cannot infer contextual base in reference to member 'init'
 61 |                 compactDescription: message,
 62 |                 detailedDescription: nil,
 63 |                 sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
    |                                     `- error: cannot infer contextual base in reference to member 'init'
 64 |                 associatedError: nil,
 65 |                 attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:53: error: cannot infer contextual base in reference to member 'init'
 61 |                 compactDescription: message,
 62 |                 detailedDescription: nil,
 63 |                 sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
    |                                                     `- error: cannot infer contextual base in reference to member 'init'
 64 |                 associatedError: nil,
 65 |                 attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:64:34: error: 'nil' requires a contextual type
 62 |                 detailedDescription: nil,
 63 |                 sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
 64 |                 associatedError: nil,
    |                                  `- error: 'nil' requires a contextual type
 65 |                 attachments: []
 66 |             ))
[36/116] Compiling SwiftyMocky SwiftyMockyTestObserver.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:13:12: error: cannot find 'Thread' in scope
 11 |         Matcher.fatalErrorHandler = SwiftyMockyTestObserver.handleFatalError
 12 |         let addObserver = { XCTestObservationCenter.shared.addTestObserver(SwiftyMockyTestObserver()) }
 13 |         if Thread.isMainThread {
    |            `- error: cannot find 'Thread' in scope
 14 |             addObserver()
 15 |         } else {
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:16:13: error: cannot find 'DispatchQueue' in scope
 14 |             addObserver()
 15 |         } else {
 16 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 17 |                 addObserver()
 18 |             }
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:29: error: cannot find 'XCTIssue' in scope
 57 |         let methodName = getNameOfExtecutedTestCase(testCase)
 58 |         if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
 59 |             testCase.record(XCTIssue(
    |                             `- error: cannot find 'XCTIssue' in scope
 60 |                 type: .system,
 61 |                 compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:22: error: value of type 'XCTestCase' has no member 'record'
 57 |         let methodName = getNameOfExtecutedTestCase(testCase)
 58 |         if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
 59 |             testCase.record(XCTIssue(
    |                      `- error: value of type 'XCTestCase' has no member 'record'
 60 |                 type: .system,
 61 |                 compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:60:24: error: cannot infer contextual base in reference to member 'system'
 58 |         if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
 59 |             testCase.record(XCTIssue(
 60 |                 type: .system,
    |                        `- error: cannot infer contextual base in reference to member 'system'
 61 |                 compactDescription: message,
 62 |                 detailedDescription: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:62:38: error: 'nil' requires a contextual type
 60 |                 type: .system,
 61 |                 compactDescription: message,
 62 |                 detailedDescription: nil,
    |                                      `- error: 'nil' requires a contextual type
 63 |                 sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
 64 |                 associatedError: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:37: error: cannot infer contextual base in reference to member 'init'
 61 |                 compactDescription: message,
 62 |                 detailedDescription: nil,
 63 |                 sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
    |                                     `- error: cannot infer contextual base in reference to member 'init'
 64 |                 associatedError: nil,
 65 |                 attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:53: error: cannot infer contextual base in reference to member 'init'
 61 |                 compactDescription: message,
 62 |                 detailedDescription: nil,
 63 |                 sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
    |                                                     `- error: cannot infer contextual base in reference to member 'init'
 64 |                 associatedError: nil,
 65 |                 attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:64:34: error: 'nil' requires a contextual type
 62 |                 detailedDescription: nil,
 63 |                 sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
 64 |                 associatedError: nil,
    |                                  `- error: 'nil' requires a contextual type
 65 |                 attachments: []
 66 |             ))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/116] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[38/116] Compiling Yams RedundancyAliasingStrategy.swift
[39/116] Compiling Yams Representer.swift
BUILD FAILURE 6.3 wasm