Build Information
Failed to build DTOMacro, reference 0.0.0 (601a66), with Swift 6.4 for Wasm on 19 Sep 2026 11:03:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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>&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: wasm
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-54344844-1":/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/79984] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (3.13s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.29s)
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 / 562]
[Planning deferred tasks]
[119 / 237] SwiftSyntax509
[126 / 247] DTOTypes
[139 / 247] SwiftSyntax
[140 / 248] SwiftSyntax509
[142 / 248] SwiftSyntax509
[145 / 248] SwiftSyntax509
[147 / 249] SwiftSyntax
[148 / 249] DTOTypes
[150 / 249]
[150 / 249] DTOTypes
[153 / 250]
[154 / 250] SwiftSyntax
[166 / 266] SwiftBasicFormat
[168 / 275] SwiftParser
[170 / 275] SwiftDiagnostics
[172 / 275] SwiftDiagnostics
[177 / 275] SwiftBasicFormat
[178 / 275] SwiftBasicFormat
[184 / 275] SwiftParser
[186 / 275] SwiftParser
[190 / 275] SwiftParser
[192 / 275] SwiftDiagnostics
[193 / 275] SwiftDiagnostics
[193 / 275] SwiftParser
[194 / 275] SwiftOperators
[195 / 275] SwiftOperators
[197 / 275] SwiftBasicFormat
[198 / 276] SwiftDiagnostics
[199 / 276] SwiftBasicFormat
[201 / 276] SwiftParserDiagnostics
[205 / 286] SwiftParserDiagnostics
[206 / 288] SwiftParser
[207 / 288] SwiftParserDiagnostics
[208 / 288] SwiftParserDiagnostics
[209 / 288] SwiftParserDiagnostics
[210 / 288] SwiftParserDiagnostics
[216 / 288] SwiftParserDiagnostics
[219 / 288] SwiftParser
[224 / 308] SwiftSyntaxBuilder
[225 / 308] SwiftOperators
[232 / 308] SwiftSyntaxBuilder
[233 / 308] SwiftSyntaxBuilder
[236 / 308] SwiftSyntaxBuilder
[240 / 308] SwiftSyntaxBuilder
[241 / 309] SwiftSyntaxMacros
[242 / 309] SwiftSyntaxMacros
[244 / 309] SwiftSyntaxBuilder
[246 / 309] SwiftOperators
[250 / 309] SwiftOperators
[252 / 309] SwiftOperators
[252 / 309]
[253 / 310]
[256 / 319] SwiftSyntaxMacros
[258 / 319] SwiftSyntaxMacros
[260 / 319] SwiftSyntaxMacros
[266 / 319] SwiftSyntaxMacros
[269 / 321] SwiftSyntaxMacroExpansion
[275 / 331] SwiftSyntaxMacros
[278 / 331] SwiftSyntaxMacros
[288 / 332]
[292 / 339] SwiftCompilerPluginMessageHandling
[293 / 339] SwiftCompilerPluginMessageHandling
[295 / 339] SwiftCompilerPluginMessageHandling
[300 / 340] SwiftCompilerPlugin
[303 / 342] SwiftCompilerPlugin
[308 / 342] SwiftCompilerPluginMessageHandling
[308 / 342] SwiftSyntaxMacroExpansion
[310 / 343] SwiftCompilerPlugin
[312 / 344] SwiftCompilerPluginMessageHandling
[314 / 345] SwiftSyntax
[317 / 346] SwiftSyntax
[324 / 346] SwiftSyntaxMacros
[332 / 347] 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:
/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 /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 -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 /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/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
[339 / 354] DTOMacrosImpl
error: Build failed
BUILD FAILURE 6.4 wasm