The Swift Package Index logo.Swift Package Index

Build Information

Failed to build aviancore, reference main (d7a4ef), with Swift 6.4 for Android on 13 Oct 2026 03:05:11 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grepjava/aviancore.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/grepjava/aviancore
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d7a4ef3 Call it 0.7.3
Cloned https://github.com/grepjava/aviancore.git
Revision (git rev-parse @):
d7a4ef3479c12afa31ada6f30e1994c0fd9340e7
SUCCESS checkout https://github.com/grepjava/aviancore.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/grepjava/aviancore.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:34a00a57f57797b403a98b861c3ce940f20735b4cb78ef45654f0d4f3b0c0295
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Pre-planning 1 / 300]
[Planning deferred tasks]
[7 / 482]
[52 / 482] CAvianSSL
[55 / 482] CAvianSSL
[58 / 482] CAvianSSL
[59 / 482] CAvianSSL
[64 / 482] CAvianSSL
[69 / 482] CAvianSSL
[72 / 482] CAvianSSL
[75 / 482] CAvianSSL
[78 / 482] CAvianSSL
[80 / 482] CAvianSSL
[83 / 482] CAvianSSL
[86 / 482] CAvianSSL
[92 / 482] CAvianSSL
[97 / 482] CAvianSSL
[100 / 482] CAvianSSL
[104 / 482] CAvianSSL
[105 / 482] CAvianSSL
[108 / 482] CAvianSSL
[111 / 482] CAvianSSL
[112 / 482] CAvianSSL
[116 / 482] CAvianSSL
[120 / 482] CAvianSSL
[124 / 482] CAvianSSL
[129 / 482] CAvianSSL
[131 / 482] CAvianSSL
[133 / 482] CAvianSSL
[135 / 482] CAvianSSL
[136 / 482] CAvianSSL
[139 / 482] CAvianSSL
[142 / 482] CAvianSSL
[144 / 482] CAvianSSL
[145 / 482] CAvianSSL
[146 / 482] CAvianSSL
[148 / 482] CAvianSSL
[149 / 482] CAvianSSL
[151 / 482] CAvianSSL
[153 / 482] CAvianSSL
[154 / 482] CAvianSSL
[155 / 482] CAvianSSL
[158 / 482] CAvianSSL
[160 / 482] CAvianSSL
[161 / 482] CAvianSSL
[166 / 482] CAvianSSL
[175 / 482] CAvianSSL
[181 / 482] CAvianSSL
[192 / 482] CAvianSSL
[198 / 482] CAvianSSL
[199 / 482] CAvianSSL
[201 / 482] CAvianSSL
[202 / 482] CAvianSSL
[206 / 482] CAvianSSL
[208 / 482] CAvianSSL
[213 / 482] CAvianSSL
[215 / 482] CAvianSSL
[217 / 482] CAvianSSL
[222 / 482] CAvianSSL
[224 / 482] CAvianSSL
[226 / 482] CAvianSSL
[230 / 482] CAvianSSL
[232 / 482] CAvianSSL
[236 / 482] CAvianSSL
[238 / 482] CAvianSSL
[241 / 482] CAvianSSL
[242 / 482] CAvianSSL
[245 / 482] CAvianSSL
[251 / 482] CAvianSSL
[260 / 482] CAvianSSL
[262 / 482] CAvianSSL
[263 / 482] CAvianSSL
[271 / 482] CAvianSSL
[275 / 482] CAvianSSL
[278 / 482] CAvianSSL
[282 / 482] CAvianSSL
[288 / 482] CAvianSSL
[299 / 482] CAvianSSL
[300 / 482] CAvianSSL
[308 / 482] CAvianSSL
[311 / 482] CAvianSSL
[313 / 482] CAvianSSL
[317 / 482] CAvianSSL
[318 / 482] CAvianSSL
[319 / 482] CAvianSSL
[324 / 482] CAvianSSL
[330 / 482] CAvianSSL
[332 / 482] CAvianSSL
[338 / 482] CAvianSSL
[339 / 482] CAvianSSL
[341 / 482] CAvianSSL
[346 / 482] CAvianSSL
[348 / 482] CAvianSSL
[349 / 482] CAvianSSL
[351 / 482] CAvianSSL
[353 / 482] CAvianSSL
[355 / 482] CAvianSSL
[358 / 482] CAvianSSL
[367 / 482] CAvianSSL
[379 / 482] CAvianSSL
[381 / 482] CAvianSSL
[387 / 482] CAvianSSL
[388 / 482] CAvianSSL
[392 / 482] CAvianSSL
[395 / 482] CAvianSSL
[398 / 482] CAvianSSL
[406 / 482] CAvianSSL
[417 / 482] CAvianSSL
[425 / 482] CAvianSSL
[427 / 482] CAvianSSL
[429 / 482] CAvianSSL
[431 / 482] CAvianSSL
[433 / 482] CAvianSSL
[435 / 482] CAvianSSL
[436 / 482] CAvianSSL
[437 / 482] CAvianSSL
[439 / 482] CAvianSSL
[443 / 482] CAvian
[449 / 482] CAvian
[455 / 483] AvianCore
[461 / 492] AvianCore
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/AvianCore/BufferPool.swift:74:13: error: cannot find 'free' in scope
72 |             count &+= 1
73 |         } else {
74 |             free(p)
   |             `- error: cannot find 'free' in scope
75 |         }
76 |     }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:44:27: error: cannot find 'malloc' in scope
 42 |     public init(capacity: Int) {
 43 |         if capacity > 0 {
 44 |             guard let p = malloc(capacity) else {
    |                           `- error: cannot find 'malloc' in scope
 45 |                 allocationFailed(capacity, "a new buffer")
 46 |             }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:153:13: error: cannot find 'memmove' in scope
