Build Information
Failed to build DTOMacro, reference 0.0.0 (601a66), with Swift 6.4 for Android on 19 Sep 2026 11:03:46 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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OctoPoulpeStudio/DTOMacro.git
Reference: 0.0.0
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
* tag 0.0.0 -> FETCH_HEAD
HEAD is now at 601a662 Update README.md
Cloned https://github.com/OctoPoulpeStudio/DTOMacro.git
Revision (git rev-parse @):
601a662c550cbecedcd219c73e8ff1525690fbb4
SUCCESS checkout https://github.com/OctoPoulpeStudio/DTOMacro.git at 0.0.0
========================================
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-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/79984] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (2.98s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.22s)
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]
[86 / 229] DTOTypes-product
[127 / 241]
[129 / 250] SwiftSyntax
[130 / 250] DTOTypes
[131 / 250] SwiftSyntax509
[143 / 251] DTOTypes
[145 / 251] SwiftSyntax509
[146 / 251] DTOTypes
[148 / 252] SwiftSyntax
[149 / 252] SwiftSyntax
[150 / 252] DTOTypes
[152 / 252] SwiftSyntax
[152 / 252] DTOTypes
[155 / 253] DTOTypes
[156 / 253] SwiftSyntax
[168 / 269] SwiftDiagnostics
[169 / 278] SwiftParser
[170 / 278] SwiftParser
[171 / 278] SwiftDiagnostics
[181 / 278] SwiftBasicFormat
[182 / 278] SwiftParser
[184 / 278] SwiftParser
[187 / 278] SwiftParser
[191 / 278] SwiftParser
[193 / 278] SwiftDiagnostics
[194 / 278] SwiftDiagnostics
[195 / 278] SwiftOperators
[197 / 278] SwiftOperators
[198 / 278] SwiftDiagnostics-product
[200 / 278] SwiftBasicFormat
[201 / 278] SwiftParserDiagnostics
[206 / 299] SwiftOperators
[207 / 299] SwiftParserDiagnostics
[208 / 300] SwiftParserDiagnostics
[209 / 300] SwiftOperators
[210 / 300] SwiftParser
[217 / 301] SwiftParserDiagnostics
[221 / 301] SwiftParserDiagnostics
[222 / 301] SwiftSyntaxBuilder
[223 / 301] SwiftSyntaxBuilder
[225 / 301] SwiftParser
[229 / 301] SwiftParser
[232 / 301] SwiftOperators
[234 / 301] SwiftOperators
[235 / 301] SwiftDiagnostics
[238 / 302] SwiftSyntaxBuilder
[241 / 311] SwiftSyntaxBuilder
[242 / 312] SwiftSyntaxBuilder
[243 / 312] SwiftSyntaxBuilder
[244 / 313] SwiftSyntaxBuilder
[245 / 313] SwiftSyntaxBuilder
[246 / 313] SwiftSyntaxBuilder
[248 / 313] SwiftSyntaxBuilder
[249 / 313] SwiftSyntaxBuilder
[254 / 313] SwiftOperators
[259 / 323] SwiftSyntaxMacros
[262 / 323] SwiftSyntaxBuilder
[267 / 323] SwiftSyntaxMacros
[268 / 323] SwiftSyntaxMacros-product
[269 / 323] SwiftSyntaxMacros-product
[275 / 332] SwiftSyntaxMacroExpansion
[277 / 333] SwiftSyntaxMacros
[280 / 333] SwiftSyntaxMacroExpansion
[286 / 333] SwiftSyntaxMacroExpansion
[287 / 333] SwiftCompilerPluginMessageHandling
[290 / 341] SwiftCompilerPluginMessageHandling
[292 / 341] SwiftCompilerPluginMessageHandling
[299 / 342] SwiftCompilerPluginMessageHandling
[302 / 342] SwiftCompilerPluginMessageHandling
[305 / 345] SwiftCompilerPlugin
[310 / 345] 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