Build Information
Failed to build swift-inotify, reference 0.9.2 (cc6af8), with Swift 6.4 for Android on 29 Sep 2026 10:32:07 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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/swift-inotify.git
Reference: 0.9.2
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/sersoft-gmbh/swift-inotify
* tag 0.9.2 -> FETCH_HEAD
HEAD is now at cc6af8a Add Swift 6.4 support, drop Swift 6.0 support
Cloned https://github.com/sersoft-gmbh/swift-inotify.git
Revision (git rev-parse @):
cc6af8aad72ee86ffedb524358cd5ef9163f8b9e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sersoft-gmbh/swift-inotify.git at 0.9.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/sersoft-gmbh/swift-inotify.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/sersoft-gmbh/swift-filestreamer
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-docc-plugin
[1/2213] Fetching swift-filestreamer
[2214/4558] Fetching swift-filestreamer, swift-docc-plugin
Fetched https://github.com/sersoft-gmbh/swift-filestreamer (0.54s)
[236/9331] Fetching swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-docc-plugin (0.61s)
[6917/6986] Fetching swift-system
Fetched https://github.com/apple/swift-system (0.65s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.11.2 (0.82s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.07s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3832] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.62s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.22s)
Creating working copy for https://github.com/sersoft-gmbh/swift-filestreamer
Working copy of https://github.com/sersoft-gmbh/swift-filestreamer resolved at 0.11.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[35 / 58] SystemPackage
[44 / 66] SystemPackage
[52 / 70] SystemPackage
[53 / 70] FileStreamer
[62 / 74] Inotify
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:10:8: [1;31merror: [1;39mUnsupported platform[0;0m
[0;36m8 |[0;0m import ucrt
[0;36m9 |[0;0m #else
[0;36m10 |[0;0m #error([4;39m"Unsupported platform"[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mUnsupported platform[0;0m
[0;36m11 |[0;0m #endif
[0;36m12 |[0;0m fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:10:8: [1;31merror: [1;39mUnsupported platform[0;0m
[0;36m8 |[0;0m import ucrt
[0;36m9 |[0;0m #else
[0;36m10 |[0;0m #error([4;39m"Unsupported platform"[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mUnsupported platform[0;0m
[0;36m11 |[0;0m #endif
[0;36m12 |[0;0m public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:77:29: [1;31merror: [1;39mcannot find 'inotify_init1' in scope[0;0m
[0;36m75 |[0;0m /// Creates a new instance.
[0;36m76 |[0;0m public init() throws {
[0;36m77 |[0;0m guard case let fd = [4;39minotify_init1[0;0m(0), fd != -1
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'inotify_init1' in scope[0;0m
[0;36m78 |[0;0m else { throw Errno(rawValue: errno) }
[0;36m79 |[0;0m fileDescriptor = .init(rawValue: fd)
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:78:38: [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m76 |[0;0m public init() throws {
[0;36m77 |[0;0m guard case let fd = inotify_init1(0), fd != -1
[0;36m78 |[0;0m else { throw Errno(rawValue: [4;39merrno[0;0m) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m79 |[0;0m fileDescriptor = .init(rawValue: fd)
[0;36m80 |[0;0m }
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: [1;39mnote: [1;39mmacro 'errno' unavailable: structure not supported[0;0m
[0;36m56 |[0;0m * thread.
[0;36m57 |[0;0m */
[0;36m58 |[0;0m #define errno (*__errno())
[0;36m|[0;0m `- [1;39mnote: [1;39mmacro 'errno' unavailable: structure not supported[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m __END_DECLS
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:48:75: [1;31merror: [1;39mcannot find 'IN_ACCESS' in scope[0;0m
[0;36m46 |[0;0m extension InotifyEvent.Flags {
[0;36m47 |[0;0m /// File was accessed.
[0;36m48 |[0;0m public static let accessed = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_ACCESS[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_ACCESS' in scope[0;0m
[0;36m49 |[0;0m /// File was modified.
[0;36m50 |[0;0m public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:50:75: [1;31merror: [1;39mcannot find 'IN_MODIFY' in scope[0;0m
[0;36m48 |[0;0m public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
[0;36m49 |[0;0m /// File was modified.
[0;36m50 |[0;0m public static let modified = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_MODIFY[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_MODIFY' in scope[0;0m
[0;36m51 |[0;0m /// Metadata changed.
[0;36m52 |[0;0m public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:52:84: [1;31merror: [1;39mcannot find 'IN_ATTRIB' in scope[0;0m
[0;36m50 |[0;0m public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
[0;36m51 |[0;0m /// Metadata changed.
[0;36m52 |[0;0m public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_ATTRIB[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_ATTRIB' in scope[0;0m
[0;36m53 |[0;0m /// A writeable file was closed.
[0;36m54 |[0;0m public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:54:85: [1;31merror: [1;39mcannot find 'IN_CLOSE_WRITE' in scope[0;0m
[0;36m52 |[0;0m public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
[0;36m53 |[0;0m /// A writeable file was closed.
[0;36m54 |[0;0m public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_CLOSE_WRITE[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_CLOSE_WRITE' in scope[0;0m
[0;36m55 |[0;0m /// A non-writable file was closed.
[0;36m56 |[0;0m public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:56:88: [1;31merror: [1;39mcannot find 'IN_CLOSE_NOWRITE' in scope[0;0m
[0;36m54 |[0;0m public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
[0;36m55 |[0;0m /// A non-writable file was closed.
[0;36m56 |[0;0m public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_CLOSE_NOWRITE[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_CLOSE_NOWRITE' in scope[0;0m
[0;36m57 |[0;0m /// File was opened.
[0;36m58 |[0;0m public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:58:73: [1;31merror: [1;39mcannot find 'IN_OPEN' in scope[0;0m
[0;36m56 |[0;0m public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
[0;36m57 |[0;0m /// File was opened.
[0;36m58 |[0;0m public static let opened = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_OPEN[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_OPEN' in scope[0;0m
[0;36m59 |[0;0m /// File was moved from X.
[0;36m60 |[0;0m public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:60:76: [1;31merror: [1;39mcannot find 'IN_MOVED_FROM' in scope[0;0m
[0;36m58 |[0;0m public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
[0;36m59 |[0;0m /// File was moved from X.
[0;36m60 |[0;0m public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_MOVED_FROM[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_MOVED_FROM' in scope[0;0m
[0;36m61 |[0;0m /// File was moved to Y.
[0;36m62 |[0;0m public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:62:74: [1;31merror: [1;39mcannot find 'IN_MOVED_TO' in scope[0;0m
[0;36m60 |[0;0m public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
[0;36m61 |[0;0m /// File was moved to Y.
[0;36m62 |[0;0m public static let movedTo = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_MOVED_TO[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_MOVED_TO' in scope[0;0m
[0;36m63 |[0;0m /// File was created inside the watched path.
[0;36m64 |[0;0m public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:64:78: [1;31merror: [1;39mcannot find 'IN_CREATE' in scope[0;0m
[0;36m62 |[0;0m public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
[0;36m63 |[0;0m /// File was created inside the watched path.
[0;36m64 |[0;0m public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_CREATE[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_CREATE' in scope[0;0m
[0;36m65 |[0;0m /// File was deleted inside the watched path.
[0;36m66 |[0;0m public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:66:78: [1;31merror: [1;39mcannot find 'IN_DELETE' in scope[0;0m
[0;36m64 |[0;0m public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
[0;36m65 |[0;0m /// File was deleted inside the watched path.
[0;36m66 |[0;0m public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_DELETE[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_DELETE' in scope[0;0m
[0;36m67 |[0;0m /// The watched path was deleted.
[0;36m68 |[0;0m public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:68:78: [1;31merror: [1;39mcannot find 'IN_DELETE_SELF' in scope[0;0m
[0;36m66 |[0;0m public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
[0;36m67 |[0;0m /// The watched path was deleted.
[0;36m68 |[0;0m public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_DELETE_SELF[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_DELETE_SELF' in scope[0;0m
[0;36m69 |[0;0m /// The watched path was moved.
[0;36m70 |[0;0m public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:70:76: [1;31merror: [1;39mcannot find 'IN_MOVE_SELF' in scope[0;0m
[0;36m68 |[0;0m public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
[0;36m69 |[0;0m /// The watched path was moved.
[0;36m70 |[0;0m public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_MOVE_SELF[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_MOVE_SELF' in scope[0;0m
[0;36m71 |[0;0m
[0;36m72 |[0;0m /// Event occurred against a directory.
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:73:78: [1;31merror: [1;39mcannot find 'IN_ISDIR' in scope[0;0m
[0;36m71 |[0;0m
[0;36m72 |[0;0m /// Event occurred against a directory.
[0;36m73 |[0;0m public static let isDirectory = InotifyEvent.Flags(rawValue: numericCast([4;39mIN_ISDIR[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'IN_ISDIR' in scope[0;0m
[0;36m74 |[0;0m }
[0;36m75 |[0;0m
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Inotify/Inotifier.swift /host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift -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 -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature ImmutableWeakCaptures -enable-upcoming-feature NonisolatedNonsendingByDefault -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 -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/Sources/CInotify/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/.build/checkouts/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-inotify.build/Debug-android-aarch64/Inotify-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-inotify.build/Debug-android-aarch64/Inotify-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-inotify.build/Debug-android-aarch64/Inotify-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Inotify -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-inotify.build/Debug-android-aarch64/Inotify-t.build/Objects-normal/aarch64/Inotify_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-inotify.build/Debug-android-aarch64/Inotify-t.build/Objects-normal/aarch64/Modules/Inotify.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-inotify.build/Debug-android-aarch64/Inotify-t.build/Objects-normal/aarch64/Modules/Inotify.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-inotify.build/Debug-android-aarch64/Inotify-t.build/Objects-normal/aarch64/Inotify-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-inotify.build/Debug-android-aarch64/Inotify-t.build/Objects-normal/aarch64/Inotify-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-inotify.build/Debug-android-aarch64/Inotify-t.build/Objects-normal/aarch64/Inotify-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-inotify.build/Debug-android-aarch64/Inotify-t.build/Objects-normal/aarch64/Modules/Inotify.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android