The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Doggie, reference 6.7.1 (421a7a), with Swift 6.1 for Android on 28 May 2025 18:36:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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

798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:37: error: 'nil' requires a contextual type
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:35: error: cannot find 'MAP_FAILED' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:89: error: cannot find 'errno' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:804:17: error: cannot find 'munmap' in scope
802 |                 new_buffer.moveInitialize(from: old_address, count: count)
803 |
804 |                 munmap(old_address, old_mapped_size)
    |                 `- error: cannot find 'munmap' in scope
805 |
806 |                 self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:27: error: cannot find 'posix_madvise' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                           `- error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:63: error: cannot find 'POSIX_MADV_NORMAL' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                                                               `- error: cannot find 'POSIX_MADV_NORMAL' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:27: error: cannot find 'posix_madvise' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                           `- error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:63: error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                                                               `- error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:31: error: cannot find 'posix_madvise' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                               `- error: cannot find 'posix_madvise' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:67: error: cannot find 'POSIX_MADV_RANDOM' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                                                                   `- error: cannot find 'POSIX_MADV_RANDOM' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:29: error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:65: error: cannot find 'POSIX_MADV_WILLNEED' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_WILLNEED' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:29: error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:65: error: cannot find 'POSIX_MADV_DONTNEED' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_DONTNEED' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:824:13: error: cannot find 'mlock' in scope
822 |         @usableFromInline
823 |         func memory_lock() {
824 |             mlock(address, mapped_size)
    |             `- error: cannot find 'mlock' in scope
825 |         }
826 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:829:13: error: cannot find 'munlock' in scope
827 |         @usableFromInline
828 |         func memory_unlock() {
829 |             munlock(address, mapped_size)
    |             `- error: cannot find 'munlock' in scope
830 |         }
831 |     }
[392/433] Compiling DoggieCore Date.swift
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:287:22: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
268 |     @inlinable
269 |     @inline(__always)
270 |     public mutating func append<S: Sequence>(contentsOf newElements: S) where S.Element == Element {
    |                                 `- note: 'S' previously declared here
271 |
272 |         let old_count = base.count
    :
285 |
286 |         @inline(__always)
287 |         func _append<S: Sequence>(_ newElements: S) where S.Element == Element {
    |                      `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
288 |
289 |             let buffer = UnsafeMutableBufferPointer(start: base.address + old_count, count: underestimatedCount - old_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:375:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
373 |
374 |             @inline(__always)
375 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
376 |
377 |                 let buffer = UnsafeMutableBufferPointer(start: base.address + subRange.lowerBound, count: newElements_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:402:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
400 |
401 |             @inline(__always)
402 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
403 |
404 |                 let buffer = UnsafeMutableBufferPointer(start: address, count: newElements_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:706:76: error: cannot find 'S_IRUSR' in scope
704 |                     #else
705 |
706 |                     fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, S_IRUSR | S_IWUSR)
    |                                                                            `- error: cannot find 'S_IRUSR' in scope
707 |
708 |                     #endif
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:706:86: error: cannot find 'S_IWUSR' in scope
704 |                     #else
705 |
706 |                     fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, S_IRUSR | S_IWUSR)
    |                                                                                      `- error: cannot find 'S_IWUSR' in scope
707 |
708 |                     #endif
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:710:39: error: cannot find 'errno' in scope
708 |                     #endif
709 |
710 |                     guard fd == -1 && errno == EEXIST else { break }
    |                                       `- error: cannot find 'errno' in scope
711 |                 }
712 |
/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/DoggieCore/Foundation/MappedBuffer.swift:716:78: error: cannot find 'errno' in scope
714 |                 self.path = path
715 |
716 |                 guard fd != -1 else { fatalError("\(String(cString: strerror(errno))): \(path)") }
    |                                                                              `- error: cannot find 'errno' in scope
717 |
718 |                 #if !canImport(Darwin)
/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/DoggieCore/Foundation/MappedBuffer.swift:720:91: error: cannot find 'errno' in scope
718 |                 #if !canImport(Darwin)
719 |
720 |                 guard flock(fd, LOCK_EX) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                           `- error: cannot find 'errno' in scope
721 |
722 |                 #endif
/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/DoggieCore/Foundation/MappedBuffer.swift:724:106: error: cannot find 'errno' in scope
722 |                 #endif
723 |
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                                          `- error: cannot find 'errno' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
/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/DoggieCore/Foundation/MappedBuffer.swift:726:32: error: cannot find 'mmap' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:55: error: cannot find 'PROT_READ' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                       `- error: cannot find 'PROT_READ' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:67: error: cannot find 'PROT_WRITE' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                   `- error: cannot find 'PROT_WRITE' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:79: error: cannot find 'MAP_SHARED' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                               `- error: cannot find 'MAP_SHARED' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:37: error: 'nil' requires a contextual type
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:727:35: error: cannot find 'MAP_FAILED' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
728 |
729 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:727:89: error: cannot find 'errno' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
728 |
729 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:736:32: error: cannot find 'mmap' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:55: error: cannot find 'PROT_READ' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                       `- error: cannot find 'PROT_READ' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:67: error: cannot find 'PROT_WRITE' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                   `- error: cannot find 'PROT_WRITE' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:79: error: cannot find 'MAP_ANONYMOUS' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                               `- error: cannot find 'MAP_ANONYMOUS' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:95: error: cannot find 'MAP_PRIVATE' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                               `- error: cannot find 'MAP_PRIVATE' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:37: error: 'nil' requires a contextual type
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:737:35: error: cannot find 'MAP_FAILED' in scope
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
738 |
739 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:737:89: error: cannot find 'errno' in scope
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
738 |
739 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:749:13: error: cannot find 'munmap' in scope
747 |             }
748 |
749 |             munmap(address, mapped_size)
    |             `- error: cannot find 'munmap' in scope
750 |
751 |             if fileBacked {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:770:17: error: cannot find 'munmap' in scope
768 |             if fileBacked {
769 |
770 |                 munmap(old_address, old_mapped_size)
    |                 `- error: cannot find 'munmap' in scope
