Build Information
Failed to build DTOMacro, reference main (66d672), with Swift 6.4 for Android on 19 Sep 2026 11:03:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OctoPoulpeStudio/DTOMacro.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/OctoPoulpeStudio/DTOMacro
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 66d6722 Add DocC to macros
Cloned https://github.com/OctoPoulpeStudio/DTOMacro.git
Revision (git rev-parse @):
66d6722e3f92dfb1f048b8bf5971710e1bd884d3
SUCCESS checkout https://github.com/OctoPoulpeStudio/DTOMacro.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/OctoPoulpeStudio/DTOMacro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/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/79984] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (4.11s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (5.92s)
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 / 562]
[Planning deferred tasks]
[Starting]
[58 / 229] SwiftSyntax
[121 / 240] SwiftSyntax509
[127 / 242] SwiftSyntax
[129 / 250] SwiftSyntax
[130 / 250] DTOTypes
[137 / 250] DTOTypes
[142 / 251] DTOTypes
[145 / 251] SwiftSyntax509
[146 / 251] SwiftSyntax509
[148 / 251] SwiftSyntax
[148 / 251] DTOTypes
[150 / 252] DTOTypes
[152 / 252] SwiftSyntax
[152 / 252] DTOTypes
[156 / 253] DTOTypes-product
[156 / 253] SwiftSyntax
[168 / 269] SwiftDiagnostics
[169 / 278] SwiftParser
[170 / 278] SwiftBasicFormat
[181 / 278] SwiftBasicFormat
[183 / 278] SwiftParser
[184 / 278] SwiftParser
[186 / 278] SwiftParser
[190 / 278] SwiftParser
[191 / 278] SwiftParser
[193 / 278] SwiftDiagnostics
[194 / 278] SwiftDiagnostics
[195 / 278] SwiftDiagnostics
[198 / 278] SwiftDiagnostics-product
[201 / 278] SwiftBasicFormat
[204 / 289] SwiftParserDiagnostics
[205 / 299] SwiftDiagnostics
[207 / 300] SwiftParserDiagnostics
[208 / 300] SwiftOperators
[209 / 300] SwiftParser
[215 / 301] SwiftParserDiagnostics
[216 / 301] SwiftParserDiagnostics
[218 / 301] SwiftParserDiagnostics
[224 / 301] SwiftParserDiagnostics
[227 / 301] SwiftParser
[229 / 301] SwiftOperators
[231 / 301] SwiftOperators
[233 / 301] SwiftOperators
[238 / 302]
[240 / 311] SwiftSyntaxBuilder
[241 / 311] SwiftSyntaxBuilder
[241 / 312] SwiftSyntaxBuilder
[244 / 312] SwiftSyntaxBuilder
[245 / 312] SwiftSyntaxBuilder
[249 / 312] SwiftSyntaxBuilder
[251 / 313] SwiftSyntaxMacros
[253 / 313] SwiftParserDiagnostics
[255 / 313] SwiftParserDiagnostics
[259 / 323] SwiftSyntaxMacros
[260 / 323] SwiftSyntaxMacros
[262 / 323] SwiftSyntaxMacros
[267 / 323] SwiftSyntaxMacros-product
[269 / 323] SwiftSyntaxMacros
[271 / 323] SwiftSyntaxMacros
[274 / 332] SwiftSyntaxMacroExpansion
[276 / 333] SwiftSyntaxMacroExpansion
[277 / 333] SwiftSyntaxMacros
[278 / 333] SwiftSyntaxMacros
[279 / 333] SwiftSyntaxMacroExpansion
[280 / 334] SwiftSyntaxMacroExpansion
[281 / 334] SwiftSyntaxMacroExpansion
[287 / 334] SwiftSyntaxMacroExpansion
[293 / 342] SwiftCompilerPluginMessageHandling
[295 / 342] SwiftCompilerPluginMessageHandling
[298 / 342] SwiftCompilerPluginMessageHandling
[305 / 346] SwiftSyntaxMacroExpansion
[307 / 346] SwiftCompilerPlugin
[312 / 346] SwiftCompilerPluginMessageHandling
[312 / 346] SwiftCompilerPlugin
[313 / 347] SwiftCompilerPlugin
[314 / 347] SwiftCompilerPluginMessageHandling
[316 / 348] SwiftSyntax
[319 / 349] SwiftSyntax
[326 / 349] SwiftSyntaxMacros
[334 / 350] DTOMacrosImpl
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/DTOMacrosImpl/Tools/SyntaxUtils.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile SyntaxUtils.swift
/host/spi-builder-workspace/Sources/DTOMacrosImpl/Tools/SyntaxUtils.swift:35:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type 'AttributeListSyntax'[0;0m
[0;36m33 |[0;0m internal static func get(attributeNamed name: String, in structDecl: StructDeclSyntax?) -> AttributeSyntax? {
[0;36m34 |[0;0m guard let structDecl else {return nil}
[0;36m35 |[0;0m return [4;39mstructDecl.attributes?[0;0m.filter({filter(attributeNamed: name, element: $0)}).first?.as(AttributeSyntax.self)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type 'AttributeListSyntax'[0;0m
[0;36m36 |[0;0m }
[0;36m37 |[0;0m
/host/spi-builder-workspace/Sources/DTOMacrosImpl/Tools/SyntaxUtils.swift:40:34: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type 'AttributeListSyntax'[0;0m
[0;36m38 |[0;0m internal static func get(attributeNamed name: String, in varDecl: VariableDeclSyntax?) -> AttributeSyntax? {
[0;36m39 |[0;0m guard let varDecl else {return nil}
[0;36m40 |[0;0m return [4;39mvarDecl.attributes?[0;0m.filter({filter(attributeNamed: name, element: $0)}).first?.as(AttributeSyntax.self)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type 'AttributeListSyntax'[0;0m
[0;36m41 |[0;0m }
[0;36m42 |[0;0m internal static func has(attributeNamed name:String , in varDecl: VariableDeclSyntax?) -> Bool {
/host/spi-builder-workspace/Sources/DTOMacrosImpl/Tools/SyntaxUtils.swift:44:36: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type 'AttributeListSyntax'[0;0m
[0;36m42 |[0;0m internal static func has(attributeNamed name:String , in varDecl: VariableDeclSyntax?) -> Bool {
[0;36m43 |[0;0m guard let varDecl else {return false}
[0;36m44 |[0;0m return !([4;39mvarDecl.attributes?[0;0m.filter{filter(attributeNamed: name, element: $0)}.isEmpty ?? true)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type 'AttributeListSyntax'[0;0m
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/DTOMacrosImpl/DTODiagnostic.swift /host/spi-builder-workspace/Sources/DTOMacrosImpl/DTOMacroImpl.swift /host/spi-builder-workspace/Sources/DTOMacrosImpl/Tools/DiagnosticBuilder.swift /host/spi-builder-workspace/Sources/DTOMacrosImpl/Tools/SyntaxCreator.swift /host/spi-builder-workspace/Sources/DTOMacrosImpl/Tools/SyntaxNodeComparator.swift -primary-file /host/spi-builder-workspace/Sources/DTOMacrosImpl/Tools/SyntaxUtils.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DTOMacro.build/Debug-linux-x86_64/DTOMacrosImpl-t.build/Objects-normal/x86_64/SyntaxUtils.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DTOMacro.build/Debug-linux-x86_64/DTOMacrosImpl-t.build/Objects-normal/x86_64/SyntaxUtils.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DTOMacro.build/Debug-linux-x86_64/DTOMacrosImpl-t.build/Objects-normal/x86_64/SyntaxUtils.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DTOMacro.build/Debug-linux-x86_64/DTOMacrosImpl-t.build/Objects-normal/x86_64/SyntaxUtils.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 Xcode -serialize-debugging-options -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 -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/DTOMacro.build/Debug-linux-x86_64/DTOMacrosImpl-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DTOMacro.build/Debug-linux-x86_64/DTOMacrosImpl-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DTOMacro.build/Debug-linux-x86_64/DTOMacrosImpl-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name DTOMacrosImpl -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/DTOMacro.build/Debug-linux-x86_64/DTOMacrosImpl-t.build/Objects-normal/x86_64/DTOMacrosImpl_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DTOMacro.build/Debug-linux-x86_64/DTOMacrosImpl-t.build/Objects-normal/x86_64/SyntaxUtils.o -index-unit-output-path /DTOMacro.build/Debug-linux-x86_64/DTOMacrosImpl-t.build/Objects-normal/x86_64/SyntaxUtils.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[341 / 357] DTOMacrosImpl
error: Build failed
BUILD FAILURE 6.4 android