151 |         if readerIndex == 0 { return }
152 |         if n > 0 {
153 |             memmove(storage.unsafelyUnwrapped, storage.unsafelyUnwrapped + readerIndex, n)
    |             `- error: cannot find 'memmove' in scope
154 |         }
155 |         readerIndex = 0
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:165:9: error: cannot find 'memcpy' in scope
163 |         if n == 0 { return }
164 |         reserve(n)
165 |         memcpy(storage.unsafelyUnwrapped + writerIndex, p, n)
    |         `- error: cannot find 'memcpy' in scope
166 |         writerIndex &+= n
167 |     }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:267:30: error: cannot find 'free' in scope
265 |     @inlinable
266 |     public mutating func destroy() {
267 |         if let s = storage { free(s) }
    |                              `- error: cannot find 'free' in scope
268 |         storage = nil
269 |         capacity = 0
/host/spi-builder-workspace/Sources/AvianCore/Bytes.swift:90:12: error: cannot find 'memcmp' in scope
 88 | public func equalsExact(_ p: UnsafePointer<UInt8>, _ n: Int, _ literal: StaticString) -> Bool {
 89 |     guard n == literal.utf8CodeUnitCount else { return false }
 90 |     return memcmp(p, literal.utf8Start, n) == 0
    |            `- error: cannot find 'memcmp' in scope
 91 | }
 92 |
/host/spi-builder-workspace/Sources/AvianCore/Bytes.swift:122:21: error: cannot find 'memchr' in scope
120 |     // memchr is vectorised in every libc worth using; hand-rolling a loop here
121 |     // measurably loses on long header values.
122 |     guard let hit = memchr(p, Int32(needle), n) else { return -1 }
    |                     `- error: cannot find 'memchr' in scope
123 |     return UnsafeRawPointer(hit) - UnsafeRawPointer(p)
124 | }
/host/spi-builder-workspace/Sources/AvianCore/Log.swift:60:20: error: cannot find 'memcpy' in scope
 58 |     public mutating func str(_ s: StaticString) {
 59 |         let n = clip(s.utf8CodeUnitCount, softCap &- len)
 60 |         if n > 0 { memcpy(buf + len, s.utf8Start, n); len &+= n }
    |                    `- error: cannot find 'memcpy' in scope
 61 |     }
 62 |
/host/spi-builder-workspace/Sources/AvianCore/Log.swift:66:20: error: cannot find 'memcpy' in scope
 64 |     public mutating func bytes(_ p: UnsafePointer<UInt8>, _ n0: Int) {
 65 |         let n = clip(n0, softCap &- len)
 66 |         if n > 0 { memcpy(buf + len, p, n); len &+= n }
    |                    `- error: cannot find 'memcpy' in scope
 67 |     }
 68 |
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AvianCore/Allocation.swift /host/spi-builder-workspace/Sources/AvianCore/BufferPool.swift /host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift /host/spi-builder-workspace/Sources/AvianCore/Bytes.swift /host/spi-builder-workspace/Sources/AvianCore/CivilTime.swift /host/spi-builder-workspace/Sources/AvianCore/Log.swift /host/spi-builder-workspace/Sources/AvianCore/LoopExecutor.swift /host/spi-builder-workspace/Sources/AvianCore/Poller.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/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 -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/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.0-RELEASE_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-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CAvian.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/Sources/CAvianSSL/include/module.modulemap -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/Sources/CAvian/include -Xcc -I/host/spi-builder-workspace/Sources/CAvianSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/aviancore.build/Debug-android-aarch64/AvianCore-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/aviancore.build/Debug-android-aarch64/AvianCore-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/aviancore.build/Debug-android-aarch64/AvianCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AvianCore -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/aviancore.build/Debug-android-aarch64/AvianCore-t.build/Objects-normal/aarch64/AvianCore_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/aviancore.build/Debug-android-aarch64/AvianCore-t.build/Objects-normal/aarch64/Modules/AvianCore.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/aviancore.build/Debug-android-aarch64/AvianCore-t.build/Objects-normal/aarch64/Modules/AvianCore.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/aviancore.build/Debug-android-aarch64/AvianCore-t.build/Objects-normal/aarch64/AvianCore-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/aviancore.build/Debug-android-aarch64/AvianCore-t.build/Objects-normal/aarch64/AvianCore-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/aviancore.build/Debug-android-aarch64/AvianCore-t.build/Objects-normal/aarch64/AvianCore-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/aviancore.build/Debug-android-aarch64/AvianCore-t.build/Objects-normal/aarch64/Modules/AvianCore.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android