The Swift Package Index logo.Swift Package Index

Build Information

Failed to build InjectableViews, reference 1.0.2 (e7d1d7), with Swift 6.4 for Android on 22 Sep 2026 18:18:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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/mohamedsalahnassar/InjectableViews.git
Reference: 1.0.2
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
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at e7d1d70 Clean up
Cloned https://github.com/mohamedsalahnassar/InjectableViews.git
Revision (git rev-parse @):
e7d1d70c50b7ee67dd6352a81b7b2c565f89e9a2
SUCCESS checkout https://github.com/mohamedsalahnassar/InjectableViews.git at 1.0.2
========================================
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-54344845-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
[1/80009] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (2.90s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.06s)
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]
[Pre-planning 1 / 475]
[Planning deferred tasks]
[97 / 201]
[106 / 205] SwiftSyntax
[114 / 214] SwiftSyntax
[115 / 215] SwiftSyntax509
[118 / 215] SwiftSyntax
[130 / 240] SwiftBasicFormat
[133 / 240] SwiftBasicFormat
[145 / 240] SwiftParser
[146 / 240] SwiftParser
[147 / 240] SwiftParser
[149 / 240] SwiftParser
[154 / 240] SwiftParser
[156 / 240] SwiftDiagnostics
[157 / 240] SwiftDiagnostics
[158 / 240] SwiftOperators
[159 / 240] SwiftOperators
[161 / 240] SwiftDiagnostics
[163 / 241] SwiftParserDiagnostics
[169 / 252] SwiftOperators
[171 / 261] SwiftOperators
[171 / 261] SwiftBasicFormat
[173 / 262] SwiftParserDiagnostics
[176 / 262] SwiftParserDiagnostics
[186 / 262] SwiftParserDiagnostics
[188 / 263] SwiftParser
[189 / 263] SwiftParserDiagnostics
[192 / 263] SwiftOperators
[194 / 263] SwiftOperators
[195 / 263] SwiftOperators
[198 / 263] SwiftBasicFormat
[204 / 274] SwiftSyntaxBuilder
[205 / 275] SwiftSyntaxBuilder
[206 / 275] SwiftSyntaxBuilder
[207 / 275] SwiftSyntaxBuilder
[209 / 275] SwiftSyntaxBuilder
[222 / 285] SwiftSyntaxMacros
[227 / 285] SwiftSyntaxMacros
[237 / 294] SwiftSyntaxMacroExpansion
[240 / 295] SwiftSyntaxMacroExpansion
[241 / 295] SwiftSyntaxMacros
[243 / 295] SwiftSyntaxMacroExpansion
[246 / 295] SwiftSyntaxMacroExpansion
[253 / 303] SwiftCompilerPluginMessageHandling
[255 / 304] SwiftSyntaxBuilder
[265 / 305]
[267 / 307] SwiftCompilerPlugin
[267 / 307]
[269 / 308] SwiftCompilerPluginMessageHandling
[271 / 309] SwiftCompilerPlugin
[276 / 309] SwiftCompilerPlugin
[278 / 310] SwiftSyntax
[281 / 311] SwiftSyntax
[288 / 311] SwiftSyntaxMacros
[296 / 312] InjectableViewsMacros
[300 / 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>
[302 / 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