771 |
772 |                 self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:774:115: error: cannot find 'errno' in scope
772 |                 self.mapped_size = new_mapped_size
773 |
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                                                   `- error: cannot find 'errno' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
/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/DoggieCore/Foundation/MappedBuffer.swift:776:32: error: cannot find 'mmap' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:59: error: cannot find 'PROT_READ' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                           `- error: cannot find 'PROT_READ' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:71: error: cannot find 'PROT_WRITE' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                       `- error: cannot find 'PROT_WRITE' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:83: error: cannot find 'MAP_SHARED' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                                   `- error: cannot find 'MAP_SHARED' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:37: error: 'nil' requires a contextual type
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:777:35: error: cannot find 'MAP_FAILED' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
778 |
779 |                 self.address = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:777:89: error: cannot find 'errno' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
778 |
779 |                 self.address = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:786:33: error: cannot find 'mmap' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                 `- error: cannot find 'mmap' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:61: error: cannot find 'PROT_READ' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                             `- error: cannot find 'PROT_READ' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:73: error: cannot find 'PROT_WRITE' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                         `- error: cannot find 'PROT_WRITE' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:85: error: cannot find 'MAP_ANONYMOUS' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                     `- error: cannot find 'MAP_ANONYMOUS' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:101: error: cannot find 'MAP_PRIVATE' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                                     `- error: cannot find 'MAP_PRIVATE' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:788:33: error: cannot find 'MAP_FAILED' in scope
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
787 |
788 |                 if _extended != MAP_FAILED {
    |                                 `- error: cannot find 'MAP_FAILED' in scope
