The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 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:         wasm
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-53886770-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-syntax.git
[1/80009] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (3.17s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.34s)
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 / 200] SwiftSyntax509
[105 / 203] SwiftSyntax
[113 / 212] SwiftSyntax
[115 / 213] SwiftSyntax509
[117 / 213] SwiftSyntax
[129 / 238] SwiftDiagnostics
[133 / 238] SwiftDiagnostics
[134 / 238] SwiftParser
[142 / 238] SwiftBasicFormat
[152 / 238] SwiftParser
[154 / 238] SwiftDiagnostics
[155 / 238] SwiftOperators
[158 / 238] SwiftDiagnostics
[160 / 239] SwiftParserDiagnostics
[164 / 239] SwiftDiagnostics
[169 / 259] SwiftOperators
[169 / 259] SwiftBasicFormat
[172 / 260] SwiftParserDiagnostics
[175 / 260] SwiftParserDiagnostics
[185 / 261] SwiftParser
[188 / 261] SwiftParserDiagnostics
[191 / 261] SwiftOperators
[193 / 261] SwiftOperators
[195 / 261] SwiftOperators
[202 / 271] SwiftSyntaxBuilder
[204 / 272] SwiftSyntaxBuilder
[205 / 272] SwiftSyntaxBuilder
[206 / 272] SwiftSyntaxBuilder
[213 / 272] SwiftSyntaxBuilder
[220 / 283] SwiftSyntaxMacros
[224 / 283] SwiftSyntaxMacros
[237 / 292] SwiftSyntaxMacroExpansion
[239 / 293] SwiftSyntaxMacros
[248 / 293] SwiftSyntaxMacroExpansion
[251 / 301] SwiftCompilerPluginMessageHandling
[255 / 301] SwiftCompilerPluginMessageHandling
[261 / 301] SwiftCompilerPluginMessageHandling
[266 / 305] SwiftSyntaxMacroExpansion
[268 / 306] SwiftCompilerPluginMessageHandling
[275 / 307] SwiftCompilerPlugin
[277 / 308] SwiftSyntax
[280 / 309] SwiftSyntax
[287 / 309] SwiftSyntaxMacros
[295 / 310] InjectableViewsMacros
[299 / 314] 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>
[301 / 315] InjectableViewsMacros
[304 / 315] InjectableViewsMacros
error: SwiftCompile normal wasm32 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:
/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 wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 /usr/lib/swift/host/plugins/testing\#/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_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-webassembly-wasm32/InjectableViews-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-webassembly-wasm32/InjectableViews-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-webassembly-wasm32/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-webassembly-wasm32/InjectableViews-t.build/Objects-normal/wasm32/InjectableViews_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-webassembly-wasm32/InjectableViews-t.build/Objects-normal/wasm32/Modules/InjectableViews.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-webassembly-wasm32/InjectableViews-t.build/Objects-normal/wasm32/Modules/InjectableViews.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-webassembly-wasm32/InjectableViews-t.build/Objects-normal/wasm32/InjectableViews-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-webassembly-wasm32/InjectableViews-t.build/Objects-normal/wasm32/InjectableViews-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-webassembly-wasm32/InjectableViews-t.build/Objects-normal/wasm32/InjectableViews-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-webassembly-wasm32/InjectableViews-t.build/Objects-normal/wasm32/Modules/InjectableViews.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm