The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swiftymocky, reference 4.2.0 (1e81c0), with Swift 6.3 for Android on 13 Apr 2026 19:58:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MakeAWishFoundation/SwiftyMocky.git
Reference: 4.2.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/MakeAWishFoundation/SwiftyMocky
 * tag               4.2.0      -> FETCH_HEAD
HEAD is now at 1e81c0c Deploy 4.2.0
Cloned https://github.com/MakeAWishFoundation/SwiftyMocky.git
Revision (git rev-parse @):
1e81c0c566c26d2d4e4cc2d799afad7d3ef931ab
SUCCESS checkout https://github.com/MakeAWishFoundation/SwiftyMocky.git at 4.2.0
========================================
Build
========================================
Selected platform:         android
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-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/kylef/Commander
Fetching https://github.com/luoxiu/Chalk
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/tuist/xcodeproj
Fetching https://github.com/JohnSundell/ShellOut
[1/1588] Fetching commander
[1589/2568] Fetching commander, shellout
[1766/2897] Fetching commander, shellout, chalk
[2722/4349] Fetching commander, shellout, chalk, pathkit
[4350/28782] Fetching commander, shellout, chalk, pathkit, xcodeproj
[7282/40333] Fetching commander, shellout, chalk, pathkit, xcodeproj, yams
Fetched https://github.com/kylef/PathKit from cache (2.27s)
Fetched https://github.com/kylef/Commander from cache (2.27s)
Fetched https://github.com/JohnSundell/ShellOut from cache (2.52s)
Fetched https://github.com/luoxiu/Chalk from cache (2.52s)
Fetched https://github.com/tuist/xcodeproj from cache (2.64s)
Fetched https://github.com/jpsim/Yams from cache (2.64s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (6.60s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.75s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.40s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (1.20s)
Fetching https://github.com/luoxiu/Rainbow
[1/234] Fetching rainbow
Fetched https://github.com/luoxiu/Rainbow from cache (0.34s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (1.17s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (3.78s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.71s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.75s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.27.7 (0.56s)
Fetching https://github.com/tadija/AEXML.git
[1/2155] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.51s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.16s)
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/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
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/kylef/Commander
Working copy of https://github.com/kylef/Commander resolved at 0.9.2
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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 3.0.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/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--4F562202D5529B1.txt
[16/33] Compiling reader.c
[17/33] Compiling api.c
[18/39] Compiling parser.c
[19/73] Compiling emitter.c
[20/113] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/122] Emitting module Mocky_Example_macOS
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Example 10/ProtocolWithGenericConstraints.swift:17:10: warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
15 |     var value: ContainedType { get }
16 |
17 |     func extractString<U: CustomStringConvertible>() -> String? where ContainedType == Optional<U>
   |          `- warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
18 | }
19 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 |     func passThisAsInOut(value: inout URLRequest)
   |                                       `- error: cannot find type 'URLRequest' in scope
14 |     func returnAndInOut(value: inout Int) -> String
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
   |  `- error: Objective-C interoperability is disabled
13 |     @objc optional func returnNoting()
14 |     func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an '@objc' protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 |     @objc optional func returnNoting()
   |           `- error: 'optional' can only be applied to members of an '@objc' protocol
14 |     func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 |     @objc optional func returnNoting()
   |      `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
14 |     func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
   |  `- error: Objective-C interoperability is disabled
19 |
20 |     @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 |     @objc(doStaticStuffWithParameter1: andParameter2:)
   |      `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 |     static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 |     static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 |     @objc(doStuffWithParameter1: andParameter2:)
   |      `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
24 |     func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
 1 | import Foundation
 2 |
 3 | @available(iOS 14, *) @objc
   |                        `- error: Objective-C interoperability is disabled
 4 | protocol ProtocolWithAttributes: AutoMockable {
 5 |     func funcA()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
 9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
   |  `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/122] Emitting module SwiftyPrototype
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
 3 | public class SwiftyMockyTestObserver: NSObject {
 4 |     /// [Internal] No setup whatsoever
 5 |     @objc public static func setup() {
   |      `- error: Objective-C interoperability is disabled
 6 |         // Empty on purpose
 7 |     }
[24/123] Emitting module ShellOut
[25/126] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[26/127] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[27/127] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/127] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[29/127] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[30/127] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[31/127] Compiling Rainbow Colors.swift
[32/127] Compiling Rainbow NSRegularExpression.swift
[33/127] Compiling Rainbow Double.swift
[34/127] Compiling Commander Commands.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[35/127] Compiling Commander ArgumentConvertible.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[36/127] Compiling Commander ArgumentDescription.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[37/127] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[38/127] Compiling Mocky_Example_macOS ProtocolsWithClosures.swift
[39/127] Compiling Mocky_Example_macOS ItemsRepository.swift
[40/129] Compiling Mocky_Example_macOS Item.swift
[41/129] Compiling Mocky_Example_macOS Models.swift
[42/130] Emitting module Rainbow
[43/130] Compiling Rainbow Color+Cocoa.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/130] 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
BUILD FAILURE 6.3 android