The Swift Package Index logo.Swift Package Index

Build Information

Failed to build aviancore, reference 0.8.0 (328b37), with Swift 6.4 for Android on 24 Oct 2026 23:05:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grepjava/aviancore.git
Reference: 0.8.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/grepjava/aviancore
 * tag               0.8.0      -> FETCH_HEAD
HEAD is now at 328b37f Link the cache and bus unit tests against the system layer they map memory with
Cloned https://github.com/grepjava/aviancore.git
Revision (git rev-parse @):
328b37f2762797c7d71853078932f4fee6d6f5b5
SUCCESS checkout https://github.com/grepjava/aviancore.git at 0.8.0
========================================
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-53886768-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:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
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]
[50 / 484] CAvianSSL
[62 / 484] CAvianSSL
[63 / 484] CAvianSSL
[71 / 484] CAvianSSL
[78 / 484] CAvianSSL
[79 / 484] CAvianSSL
[95 / 484] CAvianSSL
[97 / 484] CAvianSSL
[98 / 484] CAvianSSL
[104 / 484] CAvianSSL
[106 / 484] CAvianSSL
[112 / 484] CAvianSSL
[113 / 484] CAvianSSL
[121 / 484] CAvianSSL
[123 / 484] CAvianSSL
[125 / 484] CAvianSSL
[126 / 484] CAvianSSL
[129 / 484] CAvianSSL
[130 / 484] CAvianSSL
[136 / 484] CAvianSSL
[138 / 484] CAvianSSL
[141 / 484] CAvianSSL
[143 / 484] CAvianSSL
[144 / 484] CAvianSSL
[147 / 484] CAvianSSL
[148 / 484] CAvianSSL
[151 / 484] CAvianSSL
[152 / 484] CAvianSSL
[155 / 484] CAvianSSL
[156 / 484] CAvianSSL
[157 / 484] CAvianSSL
[159 / 484] CAvianSSL
[161 / 484] CAvianSSL
[164 / 484] CAvianSSL
[172 / 484] CAvianSSL
[185 / 484] CAvianSSL
[197 / 484] CAvianSSL
[199 / 484] CAvianSSL
[201 / 484] CAvianSSL
[206 / 484] CAvianSSL
[207 / 484] CAvianSSL
[211 / 484] CAvianSSL
[215 / 484] CAvianSSL
[216 / 484] CAvianSSL
[220 / 484] CAvianSSL
[223 / 484] CAvianSSL
[224 / 484] CAvianSSL
[228 / 484] CAvianSSL
[230 / 484] CAvianSSL
[234 / 484] CAvianSSL
[236 / 484] CAvianSSL
[238 / 484] CAvianSSL
[240 / 484] CAvianSSL
[242 / 484] CAvianSSL
[244 / 484] CAvianSSL
[251 / 484] CAvianSSL
[260 / 484] CAvianSSL
[263 / 484] CAvianSSL
[270 / 484] CAvianSSL
[272 / 484] CAvianSSL
[274 / 484] CAvianSSL
[278 / 484] CAvianSSL
[282 / 484] CAvianSSL
[289 / 484] CAvianSSL
[299 / 484] CAvianSSL
[308 / 484] CAvianSSL
[312 / 484] CAvianSSL
[316 / 484] CAvianSSL
[318 / 484] CAvianSSL
[324 / 484] CAvianSSL
[325 / 484] CAvianSSL
[329 / 484] CAvianSSL
[331 / 484] CAvianSSL
[335 / 484] CAvianSSL
[338 / 484] CAvianSSL
[342 / 484] CAvianSSL
[345 / 484] CAvianSSL
[348 / 484] CAvianSSL
[349 / 484] CAvianSSL
[352 / 484] CAvianSSL
[356 / 484] CAvianSSL
[363 / 484] CAvianSSL
[373 / 484] CAvianSSL
[378 / 484] CAvianSSL
[381 / 484] CAvianSSL
[387 / 484] CAvianSSL
[388 / 484] CAvianSSL
[393 / 484] CAvianSSL
[396 / 484] CAvianSSL
[400 / 484] CAvianSSL
[408 / 484] CAvianSSL
[419 / 484] CAvianSSL
[426 / 484] CAvianSSL
[427 / 484] CAvianSSL
[428 / 484] CAvianSSL
[429 / 484] CAvianSSL
[432 / 484] CAvianSSL
[435 / 484] CAvianSSL
[436 / 484] CAvianSSL
[439 / 484] CAvianSSL
[443 / 484] CAvian
[451 / 484] CAvian
[462 / 494] AvianCore
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

[465 / 494] AvianCore
/host/spi-builder-workspace/Sources/AvianCore/BufferPool.swift:76:13: error: cannot find 'free' in scope
74 |             count &+= 1
75 |         } else {
76 |             free(p)
   |             `- error: cannot find 'free' in scope
77 |         }
78 |     }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:46:27: error: cannot find 'malloc' in scope
 44 |     public init(capacity: Int) {
 45 |         if capacity > 0 {
 46 |             guard let p = malloc(capacity) else {
    |                           `- error: cannot find 'malloc' in scope
 47 |                 allocationFailed(capacity, "a new buffer")
 48 |             }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:155:13: error: cannot find 'memmove' in scope
153 |         if readerIndex == 0 { return }
154 |         if n > 0 {
155 |             memmove(storage.unsafelyUnwrapped, storage.unsafelyUnwrapped + readerIndex, n)
    |             `- error: cannot find 'memmove' in scope
156 |         }
157 |         readerIndex = 0
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:167:9: error: cannot find 'memcpy' in scope
165 |         if n == 0 { return }
166 |         reserve(n)
167 |         memcpy(storage.unsafelyUnwrapped + writerIndex, p, n)
    |         `- error: cannot find 'memcpy' in scope
168 |         writerIndex &+= n
169 |     }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:269:30: error: cannot find 'free' in scope
267 |     @inlinable
268 |     public mutating func destroy() {
269 |         if let s = storage { free(s) }
    |                              `- error: cannot find 'free' in scope
270 |         storage = nil
271 |         capacity = 0
/host/spi-builder-workspace/Sources/AvianCore/Bytes.swift:92:12: error: cannot find 'memcmp' in scope
 90 | public func equalsExact(_ p: UnsafePointer<UInt8>, _ n: Int, _ literal: StaticString) -> Bool {
 91 |     guard n == literal.utf8CodeUnitCount else { return false }
 92 |     return memcmp(p, literal.utf8Start, n) == 0
    |            `- error: cannot find 'memcmp' in scope
 93 | }
 94 |
/host/spi-builder-workspace/Sources/AvianCore/Bytes.swift:124:21: error: cannot find 'memchr' in scope
122 |     // memchr is vectorised in every libc worth using; hand-rolling a loop here
123 |     // measurably loses on long header values.
124 |     guard let hit = memchr(p, Int32(needle), n) else { return -1 }
    |                     `- error: cannot find 'memchr' in scope
125 |     return UnsafeRawPointer(hit) - UnsafeRawPointer(p)
126 | }
/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