The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-mock, reference 0.8.0 (54b3e1), with Swift 6.4 for Android on 19 Sep 2026 21:01:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MetalheadSanya/swift-mock.git
Reference: 0.8.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/MetalheadSanya/swift-mock
 * tag               0.8.0      -> FETCH_HEAD
HEAD is now at 54b3e1b Merge pull request #62 from MetalheadSanya/57-point-verify-failure-to-verify-call
Cloned https://github.com/MetalheadSanya/swift-mock.git
Revision (git rev-parse @):
54b3e1b980e0383f0d9cf09335b6b5f1c11bfab5
SUCCESS checkout https://github.com/MetalheadSanya/swift-mock.git at 0.8.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/MetalheadSanya/swift-mock.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[2346/82329] Fetching swift-docc-plugin, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin (3.03s)
Fetched https://github.com/apple/swift-syntax.git (3.05s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.22s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.20s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 881]
[Planning deferred tasks]
[182 / 378] SwiftSyntax509
[200 / 398] SwiftSyntax509
[202 / 399] SwiftSyntax509
[211 / 400] SwiftSyntax
[212 / 400] SwiftSyntax
[213 / 400] SwiftSyntax
[215 / 400] SwiftSyntax
[217 / 400] SwiftSyntax
[219 / 400] SwiftSyntax
[228 / 400] SwiftSyntax
[230 / 403] SwiftParser
[232 / 421] SwiftParser
[233 / 421] SwiftParser
[245 / 429] SwiftDiagnostics
[246 / 429] SwiftParser
[247 / 429] SwiftDiagnostics
[253 / 429] SwiftDiagnostics
[254 / 429] SwiftParser
[255 / 429] SwiftParser
[256 / 429] SwiftParser
[257 / 429] SwiftParser
[258 / 429] SwiftParser
[259 / 429] SwiftParser
[260 / 429] SwiftParser
[261 / 429] SwiftParser
[263 / 430] SwiftParser
[265 / 430] SwiftParser
[267 / 430] SwiftParser
[268 / 430] SwiftDiagnostics
[269 / 430] SwiftDiagnostics
[270 / 430] SwiftOperators
[273 / 430] SwiftDiagnostics
[275 / 432] SwiftDiagnostics
[281 / 446] SwiftDiagnostics
[285 / 446] SwiftDiagnostics
[294 / 446] SwiftBasicFormat
[300 / 446] SwiftBasicFormat
[304 / 457] SwiftBasicFormat
[306 / 462] SwiftBasicFormat
[307 / 463] SwiftParserDiagnostics
[311 / 464] SwiftBasicFormat
[317 / 465] SwiftParserDiagnostics
[319 / 465] SwiftParserDiagnostics
[323 / 465] SwiftParserDiagnostics
[329 / 465] SwiftBasicFormat
[332 / 465] SwiftBasicFormat
[333 / 465] SwiftParserDiagnostics
[336 / 475] SwiftOperators
[337 / 475] SwiftOperators
[340 / 476] SwiftOperators
[347 / 476] SwiftOperators
[356 / 506] SwiftParserDiagnostics
[357 / 507] SwiftSyntaxBuilder
[360 / 508] SwiftOperators
[368 / 508] SwiftSyntaxBuilder
[377 / 508] SwiftSyntaxBuilder
[381 / 508] SwiftParserDiagnostics
[383 / 508] SwiftParserDiagnostics
[384 / 508] SwiftParserDiagnostics
[385 / 508] SwiftParserDiagnostics
[388 / 508] SwiftParserDiagnostics
[391 / 509] SwiftSyntaxBuilder
[394 / 509] SwiftParserDiagnostics
[397 / 509] SwiftOperators
[399 / 509] SwiftOperators
[404 / 520] SwiftSyntaxMacros
[406 / 529] SwiftSyntaxMacros
[414 / 530] SwiftSyntaxMacros
[419 / 530] SwiftSyntaxMacroExpansion
[423 / 531] SwiftSyntaxMacros
[424 / 532] SwiftSyntaxBuilder
[428 / 532] SwiftSyntaxBuilder
[434 / 532] SwiftSyntaxBuilder
[440 / 542] SwiftSyntaxMacros
[441 / 542] SwiftSyntaxMacros
[445 / 542] SwiftSyntaxMacros
[454 / 545] SwiftSyntaxMacroExpansion
[460 / 561] SwiftSyntaxMacros
[474 / 561] SwiftSyntaxMacroExpansion
[478 / 561] SwiftSyntaxMacroExpansion
[480 / 561] SwiftSyntaxMacroExpansion
[483 / 562] SwiftSyntaxMacroExpansion
[489 / 578] SwiftCompilerPluginMessageHandling
[491 / 579] SwiftSyntaxBuilder
[497 / 579] SwiftSyntaxMacroExpansion
[511 / 580] SwiftSyntaxMacroExpansion
[515 / 581] SwiftCompilerPluginMessageHandling
[522 / 587] SwiftCompilerPlugin
[523 / 587]
[526 / 587]
[530 / 587] SwiftSyntaxMacros
[531 / 587] SwiftCompilerPluginMessageHandling
[536 / 589] SwiftCompilerPlugin
[541 / 589] SwiftCompilerPlugin
[546 / 589] SwiftCompilerPlugin
[554 / 591] SwiftMockMacros
[561 / 600] SwiftMockMacros
[562 / 600] SwiftMockMacros
[564 / 600] SwiftMockMacros
[567 / 601] SwiftMockMacros
[568 / 601] SwiftMockMacros
[576 / 611] SwiftMock
[577 / 612] SwiftSyntax
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile CompilerPlugin.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:103:19: error: cannot find 'dup' in scope
101 |     // Duplicate the `stdin` file descriptor, which we will then use for
102 |     // receiving messages from the plugin host.
103 |     let inputFD = dup(fileno(stdin))
    |                   `- error: cannot find 'dup' in scope
104 |     guard inputFD >= 0 else {
105 |       internalError("Could not duplicate `stdin`: \(describe(errno: errno)).")
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:105:69: error: cannot find 'errno' in scope
103 |     let inputFD = dup(fileno(stdin))
104 |     guard inputFD >= 0 else {
105 |       internalError("Could not duplicate `stdin`: \(describe(errno: errno)).")
    |                                                                     `- error: cannot find 'errno' in scope
