The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CloakedStringMacro, reference 0.1.0 (9b8535), with Swift 6.4 for Android on 21 Sep 2026 01:13:54 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>&1

Build 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:         android
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-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/79999] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (3.11s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.26s)
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]
[Planning deferred tasks]
[98 / 202] SwiftSyntax509
[114 / 214] SwiftSyntax
[115 / 215] SwiftSyntax509
[117 / 215] SwiftSyntax509
[118 / 215] SwiftSyntax
[131 / 240] SwiftParser
[133 / 240] SwiftParser
[136 / 240] SwiftDiagnostics
[152 / 240] SwiftParser
[153 / 240] SwiftParser
[155 / 240] SwiftDiagnostics
[155 / 240] SwiftParser
[156 / 240] SwiftOperators
[157 / 240] SwiftOperators
[160 / 240] SwiftDiagnostics
[162 / 240] SwiftBasicFormat
[164 / 241]
[170 / 261] SwiftParserDiagnostics
[173 / 262] SwiftOperators
[180 / 263] SwiftParserDiagnostics
[182 / 263] SwiftParserDiagnostics
[186 / 263] SwiftParserDiagnostics
[190 / 263] SwiftOperators
[191 / 263] SwiftOperators
[192 / 263] SwiftOperators
[193 / 263] SwiftOperators
[197 / 263] SwiftDiagnostics
[204 / 273] SwiftSyntaxBuilder
[205 / 274] SwiftSyntaxBuilder
[207 / 274] SwiftSyntaxBuilder
[212 / 274] SwiftSyntaxBuilder
[212 / 275] SwiftSyntaxBuilder
[213 / 275] SwiftSyntaxMacros
[219 / 276]
[223 / 285] SwiftSyntaxMacros
[231 / 285] SwiftSyntaxMacros
[237 / 294] SwiftSyntaxMacroExpansion
[237 / 294] SwiftSyntaxBuilder
[240 / 296] SwiftSyntaxMacros
[247 / 296] SwiftSyntaxMacroExpansion
[254 / 304] SwiftCompilerPluginMessageHandling
[255 / 304] SwiftCompilerPluginMessageHandling
[259 / 304] SwiftCompilerPluginMessageHandling
[260 / 304] SwiftCompilerPluginMessageHandling
[267 / 307] SwiftSyntaxMacroExpansion
[269 / 308] SwiftCompilerPluginMessageHandling
[271 / 309] SwiftCompilerPlugin
[276 / 309] SwiftCompilerPlugin
[278 / 310] SwiftSyntax
[281 / 311] SwiftSyntax
[288 / 311] SwiftSyntaxMacros
[296 / 312] 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: error: value of type 'String' has no member 'data'
48 |
49 |         let rawString = literalSegment.content.text
50 |         guard let data = rawString.data(using: .utf8) else {
   |                                    `- error: value of type 'String' has no member 'data'
51 |             throw CloakedMacroError.failedToGetBytesFromString
52 |         }
/host/spi-builder-workspace/Sources/CloakedStringMacroMacros/CloakedStringMacroMacro.swift:65:38: error: no exact matches in call to initializer 
63 |
64 |     private static func validate(bytes: [UInt8], originalString: String) -> Bool {
65 |         if let reconstructedString = String(bytes: bytes, encoding: .utf8), reconstructedString == originalString {
   |                                      |- error: no exact matches in call to initializer 
   |                                      `- note: found candidate with type '([UInt8]) -> String'
66 |             return true
67 |         }
/host/spi-builder-workspace/Sources/CloakedStringMacroMacros/CloakedStringMacroMacro.swift:65:70: error: cannot infer contextual base in reference to member 'utf8'
63 |
64 |     private static func validate(bytes: [UInt8], originalString: String) -> Bool {
65 |         if let reconstructedString = String(bytes: bytes, encoding: .utf8), reconstructedString == originalString {
   |                                                                      `- error: cannot infer contextual base in reference to member 'utf8'
66 |             return true
67 |         }
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 /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/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 /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/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 android