Build Information
Failed to build swift-inotify, reference main (4095c3
), with Swift 6.1 for Android on 5 Jun 2025 10:22:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/swift-inotify.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/sersoft-gmbh/swift-inotify
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4095c35 Bump github.com/apple/swift-docc-plugin from 1.4.3 to 1.4.4
Cloned https://github.com/sersoft-gmbh/swift-inotify.git
Revision (git rev-parse @):
4095c35805b0412501ce10ca0221a479f605d1a2
SUCCESS checkout https://github.com/sersoft-gmbh/swift-inotify.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/sersoft-gmbh/swift-inotify.git
https://github.com/sersoft-gmbh/swift-inotify.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-filestreamer",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "0.10.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sersoft-gmbh/swift-filestreamer"
}
],
"manifest_display_name" : "swift-inotify",
"name" : "swift-inotify",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Inotify",
"targets" : [
"Inotify"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "InotifyTests",
"module_type" : "SwiftTarget",
"name" : "InotifyTests",
"path" : "Tests/InotifyTests",
"sources" : [
"InotifyTests.swift"
],
"target_dependencies" : [
"Inotify"
],
"type" : "test"
},
{
"c99name" : "Inotify",
"module_type" : "SwiftTarget",
"name" : "Inotify",
"path" : "Sources/Inotify",
"product_dependencies" : [
"SystemPackage",
"FileStreamer"
],
"product_memberships" : [
"Inotify"
],
"sources" : [
"Inotifier.swift",
"InotifyEvent.swift"
],
"target_dependencies" : [
"CInotify"
],
"type" : "library"
},
{
"c99name" : "CInotify",
"module_type" : "SystemLibraryTarget",
"name" : "CInotify",
"path" : "Sources/CInotify",
"product_memberships" : [
"Inotify"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
Fetching https://github.com/apple/swift-docc-plugin
[1/2068] Fetching swift-docc-plugin
[229/3740] Fetching swift-docc-plugin, swift-filestreamer
[1901/8131] Fetching swift-docc-plugin, swift-filestreamer, swift-system
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.39s)
Fetched https://github.com/apple/swift-system from cache (0.39s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.39s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.10.0 (0.81s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (1.82s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3406] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/sersoft-gmbh/swift-filestreamer
Working copy of https://github.com/sersoft-gmbh/swift-filestreamer resolved at 0.10.0
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
[5/7] Write swift-version-24593BA9C3E375BF.txt
[5/7] Compiling CSystem shims.c
[8/35] Emitting module SystemPackage
[9/38] Compiling SystemPackage Util+StringArray.swift
[10/38] Compiling SystemPackage Util.swift
[11/38] Compiling SystemPackage UtilConsumers.swift
[12/38] Compiling SystemPackage FilePathParsing.swift
[13/38] Compiling SystemPackage FilePathString.swift
[14/38] Compiling SystemPackage FilePathSyntax.swift
[15/38] Compiling SystemPackage FilePathTemp.swift
[16/38] Compiling SystemPackage Errno.swift
[17/38] Compiling SystemPackage ErrnoWindows.swift
[18/38] Compiling SystemPackage FileDescriptor.swift
[19/38] Compiling SystemPackage FileHelpers.swift
[20/38] Compiling SystemPackage MachPort.swift
[21/38] Compiling SystemPackage PlatformString.swift
[22/38] Compiling SystemPackage SystemString.swift
[23/38] Compiling SystemPackage Backcompat.swift
[24/38] Compiling SystemPackage CInterop.swift
[25/38] Compiling SystemPackage Constants.swift
[26/38] Compiling SystemPackage Exports.swift
[27/38] Compiling SystemPackage Mocking.swift
[28/38] Compiling SystemPackage RawBuffer.swift
[29/38] Compiling SystemPackage Syscalls.swift
[30/38] Compiling SystemPackage WindowsSyscallAdapters.swift
[31/38] Compiling SystemPackage FileOperations.swift
[32/38] Compiling SystemPackage FilePath.swift
[33/38] Compiling SystemPackage FilePathComponentView.swift
[34/38] Compiling SystemPackage FilePathComponents.swift
[35/38] Compiling SystemPackage FilePathTempPosix.swift
[36/38] Compiling SystemPackage FilePathTempWindows.swift
[37/38] Compiling SystemPackage FilePathWindows.swift
[38/38] Compiling SystemPackage FilePermissions.swift
[40/41] Compiling FileStreamer FileStream.swift
[41/41] Emitting module FileStreamer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/45] Emitting module Inotify
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:29: error: cannot find 'inotify_init1' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'inotify_init1' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:85: error: cannot find 'errno' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:44:75: error: cannot find 'IN_ACCESS' in scope
42 | extension InotifyEvent.Flags {
43 | /// File was accessed.
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
| `- error: cannot find 'IN_ACCESS' in scope
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:46:75: error: cannot find 'IN_MODIFY' in scope
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
| `- error: cannot find 'IN_MODIFY' in scope
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:48:84: error: cannot find 'IN_ATTRIB' in scope
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
| `- error: cannot find 'IN_ATTRIB' in scope
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:50:85: error: cannot find 'IN_CLOSE_WRITE' in scope
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
| `- error: cannot find 'IN_CLOSE_WRITE' in scope
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:52:88: error: cannot find 'IN_CLOSE_NOWRITE' in scope
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
| `- error: cannot find 'IN_CLOSE_NOWRITE' in scope
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:54:73: error: cannot find 'IN_OPEN' in scope
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
| `- error: cannot find 'IN_OPEN' in scope
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:56:76: error: cannot find 'IN_MOVED_FROM' in scope
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
| `- error: cannot find 'IN_MOVED_FROM' in scope
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:58:74: error: cannot find 'IN_MOVED_TO' in scope
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
| `- error: cannot find 'IN_MOVED_TO' in scope
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:60:78: error: cannot find 'IN_CREATE' in scope
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
| `- error: cannot find 'IN_CREATE' in scope
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:62:78: error: cannot find 'IN_DELETE' in scope
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
| `- error: cannot find 'IN_DELETE' in scope
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:64:78: error: cannot find 'IN_DELETE_SELF' in scope
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
| `- error: cannot find 'IN_DELETE_SELF' in scope
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:66:76: error: cannot find 'IN_MOVE_SELF' in scope
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
| `- error: cannot find 'IN_MOVE_SELF' in scope
67 |
68 | /// Event occurred against a directory.
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:69:78: error: cannot find 'IN_ISDIR' in scope
67 |
68 | /// Event occurred against a directory.
69 | public static let isDirectory = InotifyEvent.Flags(rawValue: numericCast(IN_ISDIR))
| `- error: cannot find 'IN_ISDIR' in scope
70 | }
71 |
[44/45] Compiling Inotify InotifyEvent.swift
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:44:75: error: cannot find 'IN_ACCESS' in scope
42 | extension InotifyEvent.Flags {
43 | /// File was accessed.
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
| `- error: cannot find 'IN_ACCESS' in scope
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:46:75: error: cannot find 'IN_MODIFY' in scope
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
| `- error: cannot find 'IN_MODIFY' in scope
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:48:84: error: cannot find 'IN_ATTRIB' in scope
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
| `- error: cannot find 'IN_ATTRIB' in scope
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:50:85: error: cannot find 'IN_CLOSE_WRITE' in scope
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
| `- error: cannot find 'IN_CLOSE_WRITE' in scope
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:52:88: error: cannot find 'IN_CLOSE_NOWRITE' in scope
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
| `- error: cannot find 'IN_CLOSE_NOWRITE' in scope
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:54:73: error: cannot find 'IN_OPEN' in scope
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
| `- error: cannot find 'IN_OPEN' in scope
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:56:76: error: cannot find 'IN_MOVED_FROM' in scope
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
| `- error: cannot find 'IN_MOVED_FROM' in scope
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:58:74: error: cannot find 'IN_MOVED_TO' in scope
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
| `- error: cannot find 'IN_MOVED_TO' in scope
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:60:78: error: cannot find 'IN_CREATE' in scope
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
| `- error: cannot find 'IN_CREATE' in scope
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:62:78: error: cannot find 'IN_DELETE' in scope
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
| `- error: cannot find 'IN_DELETE' in scope
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:64:78: error: cannot find 'IN_DELETE_SELF' in scope
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
| `- error: cannot find 'IN_DELETE_SELF' in scope
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:66:76: error: cannot find 'IN_MOVE_SELF' in scope
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
| `- error: cannot find 'IN_MOVE_SELF' in scope
67 |
68 | /// Event occurred against a directory.
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:69:78: error: cannot find 'IN_ISDIR' in scope
67 |
68 | /// Event occurred against a directory.
69 | public static let isDirectory = InotifyEvent.Flags(rawValue: numericCast(IN_ISDIR))
| `- error: cannot find 'IN_ISDIR' in scope
70 | }
71 |
[45/45] Compiling Inotify Inotifier.swift
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:29: error: cannot find 'inotify_init1' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'inotify_init1' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:85: error: cannot find 'errno' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/Inotifier.swift:93:13: error: cannot find 'inotify_add_watch' in scope
91 | public func events(for filePath: FilePath) throws -> PathEvents {
92 | let wd = filePath.withCString {
93 | inotify_add_watch(fileDescriptor.rawValue, $0, cin_all_events)
| `- error: cannot find 'inotify_add_watch' in scope
94 | }
95 | guard wd != -1 else { throw Errno(rawValue: errno) }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:95:53: error: cannot find 'errno' in scope
93 | inotify_add_watch(fileDescriptor.rawValue, $0, cin_all_events)
94 | }
95 | guard wd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
96 | if streamTask == nil {
97 | startStreaming()
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/Inotifier.swift:155:22: error: cannot find 'inotify_rm_watch' in scope
153 |
154 | private func removeWatch(forDescriptor wd: CInt, sequenceID: UUID) throws {
155 | let status = inotify_rm_watch(fileDescriptor.rawValue, wd)
| `- error: cannot find 'inotify_rm_watch' in scope
156 | guard status != -1 else { throw Errno(rawValue: errno) }
157 | guard var watchSequences = watches[wd] else { return }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:156:57: error: cannot find 'errno' in scope
154 | private func removeWatch(forDescriptor wd: CInt, sequenceID: UUID) throws {
155 | let status = inotify_rm_watch(fileDescriptor.rawValue, wd)
156 | guard status != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
157 | guard var watchSequences = watches[wd] else { return }
158 | watchSequences.removeValue(forKey: sequenceID)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/31] Compiling SystemPackage Backcompat.swift
[5/31] Compiling SystemPackage CInterop.swift
[6/31] Compiling SystemPackage Constants.swift
[7/31] Compiling SystemPackage Exports.swift
[8/34] Compiling SystemPackage FilePathTempPosix.swift
[9/34] Compiling SystemPackage FilePathTempWindows.swift
[10/34] Compiling SystemPackage FilePathWindows.swift
[11/34] Compiling SystemPackage FilePermissions.swift
[12/34] Compiling SystemPackage Mocking.swift
[13/34] Compiling SystemPackage RawBuffer.swift
[14/34] Compiling SystemPackage Syscalls.swift
[15/34] Compiling SystemPackage WindowsSyscallAdapters.swift
[16/34] Emitting module SystemPackage
[17/34] Compiling SystemPackage Errno.swift
[18/34] Compiling SystemPackage ErrnoWindows.swift
[19/34] Compiling SystemPackage FileDescriptor.swift
[20/34] Compiling SystemPackage FileHelpers.swift
[21/34] Compiling SystemPackage MachPort.swift
[22/34] Compiling SystemPackage PlatformString.swift
[23/34] Compiling SystemPackage SystemString.swift
[24/34] Compiling SystemPackage FilePathParsing.swift
[25/34] Compiling SystemPackage FilePathString.swift
[26/34] Compiling SystemPackage FilePathSyntax.swift
[27/34] Compiling SystemPackage FilePathTemp.swift
[28/34] Compiling SystemPackage FileOperations.swift
[29/34] Compiling SystemPackage FilePath.swift
[30/34] Compiling SystemPackage FilePathComponentView.swift
[31/34] Compiling SystemPackage FilePathComponents.swift
[32/34] Compiling SystemPackage Util+StringArray.swift
[33/34] Compiling SystemPackage Util.swift
[34/34] Compiling SystemPackage UtilConsumers.swift
[36/37] Emitting module FileStreamer
[37/37] Compiling FileStreamer FileStream.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/41] Emitting module Inotify
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:29: error: cannot find 'inotify_init1' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'inotify_init1' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:85: error: cannot find 'errno' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:44:75: error: cannot find 'IN_ACCESS' in scope
42 | extension InotifyEvent.Flags {
43 | /// File was accessed.
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
| `- error: cannot find 'IN_ACCESS' in scope
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:46:75: error: cannot find 'IN_MODIFY' in scope
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
| `- error: cannot find 'IN_MODIFY' in scope
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:48:84: error: cannot find 'IN_ATTRIB' in scope
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
| `- error: cannot find 'IN_ATTRIB' in scope
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:50:85: error: cannot find 'IN_CLOSE_WRITE' in scope
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
| `- error: cannot find 'IN_CLOSE_WRITE' in scope
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:52:88: error: cannot find 'IN_CLOSE_NOWRITE' in scope
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
| `- error: cannot find 'IN_CLOSE_NOWRITE' in scope
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:54:73: error: cannot find 'IN_OPEN' in scope
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
| `- error: cannot find 'IN_OPEN' in scope
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:56:76: error: cannot find 'IN_MOVED_FROM' in scope
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
| `- error: cannot find 'IN_MOVED_FROM' in scope
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:58:74: error: cannot find 'IN_MOVED_TO' in scope
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
| `- error: cannot find 'IN_MOVED_TO' in scope
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:60:78: error: cannot find 'IN_CREATE' in scope
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
| `- error: cannot find 'IN_CREATE' in scope
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:62:78: error: cannot find 'IN_DELETE' in scope
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
| `- error: cannot find 'IN_DELETE' in scope
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:64:78: error: cannot find 'IN_DELETE_SELF' in scope
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
| `- error: cannot find 'IN_DELETE_SELF' in scope
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:66:76: error: cannot find 'IN_MOVE_SELF' in scope
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
| `- error: cannot find 'IN_MOVE_SELF' in scope
67 |
68 | /// Event occurred against a directory.
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:69:78: error: cannot find 'IN_ISDIR' in scope
67 |
68 | /// Event occurred against a directory.
69 | public static let isDirectory = InotifyEvent.Flags(rawValue: numericCast(IN_ISDIR))
| `- error: cannot find 'IN_ISDIR' in scope
70 | }
71 |
[40/41] Compiling Inotify InotifyEvent.swift
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | public import SystemPackage
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:44:75: error: cannot find 'IN_ACCESS' in scope
42 | extension InotifyEvent.Flags {
43 | /// File was accessed.
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
| `- error: cannot find 'IN_ACCESS' in scope
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:46:75: error: cannot find 'IN_MODIFY' in scope
44 | public static let accessed = InotifyEvent.Flags(rawValue: numericCast(IN_ACCESS))
45 | /// File was modified.
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
| `- error: cannot find 'IN_MODIFY' in scope
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:48:84: error: cannot find 'IN_ATTRIB' in scope
46 | public static let modified = InotifyEvent.Flags(rawValue: numericCast(IN_MODIFY))
47 | /// Metadata changed.
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
| `- error: cannot find 'IN_ATTRIB' in scope
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:50:85: error: cannot find 'IN_CLOSE_WRITE' in scope
48 | public static let attributesChanged = InotifyEvent.Flags(rawValue: numericCast(IN_ATTRIB))
49 | /// A writeable file was closed.
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
| `- error: cannot find 'IN_CLOSE_WRITE' in scope
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:52:88: error: cannot find 'IN_CLOSE_NOWRITE' in scope
50 | public static let writableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_WRITE))
51 | /// A non-writable file was closed.
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
| `- error: cannot find 'IN_CLOSE_NOWRITE' in scope
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:54:73: error: cannot find 'IN_OPEN' in scope
52 | public static let nonWritableFileClosed = InotifyEvent.Flags(rawValue: numericCast(IN_CLOSE_NOWRITE))
53 | /// File was opened.
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
| `- error: cannot find 'IN_OPEN' in scope
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:56:76: error: cannot find 'IN_MOVED_FROM' in scope
54 | public static let opened = InotifyEvent.Flags(rawValue: numericCast(IN_OPEN))
55 | /// File was moved from X.
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
| `- error: cannot find 'IN_MOVED_FROM' in scope
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:58:74: error: cannot find 'IN_MOVED_TO' in scope
56 | public static let movedFrom = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_FROM))
57 | /// File was moved to Y.
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
| `- error: cannot find 'IN_MOVED_TO' in scope
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:60:78: error: cannot find 'IN_CREATE' in scope
58 | public static let movedTo = InotifyEvent.Flags(rawValue: numericCast(IN_MOVED_TO))
59 | /// File was created inside the watched path.
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
| `- error: cannot find 'IN_CREATE' in scope
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:62:78: error: cannot find 'IN_DELETE' in scope
60 | public static let fileCreated = InotifyEvent.Flags(rawValue: numericCast(IN_CREATE))
61 | /// File was deleted inside the watched path.
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
| `- error: cannot find 'IN_DELETE' in scope
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:64:78: error: cannot find 'IN_DELETE_SELF' in scope
62 | public static let fileDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE))
63 | /// The watched path was deleted.
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
| `- error: cannot find 'IN_DELETE_SELF' in scope
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:66:76: error: cannot find 'IN_MOVE_SELF' in scope
64 | public static let selfDeleted = InotifyEvent.Flags(rawValue: numericCast(IN_DELETE_SELF))
65 | /// The watched path was moved.
66 | public static let selfMoved = InotifyEvent.Flags(rawValue: numericCast(IN_MOVE_SELF))
| `- error: cannot find 'IN_MOVE_SELF' in scope
67 |
68 | /// Event occurred against a directory.
/host/spi-builder-workspace/Sources/Inotify/InotifyEvent.swift:69:78: error: cannot find 'IN_ISDIR' in scope
67 |
68 | /// Event occurred against a directory.
69 | public static let isDirectory = InotifyEvent.Flags(rawValue: numericCast(IN_ISDIR))
| `- error: cannot find 'IN_ISDIR' in scope
70 | }
71 |
[41/41] Compiling Inotify Inotifier.swift
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:10:8: error: Unknown platform
8 | import ucrt
9 | #else
10 | #error("Unknown platform")
| `- error: Unknown platform
11 | #endif
12 | fileprivate import Foundation
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:29: error: cannot find 'inotify_init1' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'inotify_init1' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:71:85: error: cannot find 'errno' in scope
69 | /// Creates a new instance.
70 | public init() throws {
71 | guard case let fd = inotify_init1(0), fd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
72 | fileDescriptor = .init(rawValue: fd)
73 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/Inotifier.swift:93:13: error: cannot find 'inotify_add_watch' in scope
91 | public func events(for filePath: FilePath) throws -> PathEvents {
92 | let wd = filePath.withCString {
93 | inotify_add_watch(fileDescriptor.rawValue, $0, cin_all_events)
| `- error: cannot find 'inotify_add_watch' in scope
94 | }
95 | guard wd != -1 else { throw Errno(rawValue: errno) }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:95:53: error: cannot find 'errno' in scope
93 | inotify_add_watch(fileDescriptor.rawValue, $0, cin_all_events)
94 | }
95 | guard wd != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
96 | if streamTask == nil {
97 | startStreaming()
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/Inotifier.swift:155:22: error: cannot find 'inotify_rm_watch' in scope
153 |
154 | private func removeWatch(forDescriptor wd: CInt, sequenceID: UUID) throws {
155 | let status = inotify_rm_watch(fileDescriptor.rawValue, wd)
| `- error: cannot find 'inotify_rm_watch' in scope
156 | guard status != -1 else { throw Errno(rawValue: errno) }
157 | guard var watchSequences = watches[wd] else { return }
/host/spi-builder-workspace/Sources/Inotify/Inotifier.swift:156:57: error: cannot find 'errno' in scope
154 | private func removeWatch(forDescriptor wd: CInt, sequenceID: UUID) throws {
155 | let status = inotify_rm_watch(fileDescriptor.rawValue, wd)
156 | guard status != -1 else { throw Errno(rawValue: errno) }
| `- error: cannot find 'errno' in scope
157 | guard var watchSequences = watches[wd] else { return }
158 | watchSequences.removeValue(forKey: sequenceID)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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
BUILD FAILURE 6.1 android