106 |     }
107 |
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:111:11: error: cannot find 'close' in scope
109 |     // `stdin` so that attempts by the plugin to read console input (which
110 |     // are usually a mistake) return errors instead of blocking.
111 |     guard close(fileno(stdin)) >= 0 else {
    |           `- error: cannot find 'close' in scope
112 |       internalError("Could not close `stdin`: \(describe(errno: errno)).")
113 |     }
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:112:65: error: cannot find 'errno' in scope
110 |     // are usually a mistake) return errors instead of blocking.
111 |     guard close(fileno(stdin)) >= 0 else {
112 |       internalError("Could not close `stdin`: \(describe(errno: errno)).")
    |                                                                 `- error: cannot find 'errno' in scope
113 |     }
114 |
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:117:20: error: cannot find 'dup' in scope
115 |     // Duplicate the `stdout` file descriptor, which we will then use for
116 |     // sending messages to the plugin host.
117 |     let outputFD = dup(fileno(stdout))
    |                    `- error: cannot find 'dup' in scope
118 |     guard outputFD >= 0 else {
119 |       internalError("Could not dup `stdout`: \(describe(errno: errno)).")
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:119:64: error: cannot find 'errno' in scope
117 |     let outputFD = dup(fileno(stdout))
118 |     guard outputFD >= 0 else {
119 |       internalError("Could not dup `stdout`: \(describe(errno: errno)).")
    |                                                                `- error: cannot find 'errno' in scope
120 |     }
121 |
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:124:11: error: cannot find 'dup2' in scope
122 |     // Having duplicated the original standard-output descriptor, redirect
123 |     // `stdout` to `stderr` so that all free-form text output goes there.
124 |     guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
    |           `- error: cannot find 'dup2' in scope
125 |       internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
126 |     }
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:125:77: error: cannot find 'errno' in scope
123 |     // `stdout` to `stderr` so that all free-form text output goes there.
124 |     guard dup2(fileno(stderr), fileno(stdout)) >= 0 else {
125 |       internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
    |                                                                             `- error: cannot find 'errno' in scope
126 |     }
127 |
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-android-aarch64/SwiftCompilerPlugin-t.build/Objects-normal/aarch64/CompilerPlugin.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-android-aarch64/SwiftCompilerPlugin-t.build/Objects-normal/aarch64/CompilerPlugin.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-android-aarch64/SwiftCompilerPlugin-t.build/Objects-normal/aarch64/CompilerPlugin.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-android-aarch64/SwiftCompilerPlugin-t.build/Objects-normal/aarch64/CompilerPlugin.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-android-aarch64/SwiftCompilerPlugin-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-android-aarch64/SwiftCompilerPlugin-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-android-aarch64/SwiftCompilerPlugin-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftCompilerPlugin -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-android-aarch64/SwiftCompilerPlugin-t.build/Objects-normal/aarch64/SwiftCompilerPlugin_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-android-aarch64/SwiftCompilerPlugin-t.build/Objects-normal/aarch64/CompilerPlugin.o -index-unit-output-path /swift-syntax.build/Debug-android-aarch64/SwiftCompilerPlugin-t.build/Objects-normal/aarch64/CompilerPlugin.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android