The Swift Package Index logo.Swift Package Index

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>&1

Build 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: error: Unsupported platform
  8 | import ucrt
  9 | #else
 10 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 11 | #endif
 12 | fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:10:8: error: Unsupported platform
 8 | import ucrt
 9 | #else
10 | #error("Unsupported platform")
   |        `- error: Unsupported platform
11 | #endif
12 | public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:77:29: error: cannot find 'inotify_init1' in scope
 75 |     /// Creates a new instance.
 76 |     public init() throws {
 77 |         guard case let fd = inotify_init1(0), fd != -1
    |                             `- error: cannot find 'inotify_init1' in scope
 78 |         else { throw Errno(rawValue: errno) }
 79 |         fileDescriptor = .init(rawValue: fd)
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:78:38: error: cannot find 'errno' in scope
 76 |     public init() throws {
 77 |         guard case let fd = inotify_init1(0), fd != -1
 78 |         else { throw Errno(rawValue: errno) }
    |                                      `- error: cannot find 'errno' in scope
 79 |         fileDescriptor = .init(rawValue: fd)
 80 |     }
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:48:75: error: cannot find 'IN_ACCESS' in scope
46 | extension InotifyEvent.Flags {
47 |     /// File was accessed.
48 |     public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
   |                                                                           `- error: cannot find 'IN_ACCESS' in scope
49 |     /// File was modified.
50 |     public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:50:75: error: cannot find 'IN_MODIFY' in scope
48 |     public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
49 |     /// File was modified.
50 |     public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
   |                                                                           `- error: cannot find 'IN_MODIFY' in scope
51 |     /// Metadata changed.
52 |     public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:52:84: error: cannot find 'IN_ATTRIB' in scope
50 |     public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
51 |     /// Metadata changed.
52 |     public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
   |                                                                                    `- error: cannot find 'IN_ATTRIB' in scope
53 |     /// A writeable file was closed.
54 |     public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:54:85: error: cannot find 'IN_CLOSE_WRITE' in scope
52 |     public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
53 |     /// A writeable file was closed.
54 |     public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
   |                                                                                     `- error: cannot find 'IN_CLOSE_WRITE' in scope
55 |     /// A non-writable file was closed.
56 |     public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:56:88: error: cannot find 'IN_CLOSE_NOWRITE' in scope
54 |     public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
55 |     /// A non-writable file was closed.
56 |     public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
   |                                                                                        `- error: cannot find 'IN_CLOSE_NOWRITE' in scope
57 |     /// File was opened.
58 |     public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:58:73: error: cannot find 'IN_OPEN' in scope
56 |     public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
57 |     /// File was opened.
58 |     public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
   |                                                                         `- error: cannot find 'IN_OPEN' in scope
59 |     /// File was moved from X.
60 |     public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:60:76: error: cannot find 'IN_MOVED_FROM' in scope
58 |     public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
59 |     /// File was moved from X.
60 |     public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
   |                                                                            `- error: cannot find 'IN_MOVED_FROM' in scope
61 |     /// File was moved to Y.
62 |     public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:62:74: error: cannot find 'IN_MOVED_TO' in scope
60 |     public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
61 |     /// File was moved to Y.
62 |     public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
   |                                                                          `- error: cannot find 'IN_MOVED_TO' in scope
63 |     /// File was created inside the watched path.
64 |     public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:64:78: error: cannot find 'IN_CREATE' in scope
62 |     public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
63 |     /// File was created inside the watched path.
64 |     public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
   |                                                                              `- error: cannot find 'IN_CREATE' in scope
65 |     /// File was deleted inside the watched path.
66 |     public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:66:78: error: cannot find 'IN_DELETE' in scope
64 |     public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
65 |     /// File was deleted inside the watched path.
66 |     public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
   |                                                                              `- error: cannot find 'IN_DELETE' in scope
67 |     /// The watched path was deleted.
68 |     public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:68:78: error: cannot find 'IN_DELETE_SELF' in scope
66 |     public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
67 |     /// The watched path was deleted.
68 |     public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
   |                                                                              `- error: cannot find 'IN_DELETE_SELF' in scope
69 |     /// The watched path was moved.
70 |     public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:70:76: error: cannot find 'IN_MOVE_SELF' in scope
68 |     public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
69 |     /// The watched path was moved.
70 |     public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
   |                                                                            `- error: cannot find 'IN_MOVE_SELF' in scope
71 |
72 |     /// Event occurred against a directory.
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:73:78: error: cannot find 'IN_ISDIR' in scope
71 |
72 |     /// Event occurred against a directory.
73 |     public static let isDirectory = InotifyEvent.Flags(rawValue: numericCast(IN_ISDIR))
   |                                                                              `- error: cannot find 'IN_ISDIR' in scope
74 | }
75 |
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