Build Information
Failed to build CloakedStringMacro, reference 0.1.0 (9b8535), with Swift 6.4 for Linux on 21 Sep 2026 01:13:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/pykaso/swiftmacro-cloaked-string.git
Reference: 0.1.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/pykaso/swiftmacro-cloaked-string
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 9b8535a initial commit
Cloned https://github.com/pykaso/swiftmacro-cloaked-string.git
Revision (git rev-parse @):
9b8535a9d8eb302080e3faf19455be50b002fd0a
SUCCESS checkout https://github.com/pykaso/swiftmacro-cloaked-string.git at 0.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/pykaso/swiftmacro-cloaked-string.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/79999] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (2.87s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.02s)
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 / 474]
[Finalizing plan]
[95 / 199] SwiftSyntax509
[103 / 203] SwiftSyntax
[111 / 211] SwiftSyntax
[112 / 212] SwiftSyntax509
[114 / 212] SwiftSyntax509
[115 / 212] SwiftSyntax
[128 / 237] SwiftParser
[131 / 237] SwiftDiagnostics
[133 / 237] SwiftDiagnostics
[139 / 237] SwiftBasicFormat
[145 / 237] SwiftParser
[147 / 237] SwiftParser
[151 / 237] SwiftParser
[153 / 237] SwiftOperators
[156 / 237] SwiftDiagnostics
[157 / 237] SwiftBasicFormat
[161 / 238] SwiftParserDiagnostics
[167 / 259] SwiftParser
[169 / 259] SwiftParserDiagnostics
[170 / 259] SwiftParserDiagnostics
[173 / 260] SwiftOperators
[180 / 260] SwiftParserDiagnostics
[184 / 260] SwiftParserDiagnostics
[187 / 260] SwiftSyntaxBuilder
[191 / 260] SwiftOperators
[194 / 260] SwiftOperators
[199 / 270] SwiftSyntaxBuilder
[200 / 270] SwiftSyntaxBuilder
[202 / 271] SwiftSyntaxBuilder
[203 / 271] SwiftSyntaxBuilder
[209 / 272] SwiftSyntaxBuilder
[210 / 272] SwiftSyntaxMacros
[211 / 272] SwiftSyntaxMacros
[218 / 282] SwiftSyntaxMacros
[221 / 282] SwiftSyntaxMacros
[227 / 282] SwiftSyntaxMacros-product
[234 / 292] SwiftSyntaxMacroExpansion
[237 / 292] SwiftSyntaxMacroExpansion
[238 / 292] SwiftSyntaxMacros
[243 / 293] SwiftSyntaxBuilder
[251 / 301] SwiftCompilerPluginMessageHandling
[255 / 301] SwiftCompilerPluginMessageHandling
[261 / 301] SwiftCompilerPluginMessageHandling
[264 / 304] SwiftCompilerPluginMessageHandling
[264 / 304] SwiftSyntaxMacroExpansion
[266 / 305] SwiftCompilerPluginMessageHandling
[268 / 306] SwiftCompilerPlugin
[273 / 306] SwiftCompilerPlugin
[275 / 307] SwiftSyntax
[278 / 308] SwiftSyntax
[285 / 308] SwiftSyntaxMacros
[293 / 309] CloakedStringMacroMacros
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/CloakedStringMacroMacros/CloakedStringMacroMacro.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile CloakedStringMacroMacro.swift
/host/spi-builder-workspace/Sources/CloakedStringMacroMacros/CloakedStringMacroMacro.swift:50:36: [1;31merror: [1;39mvalue of type 'String' has no member 'data'[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m let rawString = literalSegment.content.text
[0;36m50 |[0;0m guard let data = [4;39mrawString[0;0m.[4;39mdata[0;0m(using: .utf8) else {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'String' has no member 'data'[0;0m
[0;36m51 |[0;0m throw CloakedMacroError.failedToGetBytesFromString
[0;36m52 |[0;0m }
/host/spi-builder-workspace/Sources/CloakedStringMacroMacros/CloakedStringMacroMacro.swift:65:38: [1;31merror: [1;39mno exact matches in call to initializer [0;0m
[0;36m63 |[0;0m
[0;36m64 |[0;0m private static func validate(bytes: [UInt8], originalString: String) -> Bool {
[0;36m65 |[0;0m if let reconstructedString = String(bytes: bytes, encoding: .utf8), reconstructedString == originalString {
[0;36m|[0;0m |- [1;31merror: [1;39mno exact matches in call to initializer [0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mfound candidate with type '([UInt8]) -> String'[0;0m
[0;36m66 |[0;0m return true
[0;36m67 |[0;0m }
/host/spi-builder-workspace/Sources/CloakedStringMacroMacros/CloakedStringMacroMacro.swift:65:70: [1;31merror: [1;39mcannot infer contextual base in reference to member 'utf8'[0;0m
[0;36m63 |[0;0m
[0;36m64 |[0;0m private static func validate(bytes: [UInt8], originalString: String) -> Bool {
[0;36m65 |[0;0m if let reconstructedString = String(bytes: bytes, encoding: [4;39m.utf8[0;0m), reconstructedString == originalString {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot infer contextual base in reference to member 'utf8'[0;0m
[0;36m66 |[0;0m return true
[0;36m67 |[0;0m }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/CloakedStringMacroMacros/CloakedStringMacroMacro.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CloakedStringMacro.build/Debug-linux-x86_64/CloakedStringMacroMacros-t.build/Objects-normal/x86_64/CloakedStringMacroMacro.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CloakedStringMacro.build/Debug-linux-x86_64/CloakedStringMacroMacros-t.build/Objects-normal/x86_64/CloakedStringMacroMacro.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CloakedStringMacro.build/Debug-linux-x86_64/CloakedStringMacroMacros-t.build/Objects-normal/x86_64/CloakedStringMacroMacro.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CloakedStringMacro.build/Debug-linux-x86_64/CloakedStringMacroMacros-t.build/Objects-normal/x86_64/CloakedStringMacroMacro.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 -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/CloakedStringMacro.build/Debug-linux-x86_64/CloakedStringMacroMacros-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CloakedStringMacro.build/Debug-linux-x86_64/CloakedStringMacroMacros-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CloakedStringMacro.build/Debug-linux-x86_64/CloakedStringMacroMacros-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CloakedStringMacroMacros -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/CloakedStringMacro.build/Debug-linux-x86_64/CloakedStringMacroMacros-t.build/Objects-normal/x86_64/CloakedStringMacroMacros_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/CloakedStringMacro.build/Debug-linux-x86_64/CloakedStringMacroMacros-t.build/Objects-normal/x86_64/CloakedStringMacroMacro.o -index-unit-output-path /CloakedStringMacro.build/Debug-linux-x86_64/CloakedStringMacroMacros-t.build/Objects-normal/x86_64/CloakedStringMacroMacro.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux