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>&1Build 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: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m111 |[0;0m
[0;36m112 |[0;0m // Generate the computed property
[0;36m113 |[0;0m let computedProperty = try DeclSyntax(stringLiteral: """
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m114 |[0;0m var \(propertyName): some View {
[0;36m115 |[0;0m if let override = _overridesMaintainer.override(for: "\(propertyName)") {
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableViewMacro.swift:137:29: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m135 |[0;0m ) throws -> [DeclSyntax] {
[0;36m136 |[0;0m // Extract the function name
[0;36m137 |[0;0m let name = funcDecl.identifier.text
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m138 |[0;0m
[0;36m139 |[0;0m // Ensure the function name ends with "Builder"
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableViewMacro.swift:155:32: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m153 |[0;0m
[0;36m154 |[0;0m // Generate the computed property
[0;36m155 |[0;0m let computedProperty = try DeclSyntax(stringLiteral: """
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m156 |[0;0m var \(propertyName): some View {
[0;36m157 |[0;0m 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: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m106 |[0;0m ) throws -> [DeclSyntax] {
[0;36m107 |[0;0m // Inject a property for the overrides maintainer
[0;36m108 |[0;0m let overridesMaintainerProperty = try DeclSyntax(stringLiteral: """
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m109 |[0;0m private let _overridesMaintainer = OverridesMaintainer()
[0;36m110 |[0;0m """)
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableContainerMacro.swift:116:30: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m114 |[0;0m
[0;36m115 |[0;0m // Inject a function to update the overrides
[0;36m116 |[0;0m let updateFunction = try DeclSyntax(stringLiteral: """
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m117 |[0;0m public func overrideView<V: View>(for key: InjectableKeys, @ViewBuilder with viewBuilder: () -> V) -> Self {
[0;36m118 |[0;0m _overridesMaintainer.updateOverride(for: key.rawValue, with: AnyView(viewBuilder()))
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableContainerMacro.swift:147:25: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m145 |[0;0m
[0;36m146 |[0;0m if let funcDecl = member.decl.as(FunctionDeclSyntax.self),
[0;36m147 |[0;0m funcDecl.identifier.text.hasSuffix("Builder") {
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m148 |[0;0m return String(funcDecl.identifier.text.dropLast("Builder".count))
[0;36m149 |[0;0m }
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableContainerMacro.swift:148:40: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m146 |[0;0m if let funcDecl = member.decl.as(FunctionDeclSyntax.self),
[0;36m147 |[0;0m funcDecl.identifier.text.hasSuffix("Builder") {
[0;36m148 |[0;0m return String(funcDecl.identifier.text.dropLast("Builder".count))
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m149 |[0;0m }
[0;36m150 |[0;0m
/host/spi-builder-workspace/Sources/InjectableViewsMacros/InjectableContainerMacro.swift:172:16: [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m170 |[0;0m }
[0;36m171 |[0;0m """
[0;36m172 |[0;0m return try DeclSyntax(stringLiteral: enumSyntax)
[0;36m|[0;0m `- [1;33mwarning: [1;39mno calls to throwing functions occur within 'try' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
[0;36m173 |[0;0m }
[0;36m174 |[0;0m }
[#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: [1;31merror: [1;39mno such module 'SwiftUI'[0;0m
[0;36m6 |[0;0m //
[0;36m7 |[0;0m
[0;36m8 |[0;0m import SwiftUI
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'SwiftUI'[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m /// 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