The Swift Package Index logo.Swift Package Index

Build Information

Failed to build InjectableViews, reference main (df57c0), with Swift 6.4 for Android on 22 Sep 2026 18:19:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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/mohamedsalahnassar/InjectableViews.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/mohamedsalahnassar/InjectableViews
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at df57c04 Test OverridesMaintainer and override cleanup (#2)
Cloned https://github.com/mohamedsalahnassar/InjectableViews.git
Revision (git rev-parse @):
df57c0489730043ce2f85730eddddb1cdc9a85a2
SUCCESS checkout https://github.com/mohamedsalahnassar/InjectableViews.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mohamedsalahnassar/InjectableViews.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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
[1/80009] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (4.24s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (5.48s)
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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 475]
[Planning deferred tasks]
[Starting]
[70 / 201] SwiftCompilerPluginMessageHandling
[100 / 204] SwiftSyntax509
[106 / 206] SwiftSyntax
[114 / 214] SwiftSyntax
[115 / 215] SwiftSyntax509
[116 / 215] SwiftSyntax509
[118 / 215] SwiftSyntax
[126 / 218] SwiftBasicFormat
[130 / 232] SwiftParser
[131 / 240] SwiftParser
[132 / 240] SwiftDiagnostics
[133 / 240] SwiftDiagnostics
[134 / 240] SwiftDiagnostics
[140 / 240] SwiftBasicFormat
[145 / 240] SwiftParser
[147 / 240] SwiftParser
[148 / 240] SwiftParser
[152 / 240] SwiftParser
[154 / 240] SwiftParser
[155 / 240] SwiftDiagnostics
[156 / 240] SwiftDiagnostics
[157 / 240] SwiftDiagnostics
[158 / 240] SwiftOperators
[159 / 240] SwiftOperators
[161 / 240] SwiftDiagnostics
[161 / 240] SwiftBasicFormat
[162 / 240] SwiftBasicFormat
[163 / 240] SwiftParserDiagnostics
[164 / 242] SwiftParserDiagnostics
[167 / 252] SwiftParserDiagnostics
[168 / 261] SwiftOperators
[168 / 262] SwiftParserDiagnostics
[170 / 262] SwiftParserDiagnostics
[171 / 263] SwiftParserDiagnostics
[172 / 263] SwiftParserDiagnostics
[173 / 263] SwiftOperators
[174 / 263] SwiftParserDiagnostics
[184 / 263] SwiftSyntaxBuilder
[185 / 263] SwiftSyntaxBuilder
[187 / 263] SwiftOperators
[188 / 263] SwiftParser
[189 / 263] SwiftOperators
[192 / 263] SwiftOperators
[194 / 263] SwiftOperators
[195 / 263] SwiftOperators
[196 / 263] SwiftDiagnostics
[197 / 263]
[203 / 273] SwiftSyntaxBuilder
[205 / 274] SwiftSyntaxBuilder
[206 / 274] SwiftSyntaxBuilder
[208 / 275] SwiftSyntaxBuilder
[209 / 275] SwiftSyntaxBuilder
[211 / 275] SwiftSyntaxBuilder
[218 / 275]
[221 / 285] SwiftSyntaxMacros
[222 / 285] SwiftSyntaxMacros
[223 / 285] SwiftSyntaxMacros
[224 / 285] SwiftSyntaxMacros
[228 / 285] SwiftSyntaxMacros
[229 / 285] SwiftSyntaxMacros-product
[231 / 285] SwiftSyntaxMacros-product
[233 / 285] SwiftSyntaxMacroExpansion
[237 / 294] SwiftSyntaxMacroExpansion
[238 / 294] SwiftSyntaxMacroExpansion
[239 / 294] SwiftSyntaxMacroExpansion
[240 / 295] SwiftSyntaxMacros
[241 / 295] SwiftSyntaxBuilder
[245 / 296] SwiftSyntaxMacroExpansion
[247 / 296] SwiftSyntaxMacroExpansion
[254 / 304] SwiftCompilerPluginMessageHandling
[255 / 304] SwiftCompilerPluginMessageHandling
[256 / 304] SwiftCompilerPluginMessageHandling
[263 / 304] SwiftCompilerPluginMessageHandling
[264 / 304] SwiftCompilerPlugin
[267 / 307] SwiftCompilerPlugin
[267 / 307] SwiftSyntaxMacroExpansion
[269 / 308] SwiftCompilerPlugin
[274 / 308] SwiftCompilerPluginMessageHandling
[275 / 309] SwiftCompilerPluginMessageHandling
[276 / 309] SwiftCompilerPlugin
[277 / 310] SwiftCompilerPlugin
[278 / 310] SwiftSyntax
[279 / 311] SwiftSyntax
[281 / 311] SwiftSyntax
[284 / 311] SwiftParser
[288 / 311] SwiftSyntaxMacros
[289 / 311] SwiftSyntaxMacroExpansion
[296 / 312] InjectableViewsMacros
[300 / 316] InjectableViewsMacros
[301 / 316] InjectableViewsMacros
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableViewMacro.swift:113:32: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
111 |
112 |         // Generate the computed property
113 |         let computedProperty = try DeclSyntax(stringLiteral: """
    |                                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
114 |         var \(propertyName): some View {
115 |             if let override = _overridesMaintainer.override(for: "\(propertyName)") {
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableViewMacro.swift:137:29: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
135 |     ) throws -> [DeclSyntax] {
136 |         // Extract the function name
137 |         let name = funcDecl.identifier.text
    |                             |- warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                             `- note: use 'name' instead
138 |
139 |         // Ensure the function name ends with "Builder"
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableViewMacro.swift:155:32: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
153 |
154 |         // Generate the computed property
155 |         let computedProperty = try DeclSyntax(stringLiteral: """
    |                                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
156 |         var \(propertyName): some View {
157 |             if let override = _overridesMaintainer.override(for: "\(propertyName)") {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableContainerMacro.swift:108:43: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
106 |     ) throws -> [DeclSyntax] {
107 |         // Inject a property for the overrides maintainer
108 |         let overridesMaintainerProperty = try DeclSyntax(stringLiteral: """
    |                                           `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
109 |         private let _overridesMaintainer = OverridesMaintainer()
110 |         """)
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableContainerMacro.swift:116:30: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
114 |
115 |         // Inject a function to update the overrides
116 |         let updateFunction = try DeclSyntax(stringLiteral: """
    |                              `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
117 |         public func overrideView<V: View>(for key: InjectableKeys, @ViewBuilder with viewBuilder: () -> V) -> Self {
118 |             _overridesMaintainer.updateOverride(for: key.rawValue, with: AnyView(viewBuilder()))
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableContainerMacro.swift:147:25: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
145 |
146 |             if let funcDecl = member.decl.as(FunctionDeclSyntax.self),
147 |                funcDecl.identifier.text.hasSuffix("Builder") {
    |                         |- warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                         `- note: use 'name' instead
148 |                 return String(funcDecl.identifier.text.dropLast("Builder".count))
149 |             }
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableContainerMacro.swift:148:40: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
146 |             if let funcDecl = member.decl.as(FunctionDeclSyntax.self),
147 |                funcDecl.identifier.text.hasSuffix("Builder") {
148 |                 return String(funcDecl.identifier.text.dropLast("Builder".count))
    |                                        |- warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                        `- note: use 'name' instead
149 |             }
150 |
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableContainerMacro.swift:172:16: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
170 |         }
171 |         """
172 |         return try DeclSyntax(stringLiteral: enumSyntax)
    |                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
173 |     }
174 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[304 / 317] InjectableViewsMacros
[305 / 317] InjectableViewsMacros
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/InjectableViews/MacroDefinitions.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// Marks a type (typically a container view or parent view) as injectable for the InjectableViews system.
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/InjectableViews/MacroDefinitions.swift /host/spi-builder-workspace/Sources/InjectableViews/OverridesMaintainer.swift -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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/InjectableViewsMacros\#InjectableViewsMacros -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/InjectableViews.build/Debug-android-aarch64/InjectableViews-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-android-aarch64/InjectableViews-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-android-aarch64/InjectableViews-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name InjectableViews -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-android-aarch64/InjectableViews-t.build/Objects-normal/aarch64/InjectableViews_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-android-aarch64/InjectableViews-t.build/Objects-normal/aarch64/Modules/InjectableViews.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-android-aarch64/InjectableViews-t.build/Objects-normal/aarch64/Modules/InjectableViews.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-android-aarch64/InjectableViews-t.build/Objects-normal/aarch64/InjectableViews-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-android-aarch64/InjectableViews-t.build/Objects-normal/aarch64/InjectableViews-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-android-aarch64/InjectableViews-t.build/Objects-normal/aarch64/InjectableViews-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-android-aarch64/InjectableViews-t.build/Objects-normal/aarch64/Modules/InjectableViews.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android