789 |                     if _extended == _tail {
790 |                         self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:793:25: error: cannot find 'munmap' in scope
791 |                         return
792 |                     } else {
793 |                         munmap(_extended, _extended_size)
    |                         `- error: cannot find 'munmap' in scope
794 |                     }
795 |                 }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:32: error: cannot find 'mmap' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:59: error: cannot find 'PROT_READ' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                           `- error: cannot find 'PROT_READ' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:71: error: cannot find 'PROT_WRITE' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                       `- error: cannot find 'PROT_WRITE' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:83: error: cannot find 'MAP_ANONYMOUS' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                   `- error: cannot find 'MAP_ANONYMOUS' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:99: error: cannot find 'MAP_PRIVATE' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                                   `- error: cannot find 'MAP_PRIVATE' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:37: error: 'nil' requires a contextual type
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:35: error: cannot find 'MAP_FAILED' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:89: error: cannot find 'errno' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:804:17: error: cannot find 'munmap' in scope
802 |                 new_buffer.moveInitialize(from: old_address, count: count)
803 |
804 |                 munmap(old_address, old_mapped_size)
    |                 `- error: cannot find 'munmap' in scope
805 |
806 |                 self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:27: error: cannot find 'posix_madvise' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                           `- error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:63: error: cannot find 'POSIX_MADV_NORMAL' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                                                               `- error: cannot find 'POSIX_MADV_NORMAL' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:27: error: cannot find 'posix_madvise' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                           `- error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:63: error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                                                               `- error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:31: error: cannot find 'posix_madvise' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                               `- error: cannot find 'posix_madvise' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:67: error: cannot find 'POSIX_MADV_RANDOM' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                                                                   `- error: cannot find 'POSIX_MADV_RANDOM' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:29: error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:65: error: cannot find 'POSIX_MADV_WILLNEED' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_WILLNEED' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:29: error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:65: error: cannot find 'POSIX_MADV_DONTNEED' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_DONTNEED' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:824:13: error: cannot find 'mlock' in scope
822 |         @usableFromInline
823 |         func memory_lock() {
824 |             mlock(address, mapped_size)
    |             `- error: cannot find 'mlock' in scope
825 |         }
826 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:829:13: error: cannot find 'munlock' in scope
827 |         @usableFromInline
828 |         func memory_unlock() {
829 |             munlock(address, mapped_size)
    |             `- error: cannot find 'munlock' in scope
830 |         }
831 |     }
[393/433] Compiling DoggieCore FileManager.swift
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:287:22: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
268 |     @inlinable
269 |     @inline(__always)
270 |     public mutating func append<S: Sequence>(contentsOf newElements: S) where S.Element == Element {
    |                                 `- note: 'S' previously declared here
271 |
272 |         let old_count = base.count
    :
285 |
286 |         @inline(__always)
287 |         func _append<S: Sequence>(_ newElements: S) where S.Element == Element {
    |                      `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
288 |
289 |             let buffer = UnsafeMutableBufferPointer(start: base.address + old_count, count: underestimatedCount - old_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:375:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
373 |
374 |             @inline(__always)
375 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
376 |
377 |                 let buffer = UnsafeMutableBufferPointer(start: base.address + subRange.lowerBound, count: newElements_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:402:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
400 |
401 |             @inline(__always)
402 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
403 |
404 |                 let buffer = UnsafeMutableBufferPointer(start: address, count: newElements_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:706:76: error: cannot find 'S_IRUSR' in scope
704 |                     #else
705 |
706 |                     fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, S_IRUSR | S_IWUSR)
    |                                                                            `- error: cannot find 'S_IRUSR' in scope
707 |
708 |                     #endif
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:706:86: error: cannot find 'S_IWUSR' in scope
704 |                     #else
705 |
706 |                     fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, S_IRUSR | S_IWUSR)
    |                                                                                      `- error: cannot find 'S_IWUSR' in scope
707 |
708 |                     #endif
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:710:39: error: cannot find 'errno' in scope
708 |                     #endif
709 |
710 |                     guard fd == -1 && errno == EEXIST else { break }
    |                                       `- error: cannot find 'errno' in scope
711 |                 }
712 |
/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/DoggieCore/Foundation/MappedBuffer.swift:716:78: error: cannot find 'errno' in scope
714 |                 self.path = path
715 |
716 |                 guard fd != -1 else { fatalError("\(String(cString: strerror(errno))): \(path)") }
    |                                                                              `- error: cannot find 'errno' in scope
717 |
718 |                 #if !canImport(Darwin)
/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/DoggieCore/Foundation/MappedBuffer.swift:720:91: error: cannot find 'errno' in scope
718 |                 #if !canImport(Darwin)
719 |
720 |                 guard flock(fd, LOCK_EX) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                           `- error: cannot find 'errno' in scope
721 |
722 |                 #endif
/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/DoggieCore/Foundation/MappedBuffer.swift:724:106: error: cannot find 'errno' in scope
722 |                 #endif
723 |
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                                          `- error: cannot find 'errno' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
/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/DoggieCore/Foundation/MappedBuffer.swift:726:32: error: cannot find 'mmap' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:55: error: cannot find 'PROT_READ' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                       `- error: cannot find 'PROT_READ' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:67: error: cannot find 'PROT_WRITE' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                   `- error: cannot find 'PROT_WRITE' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:79: error: cannot find 'MAP_SHARED' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                               `- error: cannot find 'MAP_SHARED' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:37: error: 'nil' requires a contextual type
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:727:35: error: cannot find 'MAP_FAILED' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
728 |
729 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:727:89: error: cannot find 'errno' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
728 |
729 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:736:32: error: cannot find 'mmap' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:55: error: cannot find 'PROT_READ' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                       `- error: cannot find 'PROT_READ' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:67: error: cannot find 'PROT_WRITE' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                   `- error: cannot find 'PROT_WRITE' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:79: error: cannot find 'MAP_ANONYMOUS' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                               `- error: cannot find 'MAP_ANONYMOUS' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:95: error: cannot find 'MAP_PRIVATE' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                               `- error: cannot find 'MAP_PRIVATE' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:37: error: 'nil' requires a contextual type
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:737:35: error: cannot find 'MAP_FAILED' in scope
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
738 |
739 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:737:89: error: cannot find 'errno' in scope
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
738 |
739 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:749:13: error: cannot find 'munmap' in scope
747 |             }
748 |
749 |             munmap(address, mapped_size)
    |             `- error: cannot find 'munmap' in scope
750 |
751 |             if fileBacked {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:770:17: error: cannot find 'munmap' in scope
768 |             if fileBacked {
769 |
770 |                 munmap(old_address, old_mapped_size)
    |                 `- error: cannot find 'munmap' in scope
771 |
772 |                 self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:774:115: error: cannot find 'errno' in scope
772 |                 self.mapped_size = new_mapped_size
773 |
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                                                   `- error: cannot find 'errno' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
/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/DoggieCore/Foundation/MappedBuffer.swift:776:32: error: cannot find 'mmap' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:59: error: cannot find 'PROT_READ' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                           `- error: cannot find 'PROT_READ' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:71: error: cannot find 'PROT_WRITE' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                       `- error: cannot find 'PROT_WRITE' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:83: error: cannot find 'MAP_SHARED' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                                   `- error: cannot find 'MAP_SHARED' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:37: error: 'nil' requires a contextual type
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:777:35: error: cannot find 'MAP_FAILED' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
778 |
779 |                 self.address = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:777:89: error: cannot find 'errno' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
778 |
779 |                 self.address = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:786:33: error: cannot find 'mmap' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                 `- error: cannot find 'mmap' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:61: error: cannot find 'PROT_READ' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                             `- error: cannot find 'PROT_READ' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:73: error: cannot find 'PROT_WRITE' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                         `- error: cannot find 'PROT_WRITE' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:85: error: cannot find 'MAP_ANONYMOUS' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                     `- error: cannot find 'MAP_ANONYMOUS' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:101: error: cannot find 'MAP_PRIVATE' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                                     `- error: cannot find 'MAP_PRIVATE' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:788:33: error: cannot find 'MAP_FAILED' in scope
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
787 |
788 |                 if _extended != MAP_FAILED {
    |                                 `- error: cannot find 'MAP_FAILED' in scope
789 |                     if _extended == _tail {
790 |                         self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:793:25: error: cannot find 'munmap' in scope
791 |                         return
792 |                     } else {
793 |                         munmap(_extended, _extended_size)
    |                         `- error: cannot find 'munmap' in scope
794 |                     }
795 |                 }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:32: error: cannot find 'mmap' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:59: error: cannot find 'PROT_READ' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                           `- error: cannot find 'PROT_READ' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:71: error: cannot find 'PROT_WRITE' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                       `- error: cannot find 'PROT_WRITE' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:83: error: cannot find 'MAP_ANONYMOUS' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                   `- error: cannot find 'MAP_ANONYMOUS' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:99: error: cannot find 'MAP_PRIVATE' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                                   `- error: cannot find 'MAP_PRIVATE' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:37: error: 'nil' requires a contextual type
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:35: error: cannot find 'MAP_FAILED' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:89: error: cannot find 'errno' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:804:17: error: cannot find 'munmap' in scope
802 |                 new_buffer.moveInitialize(from: old_address, count: count)
803 |
804 |                 munmap(old_address, old_mapped_size)
    |                 `- error: cannot find 'munmap' in scope
805 |
806 |                 self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:27: error: cannot find 'posix_madvise' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                           `- error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:63: error: cannot find 'POSIX_MADV_NORMAL' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                                                               `- error: cannot find 'POSIX_MADV_NORMAL' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:27: error: cannot find 'posix_madvise' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                           `- error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:63: error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                                                               `- error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:31: error: cannot find 'posix_madvise' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                               `- error: cannot find 'posix_madvise' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:67: error: cannot find 'POSIX_MADV_RANDOM' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                                                                   `- error: cannot find 'POSIX_MADV_RANDOM' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:29: error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:65: error: cannot find 'POSIX_MADV_WILLNEED' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_WILLNEED' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:29: error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:65: error: cannot find 'POSIX_MADV_DONTNEED' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_DONTNEED' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:824:13: error: cannot find 'mlock' in scope
822 |         @usableFromInline
823 |         func memory_lock() {
824 |             mlock(address, mapped_size)
    |             `- error: cannot find 'mlock' in scope
825 |         }
826 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:829:13: error: cannot find 'munlock' in scope
827 |         @usableFromInline
828 |         func memory_unlock() {
829 |             munlock(address, mapped_size)
    |             `- error: cannot find 'munlock' in scope
830 |         }
831 |     }
[394/433] Compiling DoggieCore Graph.swift
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:287:22: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
268 |     @inlinable
269 |     @inline(__always)
270 |     public mutating func append<S: Sequence>(contentsOf newElements: S) where S.Element == Element {
    |                                 `- note: 'S' previously declared here
271 |
272 |         let old_count = base.count
    :
285 |
286 |         @inline(__always)
287 |         func _append<S: Sequence>(_ newElements: S) where S.Element == Element {
    |                      `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
288 |
289 |             let buffer = UnsafeMutableBufferPointer(start: base.address + old_count, count: underestimatedCount - old_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:375:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
373 |
374 |             @inline(__always)
375 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
376 |
377 |                 let buffer = UnsafeMutableBufferPointer(start: base.address + subRange.lowerBound, count: newElements_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:402:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
400 |
401 |             @inline(__always)
402 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
403 |
404 |                 let buffer = UnsafeMutableBufferPointer(start: address, count: newElements_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:706:76: error: cannot find 'S_IRUSR' in scope
704 |                     #else
705 |
706 |                     fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, S_IRUSR | S_IWUSR)
    |                                                                            `- error: cannot find 'S_IRUSR' in scope
707 |
708 |                     #endif
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:706:86: error: cannot find 'S_IWUSR' in scope
704 |                     #else
705 |
706 |                     fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, S_IRUSR | S_IWUSR)
    |                                                                                      `- error: cannot find 'S_IWUSR' in scope
707 |
708 |                     #endif
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:710:39: error: cannot find 'errno' in scope
708 |                     #endif
709 |
710 |                     guard fd == -1 && errno == EEXIST else { break }
    |                                       `- error: cannot find 'errno' in scope
711 |                 }
712 |
/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/DoggieCore/Foundation/MappedBuffer.swift:716:78: error: cannot find 'errno' in scope
714 |                 self.path = path
715 |
716 |                 guard fd != -1 else { fatalError("\(String(cString: strerror(errno))): \(path)") }
    |                                                                              `- error: cannot find 'errno' in scope
717 |
718 |                 #if !canImport(Darwin)
/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/DoggieCore/Foundation/MappedBuffer.swift:720:91: error: cannot find 'errno' in scope
718 |                 #if !canImport(Darwin)
719 |
720 |                 guard flock(fd, LOCK_EX) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                           `- error: cannot find 'errno' in scope
721 |
722 |                 #endif
/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/DoggieCore/Foundation/MappedBuffer.swift:724:106: error: cannot find 'errno' in scope
722 |                 #endif
723 |
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                                          `- error: cannot find 'errno' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
/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/DoggieCore/Foundation/MappedBuffer.swift:726:32: error: cannot find 'mmap' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:55: error: cannot find 'PROT_READ' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                       `- error: cannot find 'PROT_READ' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:67: error: cannot find 'PROT_WRITE' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                   `- error: cannot find 'PROT_WRITE' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:79: error: cannot find 'MAP_SHARED' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                               `- error: cannot find 'MAP_SHARED' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:37: error: 'nil' requires a contextual type
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:727:35: error: cannot find 'MAP_FAILED' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
728 |
729 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:727:89: error: cannot find 'errno' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
728 |
729 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:736:32: error: cannot find 'mmap' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:55: error: cannot find 'PROT_READ' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                       `- error: cannot find 'PROT_READ' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:67: error: cannot find 'PROT_WRITE' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                   `- error: cannot find 'PROT_WRITE' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:79: error: cannot find 'MAP_ANONYMOUS' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                               `- error: cannot find 'MAP_ANONYMOUS' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:95: error: cannot find 'MAP_PRIVATE' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                               `- error: cannot find 'MAP_PRIVATE' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:37: error: 'nil' requires a contextual type
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:737:35: error: cannot find 'MAP_FAILED' in scope
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
738 |
739 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:737:89: error: cannot find 'errno' in scope
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
738 |
739 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:749:13: error: cannot find 'munmap' in scope
747 |             }
748 |
749 |             munmap(address, mapped_size)
    |             `- error: cannot find 'munmap' in scope
750 |
751 |             if fileBacked {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:770:17: error: cannot find 'munmap' in scope
768 |             if fileBacked {
769 |
770 |                 munmap(old_address, old_mapped_size)
    |                 `- error: cannot find 'munmap' in scope
771 |
772 |                 self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:774:115: error: cannot find 'errno' in scope
772 |                 self.mapped_size = new_mapped_size
773 |
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                                                   `- error: cannot find 'errno' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
/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/DoggieCore/Foundation/MappedBuffer.swift:776:32: error: cannot find 'mmap' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:59: error: cannot find 'PROT_READ' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                           `- error: cannot find 'PROT_READ' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:71: error: cannot find 'PROT_WRITE' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                       `- error: cannot find 'PROT_WRITE' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:83: error: cannot find 'MAP_SHARED' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                                   `- error: cannot find 'MAP_SHARED' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:37: error: 'nil' requires a contextual type
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:777:35: error: cannot find 'MAP_FAILED' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
778 |
779 |                 self.address = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:777:89: error: cannot find 'errno' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
778 |
779 |                 self.address = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:786:33: error: cannot find 'mmap' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                 `- error: cannot find 'mmap' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:61: error: cannot find 'PROT_READ' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                             `- error: cannot find 'PROT_READ' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:73: error: cannot find 'PROT_WRITE' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                         `- error: cannot find 'PROT_WRITE' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:85: error: cannot find 'MAP_ANONYMOUS' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                     `- error: cannot find 'MAP_ANONYMOUS' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:101: error: cannot find 'MAP_PRIVATE' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                                     `- error: cannot find 'MAP_PRIVATE' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:788:33: error: cannot find 'MAP_FAILED' in scope
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
787 |
788 |                 if _extended != MAP_FAILED {
    |                                 `- error: cannot find 'MAP_FAILED' in scope
789 |                     if _extended == _tail {
790 |                         self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:793:25: error: cannot find 'munmap' in scope
791 |                         return
792 |                     } else {
793 |                         munmap(_extended, _extended_size)
    |                         `- error: cannot find 'munmap' in scope
794 |                     }
795 |                 }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:32: error: cannot find 'mmap' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:59: error: cannot find 'PROT_READ' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                           `- error: cannot find 'PROT_READ' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:71: error: cannot find 'PROT_WRITE' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                       `- error: cannot find 'PROT_WRITE' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:83: error: cannot find 'MAP_ANONYMOUS' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                   `- error: cannot find 'MAP_ANONYMOUS' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:99: error: cannot find 'MAP_PRIVATE' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                                   `- error: cannot find 'MAP_PRIVATE' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:37: error: 'nil' requires a contextual type
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:35: error: cannot find 'MAP_FAILED' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:89: error: cannot find 'errno' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:804:17: error: cannot find 'munmap' in scope
802 |                 new_buffer.moveInitialize(from: old_address, count: count)
803 |
804 |                 munmap(old_address, old_mapped_size)
    |                 `- error: cannot find 'munmap' in scope
805 |
806 |                 self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:27: error: cannot find 'posix_madvise' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                           `- error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:63: error: cannot find 'POSIX_MADV_NORMAL' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                                                               `- error: cannot find 'POSIX_MADV_NORMAL' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:27: error: cannot find 'posix_madvise' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                           `- error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:63: error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                                                               `- error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:31: error: cannot find 'posix_madvise' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                               `- error: cannot find 'posix_madvise' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:67: error: cannot find 'POSIX_MADV_RANDOM' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                                                                   `- error: cannot find 'POSIX_MADV_RANDOM' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:29: error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:65: error: cannot find 'POSIX_MADV_WILLNEED' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_WILLNEED' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:29: error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:65: error: cannot find 'POSIX_MADV_DONTNEED' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_DONTNEED' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:824:13: error: cannot find 'mlock' in scope
822 |         @usableFromInline
823 |         func memory_lock() {
824 |             mlock(address, mapped_size)
    |             `- error: cannot find 'mlock' in scope
825 |         }
826 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:829:13: error: cannot find 'munlock' in scope
827 |         @usableFromInline
828 |         func memory_unlock() {
829 |             munlock(address, mapped_size)
    |             `- error: cannot find 'munlock' in scope
830 |         }
831 |     }
[395/433] Compiling DoggieCore Locking.swift
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:287:22: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
268 |     @inlinable
269 |     @inline(__always)
270 |     public mutating func append<S: Sequence>(contentsOf newElements: S) where S.Element == Element {
    |                                 `- note: 'S' previously declared here
271 |
272 |         let old_count = base.count
    :
285 |
286 |         @inline(__always)
287 |         func _append<S: Sequence>(_ newElements: S) where S.Element == Element {
    |                      `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
288 |
289 |             let buffer = UnsafeMutableBufferPointer(start: base.address + old_count, count: underestimatedCount - old_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:375:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
373 |
374 |             @inline(__always)
375 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
376 |
377 |                 let buffer = UnsafeMutableBufferPointer(start: base.address + subRange.lowerBound, count: newElements_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:402:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
400 |
401 |             @inline(__always)
402 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
403 |
404 |                 let buffer = UnsafeMutableBufferPointer(start: address, count: newElements_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:706:76: error: cannot find 'S_IRUSR' in scope
704 |                     #else
705 |
706 |                     fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, S_IRUSR | S_IWUSR)
    |                                                                            `- error: cannot find 'S_IRUSR' in scope
707 |
708 |                     #endif
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:706:86: error: cannot find 'S_IWUSR' in scope
704 |                     #else
705 |
706 |                     fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, S_IRUSR | S_IWUSR)
    |                                                                                      `- error: cannot find 'S_IWUSR' in scope
707 |
708 |                     #endif
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:710:39: error: cannot find 'errno' in scope
708 |                     #endif
709 |
710 |                     guard fd == -1 && errno == EEXIST else { break }
    |                                       `- error: cannot find 'errno' in scope
711 |                 }
712 |
/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/DoggieCore/Foundation/MappedBuffer.swift:716:78: error: cannot find 'errno' in scope
714 |                 self.path = path
715 |
716 |                 guard fd != -1 else { fatalError("\(String(cString: strerror(errno))): \(path)") }
    |                                                                              `- error: cannot find 'errno' in scope
717 |
718 |                 #if !canImport(Darwin)
/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/DoggieCore/Foundation/MappedBuffer.swift:720:91: error: cannot find 'errno' in scope
718 |                 #if !canImport(Darwin)
719 |
720 |                 guard flock(fd, LOCK_EX) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                           `- error: cannot find 'errno' in scope
721 |
722 |                 #endif
/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/DoggieCore/Foundation/MappedBuffer.swift:724:106: error: cannot find 'errno' in scope
722 |                 #endif
723 |
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                                          `- error: cannot find 'errno' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
/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/DoggieCore/Foundation/MappedBuffer.swift:726:32: error: cannot find 'mmap' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:55: error: cannot find 'PROT_READ' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                       `- error: cannot find 'PROT_READ' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:67: error: cannot find 'PROT_WRITE' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                   `- error: cannot find 'PROT_WRITE' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:79: error: cannot find 'MAP_SHARED' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                               `- error: cannot find 'MAP_SHARED' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:37: error: 'nil' requires a contextual type
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:727:35: error: cannot find 'MAP_FAILED' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
728 |
729 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:727:89: error: cannot find 'errno' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
728 |
729 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:736:32: error: cannot find 'mmap' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:55: error: cannot find 'PROT_READ' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                       `- error: cannot find 'PROT_READ' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:67: error: cannot find 'PROT_WRITE' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                   `- error: cannot find 'PROT_WRITE' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:79: error: cannot find 'MAP_ANONYMOUS' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                               `- error: cannot find 'MAP_ANONYMOUS' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:95: error: cannot find 'MAP_PRIVATE' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                               `- error: cannot find 'MAP_PRIVATE' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:37: error: 'nil' requires a contextual type
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:737:35: error: cannot find 'MAP_FAILED' in scope
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
738 |
739 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:737:89: error: cannot find 'errno' in scope
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
738 |
739 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:749:13: error: cannot find 'munmap' in scope
747 |             }
748 |
749 |             munmap(address, mapped_size)
    |             `- error: cannot find 'munmap' in scope
750 |
751 |             if fileBacked {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:770:17: error: cannot find 'munmap' in scope
768 |             if fileBacked {
769 |
770 |                 munmap(old_address, old_mapped_size)
    |                 `- error: cannot find 'munmap' in scope
771 |
772 |                 self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:774:115: error: cannot find 'errno' in scope
772 |                 self.mapped_size = new_mapped_size
773 |
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                                                   `- error: cannot find 'errno' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
/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/DoggieCore/Foundation/MappedBuffer.swift:776:32: error: cannot find 'mmap' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:59: error: cannot find 'PROT_READ' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                           `- error: cannot find 'PROT_READ' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:71: error: cannot find 'PROT_WRITE' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                       `- error: cannot find 'PROT_WRITE' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:83: error: cannot find 'MAP_SHARED' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                                   `- error: cannot find 'MAP_SHARED' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:37: error: 'nil' requires a contextual type
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:777:35: error: cannot find 'MAP_FAILED' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
778 |
779 |                 self.address = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:777:89: error: cannot find 'errno' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
778 |
779 |                 self.address = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:786:33: error: cannot find 'mmap' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                 `- error: cannot find 'mmap' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:61: error: cannot find 'PROT_READ' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                             `- error: cannot find 'PROT_READ' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:73: error: cannot find 'PROT_WRITE' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                         `- error: cannot find 'PROT_WRITE' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:85: error: cannot find 'MAP_ANONYMOUS' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                     `- error: cannot find 'MAP_ANONYMOUS' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:101: error: cannot find 'MAP_PRIVATE' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                                     `- error: cannot find 'MAP_PRIVATE' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:788:33: error: cannot find 'MAP_FAILED' in scope
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
787 |
788 |                 if _extended != MAP_FAILED {
    |                                 `- error: cannot find 'MAP_FAILED' in scope
789 |                     if _extended == _tail {
790 |                         self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:793:25: error: cannot find 'munmap' in scope
791 |                         return
792 |                     } else {
793 |                         munmap(_extended, _extended_size)
    |                         `- error: cannot find 'munmap' in scope
794 |                     }
795 |                 }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:32: error: cannot find 'mmap' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:59: error: cannot find 'PROT_READ' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                           `- error: cannot find 'PROT_READ' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:71: error: cannot find 'PROT_WRITE' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                       `- error: cannot find 'PROT_WRITE' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:83: error: cannot find 'MAP_ANONYMOUS' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                   `- error: cannot find 'MAP_ANONYMOUS' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:99: error: cannot find 'MAP_PRIVATE' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                                   `- error: cannot find 'MAP_PRIVATE' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:37: error: 'nil' requires a contextual type
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:35: error: cannot find 'MAP_FAILED' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:89: error: cannot find 'errno' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:804:17: error: cannot find 'munmap' in scope
802 |                 new_buffer.moveInitialize(from: old_address, count: count)
803 |
804 |                 munmap(old_address, old_mapped_size)
    |                 `- error: cannot find 'munmap' in scope
805 |
806 |                 self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:27: error: cannot find 'posix_madvise' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                           `- error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:63: error: cannot find 'POSIX_MADV_NORMAL' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                                                               `- error: cannot find 'POSIX_MADV_NORMAL' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:27: error: cannot find 'posix_madvise' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                           `- error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:63: error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                                                               `- error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:31: error: cannot find 'posix_madvise' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                               `- error: cannot find 'posix_madvise' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:67: error: cannot find 'POSIX_MADV_RANDOM' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                                                                   `- error: cannot find 'POSIX_MADV_RANDOM' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:29: error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:65: error: cannot find 'POSIX_MADV_WILLNEED' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_WILLNEED' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:29: error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:65: error: cannot find 'POSIX_MADV_DONTNEED' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_DONTNEED' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:824:13: error: cannot find 'mlock' in scope
822 |         @usableFromInline
823 |         func memory_lock() {
824 |             mlock(address, mapped_size)
    |             `- error: cannot find 'mlock' in scope
825 |         }
826 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:829:13: error: cannot find 'munlock' in scope
827 |         @usableFromInline
828 |         func memory_unlock() {
829 |             munlock(address, mapped_size)
    |             `- error: cannot find 'munlock' in scope
830 |         }
831 |     }
[396/433] Compiling DoggieCore MappedBuffer.swift
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:287:22: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
268 |     @inlinable
269 |     @inline(__always)
270 |     public mutating func append<S: Sequence>(contentsOf newElements: S) where S.Element == Element {
    |                                 `- note: 'S' previously declared here
271 |
272 |         let old_count = base.count
    :
285 |
286 |         @inline(__always)
287 |         func _append<S: Sequence>(_ newElements: S) where S.Element == Element {
    |                      `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
288 |
289 |             let buffer = UnsafeMutableBufferPointer(start: base.address + old_count, count: underestimatedCount - old_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:375:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
373 |
374 |             @inline(__always)
375 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
376 |
377 |                 let buffer = UnsafeMutableBufferPointer(start: base.address + subRange.lowerBound, count: newElements_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:402:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
400 |
401 |             @inline(__always)
402 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
403 |
404 |                 let buffer = UnsafeMutableBufferPointer(start: address, count: newElements_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:706:76: error: cannot find 'S_IRUSR' in scope
704 |                     #else
705 |
706 |                     fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, S_IRUSR | S_IWUSR)
    |                                                                            `- error: cannot find 'S_IRUSR' in scope
707 |
708 |                     #endif
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:706:86: error: cannot find 'S_IWUSR' in scope
704 |                     #else
705 |
706 |                     fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, S_IRUSR | S_IWUSR)
    |                                                                                      `- error: cannot find 'S_IWUSR' in scope
707 |
708 |                     #endif
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:710:39: error: cannot find 'errno' in scope
708 |                     #endif
709 |
710 |                     guard fd == -1 && errno == EEXIST else { break }
    |                                       `- error: cannot find 'errno' in scope
711 |                 }
712 |
/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/DoggieCore/Foundation/MappedBuffer.swift:716:78: error: cannot find 'errno' in scope
714 |                 self.path = path
715 |
716 |                 guard fd != -1 else { fatalError("\(String(cString: strerror(errno))): \(path)") }
    |                                                                              `- error: cannot find 'errno' in scope
717 |
718 |                 #if !canImport(Darwin)
/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/DoggieCore/Foundation/MappedBuffer.swift:720:91: error: cannot find 'errno' in scope
718 |                 #if !canImport(Darwin)
719 |
720 |                 guard flock(fd, LOCK_EX) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                           `- error: cannot find 'errno' in scope
721 |
722 |                 #endif
/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/DoggieCore/Foundation/MappedBuffer.swift:724:106: error: cannot find 'errno' in scope
722 |                 #endif
723 |
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                                          `- error: cannot find 'errno' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
/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/DoggieCore/Foundation/MappedBuffer.swift:726:32: error: cannot find 'mmap' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:55: error: cannot find 'PROT_READ' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                       `- error: cannot find 'PROT_READ' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:67: error: cannot find 'PROT_WRITE' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                   `- error: cannot find 'PROT_WRITE' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:79: error: cannot find 'MAP_SHARED' in scope
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                               `- error: cannot find 'MAP_SHARED' in scope
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:726:37: error: 'nil' requires a contextual type
724 |                 guard ftruncate(fd, off_t(mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
728 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:727:35: error: cannot find 'MAP_FAILED' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
728 |
729 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:727:89: error: cannot find 'errno' in scope
725 |
726 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
727 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
728 |
729 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:736:32: error: cannot find 'mmap' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:55: error: cannot find 'PROT_READ' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                       `- error: cannot find 'PROT_READ' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:67: error: cannot find 'PROT_WRITE' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                   `- error: cannot find 'PROT_WRITE' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:79: error: cannot find 'MAP_ANONYMOUS' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                               `- error: cannot find 'MAP_ANONYMOUS' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:95: error: cannot find 'MAP_PRIVATE' in scope
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                               `- error: cannot find 'MAP_PRIVATE' in scope
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:736:37: error: 'nil' requires a contextual type
734 |                 self.path = ""
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
738 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:737:35: error: cannot find 'MAP_FAILED' in scope
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
738 |
739 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:737:89: error: cannot find 'errno' in scope
735 |
736 |                 let _address = mmap(nil, mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
737 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
738 |
739 |                 self.address = _address!.bindMemory(to: Element.self, capacity: capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:749:13: error: cannot find 'munmap' in scope
747 |             }
748 |
749 |             munmap(address, mapped_size)
    |             `- error: cannot find 'munmap' in scope
750 |
751 |             if fileBacked {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:770:17: error: cannot find 'munmap' in scope
768 |             if fileBacked {
769 |
770 |                 munmap(old_address, old_mapped_size)
    |                 `- error: cannot find 'munmap' in scope
771 |
772 |                 self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:774:115: error: cannot find 'errno' in scope
772 |                 self.mapped_size = new_mapped_size
773 |
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
    |                                                                                                                   `- error: cannot find 'errno' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
/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/DoggieCore/Foundation/MappedBuffer.swift:776:32: error: cannot find 'mmap' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:59: error: cannot find 'PROT_READ' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                           `- error: cannot find 'PROT_READ' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:71: error: cannot find 'PROT_WRITE' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                       `- error: cannot find 'PROT_WRITE' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:83: error: cannot find 'MAP_SHARED' in scope
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                                                                   `- error: cannot find 'MAP_SHARED' in scope
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:776:37: error: 'nil' requires a contextual type
774 |                 guard ftruncate(self.fd, off_t(new_mapped_size)) != -1 else { fatalError(String(cString: strerror(errno))) }
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
778 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:777:35: error: cannot find 'MAP_FAILED' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
778 |
779 |                 self.address = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:777:89: error: cannot find 'errno' in scope
775 |
776 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)
777 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
778 |
779 |                 self.address = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:786:33: error: cannot find 'mmap' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                 `- error: cannot find 'mmap' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:61: error: cannot find 'PROT_READ' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                             `- error: cannot find 'PROT_READ' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:73: error: cannot find 'PROT_WRITE' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                         `- error: cannot find 'PROT_WRITE' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:85: error: cannot find 'MAP_ANONYMOUS' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                     `- error: cannot find 'MAP_ANONYMOUS' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:786:101: error: cannot find 'MAP_PRIVATE' in scope
784 |                 let _tail = UnsafeMutableRawPointer(old_address) + old_mapped_size
785 |
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                                     `- error: cannot find 'MAP_PRIVATE' in scope
787 |
788 |                 if _extended != MAP_FAILED {
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:788:33: error: cannot find 'MAP_FAILED' in scope
786 |                 let _extended = mmap(_tail, _extended_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
787 |
788 |                 if _extended != MAP_FAILED {
    |                                 `- error: cannot find 'MAP_FAILED' in scope
789 |                     if _extended == _tail {
790 |                         self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:793:25: error: cannot find 'munmap' in scope
791 |                         return
792 |                     } else {
793 |                         munmap(_extended, _extended_size)
    |                         `- error: cannot find 'munmap' in scope
794 |                     }
795 |                 }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:32: error: cannot find 'mmap' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                `- error: cannot find 'mmap' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:59: error: cannot find 'PROT_READ' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                           `- error: cannot find 'PROT_READ' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:71: error: cannot find 'PROT_WRITE' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                       `- error: cannot find 'PROT_WRITE' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:83: error: cannot find 'MAP_ANONYMOUS' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                   `- error: cannot find 'MAP_ANONYMOUS' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:99: error: cannot find 'MAP_PRIVATE' in scope
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                                                                                   `- error: cannot find 'MAP_PRIVATE' in scope
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:797:37: error: 'nil' requires a contextual type
795 |                 }
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
    |                                     `- error: 'nil' requires a contextual type
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
799 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:35: error: cannot find 'MAP_FAILED' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                   `- error: cannot find 'MAP_FAILED' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:798:89: error: cannot find 'errno' in scope
796 |
797 |                 let _address = mmap(nil, new_mapped_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, fd, 0)
798 |                 guard _address != MAP_FAILED else { fatalError(String(cString: strerror(errno))) }
    |                                                                                         `- error: cannot find 'errno' in scope
799 |
800 |                 let new_buffer = _address!.bindMemory(to: Element.self, capacity: new_capacity)
/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/DoggieCore/Foundation/MappedBuffer.swift:804:17: error: cannot find 'munmap' in scope
802 |                 new_buffer.moveInitialize(from: old_address, count: count)
803 |
804 |                 munmap(old_address, old_mapped_size)
    |                 `- error: cannot find 'munmap' in scope
805 |
806 |                 self.mapped_size = new_mapped_size
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:27: error: cannot find 'posix_madvise' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                           `- error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:814:63: error: cannot find 'POSIX_MADV_NORMAL' in scope
812 |         func set_memory_advise(_ advise: MemoryAdvise) {
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
    |                                                               `- error: cannot find 'POSIX_MADV_NORMAL' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:27: error: cannot find 'posix_madvise' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                           `- error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:815:63: error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
813 |             switch advise {
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
    |                                                               `- error: cannot find 'POSIX_MADV_SEQUENTIAL' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:31: error: cannot find 'posix_madvise' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                               `- error: cannot find 'posix_madvise' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:816:67: error: cannot find 'POSIX_MADV_RANDOM' in scope
814 |             case .normal: posix_madvise(address, mapped_size, POSIX_MADV_NORMAL)
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
    |                                                                   `- error: cannot find 'POSIX_MADV_RANDOM' in scope
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:29: error: cannot find 'posix_madvise' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:817:65: error: cannot find 'POSIX_MADV_WILLNEED' in scope
815 |             case .random: posix_madvise(address, mapped_size, POSIX_MADV_SEQUENTIAL)
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_WILLNEED' in scope
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
819 |             }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:29: error: cannot find 'posix_madvise' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                             `- error: cannot find 'posix_madvise' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:818:65: error: cannot find 'POSIX_MADV_DONTNEED' in scope
816 |             case .sequential: posix_madvise(address, mapped_size, POSIX_MADV_RANDOM)
817 |             case .willNeed: posix_madvise(address, mapped_size, POSIX_MADV_WILLNEED)
818 |             case .dontNeed: posix_madvise(address, mapped_size, POSIX_MADV_DONTNEED)
    |                                                                 `- error: cannot find 'POSIX_MADV_DONTNEED' in scope
819 |             }
820 |         }
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:824:13: error: cannot find 'mlock' in scope
822 |         @usableFromInline
823 |         func memory_lock() {
824 |             mlock(address, mapped_size)
    |             `- error: cannot find 'mlock' in scope
825 |         }
826 |
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:829:13: error: cannot find 'munlock' in scope
827 |         @usableFromInline
828 |         func memory_unlock() {
829 |             munlock(address, mapped_size)
    |             `- error: cannot find 'munlock' in scope
830 |         }
831 |     }
[397/440] Compiling DoggieCore Json.swift
[398/440] Compiling DoggieCore JsonCodable.swift
[399/440] Compiling DoggieCore JsonConvertible.swift
[400/440] Compiling DoggieCore JsonNumber.swift
[401/440] Compiling DoggieCore JsonNumberCodable.swift
[402/440] Compiling DoggieCore FileExtension.swift
[403/440] Compiling DoggieCore MIMEType.swift
[404/440] Compiling DoggieCore Parallel.swift
[405/440] Compiling DoggieCore TypePunned.swift
[406/440] Compiling DoggieCore TypedData.swift
[407/440] Compiling DoggieCore URLComponents.swift
[408/440] Compiling DoggieCore UUID.swift
[409/440] Compiling DoggieCore WeakDictionary.swift
[410/440] Compiling DoggieCore WeakSet.swift
[411/440] Compiling DoggieCore Inflate.swift
[412/440] Compiling DoggieCore zlib.swift
[413/440] Compiling DoggieCore Sendable.swift
[414/440] Compiling DoggieCore SerialRunLoop.swift
[415/440] Compiling DoggieCore UnsafeSendable.swift
[416/440] Compiling DoggieCore Exported.swift
[417/440] Compiling DoggieCore Algorithm.swift
[418/440] Compiling DoggieCore Cache.swift
[419/440] Compiling DoggieCore Dictionary.swift
[420/440] Compiling DoggieCore Equatable.swift
[421/440] Compiling DoggieCore FloatingPoint.swift
[422/440] Compiling DoggieCore Integer.swift
[423/440] Compiling DoggieCore OptionOneCollection.swift
[424/440] Compiling DoggieCore Policy.swift
[425/440] Compiling DoggieCore RawBitPattern.swift
[426/440] Compiling DoggieCore MediaType.swift
[427/440] Compiling DoggieCore BinaryFixedPoint.swift
[428/440] Compiling DoggieCore ByteCodable.swift
[429/440] Compiling DoggieCore Endianness.swift
[430/440] Compiling DoggieCore Signature.swift
[431/440] Compiling DoggieCore CollectionExtension.swift
[432/440] Compiling DoggieCore Decimal.swift
[433/440] Compiling DoggieCore String.swift
[434/440] Compiling DoggieCore replaceValue.swift
[435/440] Compiling DoggieCore SDXMLAttribute.swift
[436/440] Compiling DoggieCore SDXMLDocument.swift
[437/440] Compiling DoggieCore SDXMLElement.swift
[438/440] Compiling DoggieCore SDXMLParser.swift
[439/440] Compiling DoggieCore SDXMLString.swift
[440/440] Emitting module DoggieCore
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:287:22: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
268 |     @inlinable
269 |     @inline(__always)
270 |     public mutating func append<S: Sequence>(contentsOf newElements: S) where S.Element == Element {
    |                                 `- note: 'S' previously declared here
271 |
272 |         let old_count = base.count
    :
285 |
286 |         @inline(__always)
287 |         func _append<S: Sequence>(_ newElements: S) where S.Element == Element {
    |                      `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
288 |
289 |             let buffer = UnsafeMutableBufferPointer(start: base.address + old_count, count: underestimatedCount - old_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:375:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
373 |
374 |             @inline(__always)
375 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
376 |
377 |                 let buffer = UnsafeMutableBufferPointer(start: base.address + subRange.lowerBound, count: newElements_count)
/host/spi-builder-workspace/Sources/DoggieCore/Foundation/MappedBuffer.swift:402:26: warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
345 |     @inlinable
346 |     @inline(__always)
347 |     public mutating func replaceSubrange<C: Collection>(_ subRange: Range<Int>, with newElements: C) where C.Element == Element {
    |                                          `- note: 'C' previously declared here
348 |
349 |         precondition(0 <= subRange.lowerBound, "Index out of range.")
    :
400 |
401 |             @inline(__always)
402 |             func _append<C: Collection>(_ newElements: C) where C.Element == Element {
    |                          `- warning: generic parameter 'C' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
403 |
404 |                 let buffer = UnsafeMutableBufferPointer(start: address, count: newElements_count)
BUILD FAILURE 6.1 android