The Swift Package Index logo.Swift Package Index

Build Information

Failed to build InjectableViews, reference 1.0.2 (e7d1d7), with Swift 6.4 for Linux on 22 Sep 2026 18:18:55 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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-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.97s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.16s)
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]
[67 / 198] SwiftCompilerPluginMessageHandling
[103 / 202] SwiftSyntax
[111 / 211] SwiftSyntax
[112 / 212] SwiftSyntax
[115 / 212]
[115 / 212] SwiftSyntax
[128 / 237] SwiftParser
[133 / 237] SwiftDiagnostics
[139 / 237] SwiftBasicFormat
[144 / 237] SwiftParser
[146 / 237] SwiftParser
[150 / 237] SwiftParser
[151 / 237] SwiftParser
[152 / 237] SwiftDiagnostics
[153 / 237] SwiftOperators
[154 / 237] SwiftOperators
[158 / 237] SwiftBasicFormat
[162 / 238] SwiftDiagnostics
[167 / 258] SwiftParserDiagnostics
[169 / 259] SwiftOperators
[170 / 259] SwiftParserDiagnostics
[181 / 259] SwiftParserDiagnostics
[183 / 259] SwiftParserDiagnostics
[185 / 260] SwiftParser
[187 / 260] SwiftParser
[189 / 260] SwiftOperators
[190 / 260] SwiftOperators
[194 / 260] SwiftOperators
[195 / 260]
[200 / 270] SwiftSyntaxBuilder
[202 / 271] SwiftSyntaxBuilder
[205 / 271] SwiftSyntaxBuilder
[211 / 272] SwiftSyntaxMacros
[218 / 282] SwiftSyntaxMacros
[221 / 282] SwiftSyntaxMacros
[228 / 282] SwiftSyntaxMacros-product
[236 / 292] SwiftSyntaxMacroExpansion
[238 / 292] SwiftSyntaxMacros
[240 / 292] SwiftSyntaxMacroExpansion
[241 / 292] SwiftSyntaxMacroExpansion
[249 / 300] SwiftCompilerPluginMessageHandling
[251 / 300] SwiftCompilerPluginMessageHandling
[254 / 300] SwiftCompilerPluginMessageHandling
[260 / 301] SwiftCompilerPluginMessageHandling
[265 / 305] SwiftSyntaxMacroExpansion
[266 / 305] SwiftCompilerPluginMessageHandling
[268 / 306] SwiftCompilerPlugin
[273 / 306] SwiftCompilerPlugin
[275 / 307] SwiftSyntax
[278 / 308] SwiftSyntax
[284 / 308] SwiftSyntaxBuilder
[293 / 309] InjectableViewsMacros
[298 / 313] 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>
[299 / 314] InjectableViewsMacros
[302 / 314] InjectableViewsMacros
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/InjectableViews/OverridesMaintainer.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile OverridesMaintainer.swift
/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 -c /host/spi-builder-workspace/Sources/InjectableViews/MacroDefinitions.swift -primary-file /host/spi-builder-workspace/Sources/InjectableViews/OverridesMaintainer.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-linux-x86_64/InjectableViews-t.build/Objects-normal/x86_64/OverridesMaintainer.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-linux-x86_64/InjectableViews-t.build/Objects-normal/x86_64/OverridesMaintainer.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-linux-x86_64/InjectableViews-t.build/Objects-normal/x86_64/OverridesMaintainer.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-linux-x86_64/InjectableViews-t.build/Objects-normal/x86_64/OverridesMaintainer.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-linux-x86_64/InjectableViews-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-linux-x86_64/InjectableViews-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-linux-x86_64/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-linux-x86_64/InjectableViews-t.build/Objects-normal/x86_64/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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/InjectableViews.build/Debug-linux-x86_64/InjectableViews-t.build/Objects-normal/x86_64/OverridesMaintainer.o -index-unit-output-path /InjectableViews.build/Debug-linux-x86_64/InjectableViews-t.build/Objects-normal/x86_64/OverridesMaintainer.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux