The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-binary-parsing, reference main (ca80b3), with Swift 6.4 for Android on 23 Sep 2026 11:23:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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/FlickerSoul/swift-binary-parsing.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/FlickerSoul/swift-binary-parsing
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ca80b3e Lower platform version
Cloned https://github.com/FlickerSoul/swift-binary-parsing.git
Revision (git rev-parse @):
ca80b3e940cb0cbcadf13ddc2f7a2a3aaef33a82
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/FlickerSoul/swift-binary-parsing.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/FlickerSoul/swift-binary-parsing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
[1/1002] Fetching swift-macro-testing
[2/3347] Fetching swift-macro-testing, swift-docc-plugin
Fetched https://github.com/pointfreeco/swift-macro-testing.git (0.51s)
[258/2345] Fetching swift-docc-plugin
[2346/21263] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.76s)
[1/80014] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin (3.01s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.03s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.23s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (0.18s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16477] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.28s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.49s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.87s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.19s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.17s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.49s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.69s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (1.11s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.36s)
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.7.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.6
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 768]
[Planning deferred tasks]
[167 / 335] SwiftSyntax601
[200 / 337] SwiftSyntax509
[200 / 337] TestData
[211 / 337] SwiftSyntax
[224 / 343]
[231 / 361] SwiftSyntax
[232 / 362] SwiftSyntax600
[241 / 362] SwiftSyntax
[242 / 362] SwiftSyntax
[244 / 362] SwiftSyntax
[245 / 362] SwiftSyntax
[246 / 363] SwiftSyntax
[249 / 364] TestData
[252 / 364] ArgumentParserToolInfo
[255 / 364] SwiftSyntax
[256 / 364] ArgumentParser-product
[258 / 364] ArgumentParser
[258 / 364]
[258 / 364] ArgumentParser
[261 / 365] SwiftSyntax
[274 / 393] SwiftParser
[278 / 393] SwiftDiagnostics
[287 / 393] SwiftParser
[288 / 393] SwiftParser
[289 / 393] SwiftParser
[290 / 393] SwiftParser
[291 / 393] SwiftParser
[292 / 393] SwiftParser
[297 / 393] SwiftParser
[299 / 393] SwiftDiagnostics
[300 / 393] SwiftDiagnostics
[301 / 393] SwiftDiagnostics
[302 / 393] SwiftDiagnostics
[303 / 393] SwiftOperators
[306 / 393] SwiftBasicFormat
[307 / 393] SwiftBasicFormat
[309 / 394] SwiftDiagnostics
[314 / 404] SwiftParserDiagnostics
[316 / 405] SwiftParserDiagnostics
[318 / 406] SwiftParserDiagnostics
[319 / 406] SwiftParserDiagnostics
[321 / 406] SwiftParserDiagnostics
[328 / 406] SwiftSyntaxBuilder
[334 / 416] SwiftOperators
[336 / 416] SwiftOperators
[339 / 416] SwiftOperators
[345 / 416] SwiftOperators
[346 / 417] SwiftSyntaxBuilder
[349 / 426] SwiftSyntaxBuilder
[349 / 426] SwiftOperators
[352 / 427] SwiftSyntaxBuilder
[353 / 427] SwiftSyntaxBuilder
[355 / 427] SwiftSyntaxBuilder
[356 / 427] SwiftSyntaxBuilder
[367 / 437] SwiftSyntaxMacros
[369 / 437] SwiftSyntaxMacros
[379 / 439]
[385 / 448] SwiftSyntaxMacroExpansion
[386 / 449] SwiftSyntaxMacros
[388 / 449] SwiftSyntaxMacros
[394 / 450] SwiftSyntaxMacroExpansion
[402 / 460] SwiftCompilerPluginMessageHandling
[403 / 460] SwiftCompilerPluginMessageHandling
[405 / 460] SwiftCompilerPluginMessageHandling
[406 / 460] SwiftCompilerPluginMessageHandling
[409 / 460] SwiftCompilerPluginMessageHandling
[416 / 463] SwiftCompilerPlugin
[423 / 464] SwiftCompilerPluginMessageHandling
[423 / 465] SwiftCompilerPlugin
[425 / 465] SwiftCompilerPluginMessageHandling
[427 / 466] SwiftSyntax
[429 / 467] SwiftSyntax
[430 / 467] SwiftSyntax
[436 / 467] SwiftSyntaxBuilder
[445 / 468] BinaryParsingMacros
[454 / 477] BinaryParsingMacros
[455 / 477] BinaryParsingMacros
[459 / 478] BinaryParsingMacros
[469 / 488] BinaryParsing
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/BinaryParsing/Parsers/Data.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Data.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/BinaryParsing/Parsers/InlineArray.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile InlineArray.swift
/host/spi-builder-workspace/Sources/BinaryParsing/Parsers/Data.swift:23:4: error: invalid lifetime dependence on an Escapable result
21 |   /// - Parameter input: The `ParserSpan` to consume.
22 |   @inlinable
23 |   @_lifetime(&input)
   |    `- error: invalid lifetime dependence on an Escapable result
24 |   public init(parsingRemainingBytes input: inout ParserSpan) {
25 |     defer { _ = input.divide(atOffset: input.count) }
/host/spi-builder-workspace/Sources/BinaryParsing/Parsers/Data.swift:40:4: error: invalid lifetime dependence on an Escapable result
38 |   ///   bytes remaining.
39 |   @inlinable
40 |   @_lifetime(&input)
   |    `- error: invalid lifetime dependence on an Escapable result
41 |   public init(parsing input: inout ParserSpan, byteCount: Int)
42 |     throws(ParsingError)
/host/spi-builder-workspace/Sources/BinaryParsing/Parsers/InlineArray.swift:21:4: error: invalid lifetime dependence on an Escapable result
19 |   ///   bytes remaining.
20 |   @inlinable
21 |   @_lifetime(&input)
   |    `- error: invalid lifetime dependence on an Escapable result
22 |   public init(parsing input: inout ParserSpan) throws {
23 |     let slice = try input._divide(atByteOffset: Self.count)
/host/spi-builder-workspace/Sources/BinaryParsing/Parsers/InlineArray.swift:56:4: error: invalid lifetime dependence on an Escapable result
54 |   /// - Throws: An error if one is thrown from `parser`.
55 |   @inlinable
56 |   @_lifetime(&input)
   |    `- error: invalid lifetime dependence on an Escapable result
57 |   public init(
58 |     parsing input: inout ParserSpan,
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/BinaryParsing/Macros/Macros.swift /host/spi-builder-workspace/Sources/BinaryParsing/Macros/MagicNumber.swift /host/spi-builder-workspace/Sources/BinaryParsing/Operations/OptionalOperations.swift /host/spi-builder-workspace/Sources/BinaryParsing/Operations/Optionators.swift /host/spi-builder-workspace/Sources/BinaryParsing/Operations/ThrowingOperations.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parser\ Types/Endianness.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parser\ Types/ParserRange.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parser\ Types/ParserSource.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parser\ Types/ParserSpan.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parser\ Types/ParsingError.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parser\ Types/Seeking.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parser\ Types/Slicing.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parsers/Array.swift -primary-file /host/spi-builder-workspace/Sources/BinaryParsing/Parsers/Data.swift -primary-file /host/spi-builder-workspace/Sources/BinaryParsing/Parsers/InlineArray.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parsers/Integer.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parsers/IntegerProtocols.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parsers/Range.swift /host/spi-builder-workspace/Sources/BinaryParsing/Parsers/String.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/Data.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/Data.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/Data.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/Data.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/InlineArray.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/InlineArray.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/InlineArray.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/InlineArray.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/BinaryParsingMacros\#BinaryParsingMacros -enable-experimental-feature ValueGenerics -enable-experimental-feature Lifetimes -enable-experimental-feature DebugDescriptionMacro -strict-memory-safety -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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BinaryParsing -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/BinaryParsing_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/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/Data.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/InlineArray.o -index-unit-output-path /swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/Data.o -index-unit-output-path /swift-binary-parsing.build/Debug-android-aarch64/BinaryParsing-t.build/Objects-normal/aarch64/InlineArray.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android