Build Information
Failed to build xsys with Swift 6.0 for watchOS using Xcode 16.0.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme xsys -destination generic/platform=watchos OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Build Log
SwiftCompile normal armv7k Compiling\ time.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift (in target 'xsys' from project 'xsys')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/SocketAddress.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/UUID.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/sockaddr_any.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timeval_any.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.dia -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name xsys -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.o -index-unit-output-path /xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift (in target 'xsys' from project 'xsys')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/SocketAddress.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/UUID.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/sockaddr_any.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timeval_any.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.dia -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name xsys -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.o -index-unit-output-path /xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/time.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:28:14: warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
public let time = Darwin.time
^
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:28:14: note: annotate 'time' with '@MainActor' if property should only be accessed from the main actor
public let time = Darwin.time
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:28:14: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public let time = Darwin.time
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:29:14: warning: let 'gmtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
public let gmtime_r = Darwin.gmtime_r
^
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:29:14: note: annotate 'gmtime_r' with '@MainActor' if property should only be accessed from the main actor
public let gmtime_r = Darwin.gmtime_r
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:29:14: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public let gmtime_r = Darwin.gmtime_r
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:30:14: warning: let 'localtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
public let localtime_r = Darwin.localtime_r
^
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:30:14: note: annotate 'localtime_r' with '@MainActor' if property should only be accessed from the main actor
public let localtime_r = Darwin.localtime_r
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:30:14: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public let localtime_r = Darwin.localtime_r
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:31:14: warning: let 'strftime' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int, UnsafePointer<CChar>?, UnsafePointer<tm>?) -> Int' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<tm>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
public let strftime = Darwin.strftime
^
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:31:14: note: annotate 'strftime' with '@MainActor' if property should only be accessed from the main actor
public let strftime = Darwin.strftime
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:31:14: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public let strftime = Darwin.strftime
^
nonisolated(unsafe)
SwiftEmitModule normal armv7k Emitting\ module\ for\ xsys (in target 'xsys' from project 'xsys')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/SocketAddress.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/UUID.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/sockaddr_any.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timeval_any.swift -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name xsys -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift:19:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public struct XSysModule {
| `- note: consider making struct 'XSysModule' conform to the 'Sendable' protocol
18 | }
19 | public let module = XSysModule()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift:183:3: warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
181 | import Foundation // this is for POSIXError : Error
182 |
183 | extension POSIXErrorCode : Error {}
| |- warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
184 | #endif // MacOS
185 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift:183:3: warning: conformance to 'Sendable' must occur in the same source file as enum 'POSIXErrorCode'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
181 | import Foundation // this is for POSIXError : Error
182 |
183 | extension POSIXErrorCode : Error {}
| `- warning: conformance to 'Sendable' must occur in the same source file as enum 'POSIXErrorCode'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
184 | #endif // MacOS
185 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift:20:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Darwin
19 |
20 | public let dlsym = Darwin.dlsym
| |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dlsym' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public let dlopen = Darwin.dlopen
22 | #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift:21:14: warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public let dlsym = Darwin.dlsym
21 | public let dlopen = Darwin.dlopen
| |- warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dlopen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | #endif
23 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:61:14: warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
59 | import Darwin
60 |
61 | public let open : xsysOpenType = Darwin.open
| |- warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public let close = Darwin.close
63 | public let read = Darwin.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:62:14: warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | public let open : xsysOpenType = Darwin.open
62 | public let close = Darwin.close
| |- warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'close' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public let read = Darwin.read
64 | public let write = Darwin.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:63:14: warning: let 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
61 | public let open : xsysOpenType = Darwin.open
62 | public let close = Darwin.close
63 | public let read = Darwin.read
| |- warning: let 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public let write = Darwin.write
65 | public let recvfrom = Darwin.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:64:14: warning: let 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
62 | public let close = Darwin.close
63 | public let read = Darwin.read
64 | public let write = Darwin.write
| |- warning: let 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public let recvfrom = Darwin.recvfrom
66 | public let sendto = Darwin.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:65:14: warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
63 | public let read = Darwin.read
64 | public let write = Darwin.write
65 | public let recvfrom = Darwin.recvfrom
| |- warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recvfrom' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public let sendto = Darwin.sendto
67 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:66:14: warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
64 | public let write = Darwin.write
65 | public let recvfrom = Darwin.recvfrom
66 | public let sendto = Darwin.sendto
| |- warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sendto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public let access = Darwin.access
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:68:14: warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
66 | public let sendto = Darwin.sendto
67 |
68 | public let access = Darwin.access
| |- warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'access' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public let F_OK = Darwin.F_OK
70 | public let R_OK = Darwin.R_OK
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:91:14: warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
89 | return Darwin.lstat(p, r)
90 | }
91 | public let lstat = Darwin.lstat
| |- warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lstat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 |
93 | public let opendir = Darwin.opendir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:93:14: warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<DIR>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<DIR>>') may have shared mutable state; this is an error in the Swift 6 language mode
91 | public let lstat = Darwin.lstat
92 |
93 | public let opendir = Darwin.opendir
| |- warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<DIR>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<DIR>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'opendir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public let closedir = Darwin.closedir
95 | public let readdir = Darwin.readdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:94:14: warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
92 |
93 | public let opendir = Darwin.opendir
94 | public let closedir = Darwin.closedir
| |- warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closedir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public let readdir = Darwin.readdir
96 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:95:14: warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
93 | public let opendir = Darwin.opendir
94 | public let closedir = Darwin.closedir
95 | public let readdir = Darwin.readdir
| |- warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | public typealias dirent = Darwin.dirent
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:49:23: warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
47 | // but not in Xcode yet?
48 |
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
| |- warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dlHandle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:50:23: warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
| |- warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fnFcntl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
52 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:51:23: warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
| |- warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fnIoctl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | @usableFromInline typealias fcntlViType =
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:79:14: warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | public typealias size_t = Darwin.size_t
79 | public let memcpy = Darwin.memcpy
| |- warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'memcpy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public let strlen = Darwin.strlen
81 | public let strchr = Darwin.strchr
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:80:14: warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
78 | public typealias size_t = Darwin.size_t
79 | public let memcpy = Darwin.memcpy
80 | public let strlen = Darwin.strlen
| |- warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strlen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public let strchr = Darwin.strchr
82 | public let arc4random_uniform = Darwin.arc4random_uniform
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:81:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
79 | public let memcpy = Darwin.memcpy
80 | public let strlen = Darwin.strlen
81 | public let strchr = Darwin.strchr
| |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strchr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public let arc4random_uniform = Darwin.arc4random_uniform
83 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:82:14: warning: let 'arc4random_uniform' is not concurrency-safe because non-'Sendable' type '(UInt32) -> UInt32' may have shared mutable state; this is an error in the Swift 6 language mode
80 | public let strlen = Darwin.strlen
81 | public let strchr = Darwin.strchr
82 | public let arc4random_uniform = Darwin.arc4random_uniform
| |- warning: let 'arc4random_uniform' is not concurrency-safe because non-'Sendable' type '(UInt32) -> UInt32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arc4random_uniform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | public let kill = Darwin.kill
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:84:14: warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
82 | public let arc4random_uniform = Darwin.arc4random_uniform
83 |
84 | public let kill = Darwin.kill
| |- warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public let chdir = Darwin.chdir
86 | public let rmdir = Darwin.rmdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:85:14: warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
83 |
84 | public let kill = Darwin.kill
85 | public let chdir = Darwin.chdir
| |- warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'chdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public let rmdir = Darwin.rmdir
87 | public let unlink = Darwin.unlink
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:86:14: warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
84 | public let kill = Darwin.kill
85 | public let chdir = Darwin.chdir
86 | public let rmdir = Darwin.rmdir
| |- warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rmdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public let unlink = Darwin.unlink
88 | public let mkdir = Darwin.mkdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:87:14: warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
85 | public let chdir = Darwin.chdir
86 | public let rmdir = Darwin.rmdir
87 | public let unlink = Darwin.unlink
| |- warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public let mkdir = Darwin.mkdir
89 | public let getcwd = Darwin.getcwd
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:88:14: warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, mode_t) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, UInt16) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
86 | public let rmdir = Darwin.rmdir
87 | public let unlink = Darwin.unlink
88 | public let mkdir = Darwin.mkdir
| |- warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, mode_t) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, UInt16) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mkdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public let getcwd = Darwin.getcwd
90 | public let getegid = Darwin.getegid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:89:14: warning: let 'getcwd' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
87 | public let unlink = Darwin.unlink
88 | public let mkdir = Darwin.mkdir
89 | public let getcwd = Darwin.getcwd
| |- warning: let 'getcwd' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getcwd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public let getegid = Darwin.getegid
91 | public let geteuid = Darwin.geteuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:90:14: warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
88 | public let mkdir = Darwin.mkdir
89 | public let getcwd = Darwin.getcwd
90 | public let getegid = Darwin.getegid
| |- warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getegid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public let geteuid = Darwin.geteuid
92 | public let getgid = Darwin.getgid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:91:14: warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
89 | public let getcwd = Darwin.getcwd
90 | public let getegid = Darwin.getegid
91 | public let geteuid = Darwin.geteuid
| |- warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'geteuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public let getgid = Darwin.getgid
93 | public let getuid = Darwin.getuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:92:14: warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
90 | public let getegid = Darwin.getegid
91 | public let geteuid = Darwin.geteuid
92 | public let getgid = Darwin.getgid
| |- warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getgid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public let getuid = Darwin.getuid
94 | public typealias pid_t = Darwin.pid_t
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:93:14: warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
91 | public let geteuid = Darwin.geteuid
92 | public let getgid = Darwin.getgid
93 | public let getuid = Darwin.getuid
| |- warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public typealias pid_t = Darwin.pid_t
95 | public let posix_spawn = Darwin.posix_spawn
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:95:37: error: 'posix_spawn' is unavailable in watchOS
93 | public let getuid = Darwin.getuid
94 | public typealias pid_t = Darwin.pid_t
95 | public let posix_spawn = Darwin.posix_spawn
| `- error: 'posix_spawn' is unavailable in watchOS
96 | public let posix_spawnp = Darwin.posix_spawnp
97 | public let waitpid = Darwin.waitpid
Darwin.posix_spawn:2:13: note: 'posix_spawn' has been explicitly marked unavailable here
1 | @available(watchOS, unavailable)
2 | public func posix_spawn(_: UnsafeMutablePointer<pid_t>!, _: UnsafePointer<CChar>!, _: UnsafePointer<posix_spawn_file_actions_t?>!, _: UnsafePointer<posix_spawnattr_t?>!, _ __argv: UnsafePointer<UnsafeMutablePointer<CChar>?>!, _ __envp: UnsafePointer<UnsafeMutablePointer<CChar>?>!) -> Int32
| `- note: 'posix_spawn' has been explicitly marked unavailable here
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:95:14: warning: let 'posix_spawn' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
93 | public let getuid = Darwin.getuid
94 | public typealias pid_t = Darwin.pid_t
95 | public let posix_spawn = Darwin.posix_spawn
| |- warning: let 'posix_spawn' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'posix_spawn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public let posix_spawnp = Darwin.posix_spawnp
97 | public let waitpid = Darwin.waitpid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:96:14: warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
94 | public typealias pid_t = Darwin.pid_t
95 | public let posix_spawn = Darwin.posix_spawn
96 | public let posix_spawnp = Darwin.posix_spawnp
| |- warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'posix_spawnp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public let waitpid = Darwin.waitpid
98 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:97:14: warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
95 | public let posix_spawn = Darwin.posix_spawn
96 | public let posix_spawnp = Darwin.posix_spawnp
97 | public let waitpid = Darwin.waitpid
| |- warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'waitpid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | public let getenv = Darwin.getenv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:99:14: warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
97 | public let waitpid = Darwin.waitpid
98 |
99 | public let getenv = Darwin.getenv
| |- warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getenv' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | // signals
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:119:14: warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<rlimit>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
117 | // rlimit
118 | public typealias rlimit = Darwin.rlimit
119 | public let getrlimit = Darwin.getrlimit
| |- warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<rlimit>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getrlimit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | public let RLIMIT_NOFILE = Darwin.RLIMIT_NOFILE
121 | public let _SC_OPEN_MAX = Darwin._SC_OPEN_MAX
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:122:14: warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
120 | public let RLIMIT_NOFILE = Darwin.RLIMIT_NOFILE
121 | public let _SC_OPEN_MAX = Darwin._SC_OPEN_MAX
122 | public let sysconf = Darwin.sysconf
| |- warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sysconf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | #endif
124 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift:16:12: warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
14 | return (value << 8) + (value >> 8);
15 | }
16 | public let htons = ntohs // same thing, swap bytes :-)
| |- warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:59:14: warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
57 | import Darwin
58 |
59 | public let socket = Darwin.socket
| |- warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'socket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public let poll = Darwin.poll
61 | public let bind = Darwin.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:60:14: warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
58 |
59 | public let socket = Darwin.socket
60 | public let poll = Darwin.poll
| |- warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public let bind = Darwin.bind
62 | public let connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:61:14: warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
59 | public let socket = Darwin.socket
60 | public let poll = Darwin.poll
61 | public let bind = Darwin.bind
| |- warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public let connect = Darwin.connect
63 | public let listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:62:14: warning: let 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
60 | public let poll = Darwin.poll
61 | public let bind = Darwin.bind
62 | public let connect = Darwin.connect
| |- warning: let 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'connect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public let listen = Darwin.listen
64 | public let accept = Darwin.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:63:14: warning: let 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
61 | public let bind = Darwin.bind
62 | public let connect = Darwin.connect
63 | public let listen = Darwin.listen
| |- warning: let 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'listen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public let accept = Darwin.accept
65 | public let shutdown = Darwin.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:64:14: warning: let 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
62 | public let connect = Darwin.connect
63 | public let listen = Darwin.listen
64 | public let accept = Darwin.accept
| |- warning: let 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public let shutdown = Darwin.shutdown
66 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:65:14: warning: let 'shutdown' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
63 | public let listen = Darwin.listen
64 | public let accept = Darwin.accept
65 | public let shutdown = Darwin.shutdown
| |- warning: let 'shutdown' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shutdown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public let getsockname = Darwin.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:67:14: warning: let 'getsockname' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
65 | public let shutdown = Darwin.shutdown
66 |
67 | public let getsockname = Darwin.getsockname
| |- warning: let 'getsockname' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getsockname' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public let getpeername = Darwin.getpeername
69 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:68:14: warning: let 'getpeername' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | public let getsockname = Darwin.getsockname
68 | public let getpeername = Darwin.getpeername
| |- warning: let 'getpeername' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getpeername' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | public let setsockopt = Darwin.setsockopt
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:70:14: warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
68 | public let getpeername = Darwin.getpeername
69 |
70 | public let setsockopt = Darwin.setsockopt
| |- warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setsockopt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public let getaddrinfo = Darwin.getaddrinfo
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:72:14: warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
70 | public let setsockopt = Darwin.setsockopt
71 |
72 | public let getaddrinfo = Darwin.getaddrinfo
| |- warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getaddrinfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public let freeaddrinfo = Darwin.freeaddrinfo
74 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:73:14: warning: let 'freeaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<addrinfo>?) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | public let getaddrinfo = Darwin.getaddrinfo
73 | public let freeaddrinfo = Darwin.freeaddrinfo
| |- warning: let 'freeaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<addrinfo>?) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'freeaddrinfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 | public let SOCK_STREAM = Darwin.SOCK_STREAM
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:28:14: warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
26 | public typealias time_t = Darwin.time_t
27 |
28 | public let time = Darwin.time
| |- warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public let gmtime_r = Darwin.gmtime_r
30 | public let localtime_r = Darwin.localtime_r
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:29:14: warning: let 'gmtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | public let time = Darwin.time
29 | public let gmtime_r = Darwin.gmtime_r
| |- warning: let 'gmtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmtime_r' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public let localtime_r = Darwin.localtime_r
31 | public let strftime = Darwin.strftime
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:30:14: warning: let 'localtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
28 | public let time = Darwin.time
29 | public let gmtime_r = Darwin.gmtime_r
30 | public let localtime_r = Darwin.localtime_r
| |- warning: let 'localtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localtime_r' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public let strftime = Darwin.strftime
32 | #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:31:14: warning: let 'strftime' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int, UnsafePointer<CChar>?, UnsafePointer<tm>?) -> Int' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<tm>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
29 | public let gmtime_r = Darwin.gmtime_r
30 | public let localtime_r = Darwin.localtime_r
31 | public let strftime = Darwin.strftime
| |- warning: let 'strftime' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int, UnsafePointer<CChar>?, UnsafePointer<tm>?) -> Int' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<tm>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strftime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:92:1: warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
90 | }
91 |
92 | extension timespec: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
93 | @inlinable
94 | public var description : String {
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:104:1: warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
102 | }
103 |
104 | extension timeval: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
105 | @inlinable
106 | public var description : String {
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:51:28: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
49 | host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &cclock);
50 | clock_get_time(cclock, &mts);
51 | mach_port_deallocate(mach_task_self_, cclock);
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | return timespec(mts)
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ xsys (in target 'xsys' from project 'xsys')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/SocketAddress.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/UUID.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/sockaddr_any.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timeval_any.swift -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name xsys -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift:19:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public struct XSysModule {
| `- note: consider making struct 'XSysModule' conform to the 'Sendable' protocol
18 | }
19 | public let module = XSysModule()
| |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'module' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift:183:3: warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
181 | import Foundation // this is for POSIXError : Error
182 |
183 | extension POSIXErrorCode : Error {}
| |- warning: extension declares a conformance of imported type 'POSIXErrorCode' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
184 | #endif // MacOS
185 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift:183:3: warning: conformance to 'Sendable' must occur in the same source file as enum 'POSIXErrorCode'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
181 | import Foundation // this is for POSIXError : Error
182 |
183 | extension POSIXErrorCode : Error {}
| `- warning: conformance to 'Sendable' must occur in the same source file as enum 'POSIXErrorCode'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
184 | #endif // MacOS
185 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift:20:14: warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
18 | import Darwin
19 |
20 | public let dlsym = Darwin.dlsym
| |- warning: let 'dlsym' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafeMutableRawPointer>, Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dlsym' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public let dlopen = Darwin.dlopen
22 | #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift:21:14: warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public let dlsym = Darwin.dlsym
21 | public let dlopen = Darwin.dlopen
| |- warning: let 'dlopen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutableRawPointer?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutableRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dlopen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | #endif
23 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:61:14: warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
59 | import Darwin
60 |
61 | public let open : xsysOpenType = Darwin.open
| |- warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'open' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public let close = Darwin.close
63 | public let read = Darwin.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:62:14: warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | public let open : xsysOpenType = Darwin.open
62 | public let close = Darwin.close
| |- warning: let 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'close' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public let read = Darwin.read
64 | public let write = Darwin.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:63:14: warning: let 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
61 | public let open : xsysOpenType = Darwin.open
62 | public let close = Darwin.close
63 | public let read = Darwin.read
| |- warning: let 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public let write = Darwin.write
65 | public let recvfrom = Darwin.recvfrom
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:64:14: warning: let 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
62 | public let close = Darwin.close
63 | public let read = Darwin.read
64 | public let write = Darwin.write
| |- warning: let 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public let recvfrom = Darwin.recvfrom
66 | public let sendto = Darwin.sendto
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:65:14: warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
63 | public let read = Darwin.read
64 | public let write = Darwin.write
65 | public let recvfrom = Darwin.recvfrom
| |- warning: let 'recvfrom' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int' (aka '(Int32, Optional<UnsafeMutableRawPointer>, Int, Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recvfrom' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public let sendto = Darwin.sendto
67 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:66:14: warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
64 | public let write = Darwin.write
65 | public let recvfrom = Darwin.recvfrom
66 | public let sendto = Darwin.sendto
| |- warning: let 'sendto' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int' (aka '(Int32, Optional<UnsafeRawPointer>, Int, Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sendto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public let access = Darwin.access
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:68:14: warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
66 | public let sendto = Darwin.sendto
67 |
68 | public let access = Darwin.access
| |- warning: let 'access' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'access' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public let F_OK = Darwin.F_OK
70 | public let R_OK = Darwin.R_OK
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:91:14: warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
89 | return Darwin.lstat(p, r)
90 | }
91 | public let lstat = Darwin.lstat
| |- warning: let 'lstat' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<stat>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lstat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 |
93 | public let opendir = Darwin.opendir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:93:14: warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<DIR>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<DIR>>') may have shared mutable state; this is an error in the Swift 6 language mode
91 | public let lstat = Darwin.lstat
92 |
93 | public let opendir = Darwin.opendir
| |- warning: let 'opendir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<DIR>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<DIR>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'opendir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public let closedir = Darwin.closedir
95 | public let readdir = Darwin.readdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:94:14: warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
92 |
93 | public let opendir = Darwin.opendir
94 | public let closedir = Darwin.closedir
| |- warning: let 'closedir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closedir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public let readdir = Darwin.readdir
96 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:95:14: warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
93 | public let opendir = Darwin.opendir
94 | public let closedir = Darwin.closedir
95 | public let readdir = Darwin.readdir
| |- warning: let 'readdir' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<DIR>?) -> UnsafeMutablePointer<dirent>?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | public typealias dirent = Darwin.dirent
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:49:23: warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
47 | // but not in Xcode yet?
48 |
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
| |- warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dlHandle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:50:23: warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
| |- warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fnFcntl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
52 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:51:23: warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | @usableFromInline let dlHandle = dlopen(nil, RTLD_NOW)
50 | @usableFromInline let fnFcntl = dlsym(dlHandle, "fcntl")
51 | @usableFromInline let fnIoctl = dlsym(dlHandle, "ioctl")
| |- warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fnIoctl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | @usableFromInline typealias fcntlViType =
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:79:14: warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | public typealias size_t = Darwin.size_t
79 | public let memcpy = Darwin.memcpy
| |- warning: let 'memcpy' is not concurrency-safe because non-'Sendable' type '(UnsafeMutableRawPointer?, UnsafeRawPointer?, Int) -> UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'memcpy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public let strlen = Darwin.strlen
81 | public let strchr = Darwin.strchr
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:80:14: warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
78 | public typealias size_t = Darwin.size_t
79 | public let memcpy = Darwin.memcpy
80 | public let strlen = Darwin.strlen
| |- warning: let 'strlen' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>) -> Int' (aka '(UnsafePointer<Int8>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strlen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public let strchr = Darwin.strchr
82 | public let arc4random_uniform = Darwin.arc4random_uniform
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:81:14: warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
79 | public let memcpy = Darwin.memcpy
80 | public let strlen = Darwin.strlen
81 | public let strchr = Darwin.strchr
| |- warning: let 'strchr' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Int32) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strchr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public let arc4random_uniform = Darwin.arc4random_uniform
83 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:82:14: warning: let 'arc4random_uniform' is not concurrency-safe because non-'Sendable' type '(UInt32) -> UInt32' may have shared mutable state; this is an error in the Swift 6 language mode
80 | public let strlen = Darwin.strlen
81 | public let strchr = Darwin.strchr
82 | public let arc4random_uniform = Darwin.arc4random_uniform
| |- warning: let 'arc4random_uniform' is not concurrency-safe because non-'Sendable' type '(UInt32) -> UInt32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arc4random_uniform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | public let kill = Darwin.kill
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:84:14: warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
82 | public let arc4random_uniform = Darwin.arc4random_uniform
83 |
84 | public let kill = Darwin.kill
| |- warning: let 'kill' is not concurrency-safe because non-'Sendable' type '(pid_t, Int32) -> Int32' (aka '(Int32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public let chdir = Darwin.chdir
86 | public let rmdir = Darwin.rmdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:85:14: warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
83 |
84 | public let kill = Darwin.kill
85 | public let chdir = Darwin.chdir
| |- warning: let 'chdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'chdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public let rmdir = Darwin.rmdir
87 | public let unlink = Darwin.unlink
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:86:14: warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
84 | public let kill = Darwin.kill
85 | public let chdir = Darwin.chdir
86 | public let rmdir = Darwin.rmdir
| |- warning: let 'rmdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rmdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public let unlink = Darwin.unlink
88 | public let mkdir = Darwin.mkdir
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:87:14: warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
85 | public let chdir = Darwin.chdir
86 | public let rmdir = Darwin.rmdir
87 | public let unlink = Darwin.unlink
| |- warning: let 'unlink' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public let mkdir = Darwin.mkdir
89 | public let getcwd = Darwin.getcwd
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:88:14: warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, mode_t) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, UInt16) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
86 | public let rmdir = Darwin.rmdir
87 | public let unlink = Darwin.unlink
88 | public let mkdir = Darwin.mkdir
| |- warning: let 'mkdir' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, mode_t) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, UInt16) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mkdir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public let getcwd = Darwin.getcwd
90 | public let getegid = Darwin.getegid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:89:14: warning: let 'getcwd' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
87 | public let unlink = Darwin.unlink
88 | public let mkdir = Darwin.mkdir
89 | public let getcwd = Darwin.getcwd
| |- warning: let 'getcwd' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getcwd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public let getegid = Darwin.getegid
91 | public let geteuid = Darwin.geteuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:90:14: warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
88 | public let mkdir = Darwin.mkdir
89 | public let getcwd = Darwin.getcwd
90 | public let getegid = Darwin.getegid
| |- warning: let 'getegid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getegid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public let geteuid = Darwin.geteuid
92 | public let getgid = Darwin.getgid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:91:14: warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
89 | public let getcwd = Darwin.getcwd
90 | public let getegid = Darwin.getegid
91 | public let geteuid = Darwin.geteuid
| |- warning: let 'geteuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'geteuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public let getgid = Darwin.getgid
93 | public let getuid = Darwin.getuid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:92:14: warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
90 | public let getegid = Darwin.getegid
91 | public let geteuid = Darwin.geteuid
92 | public let getgid = Darwin.getgid
| |- warning: let 'getgid' is not concurrency-safe because non-'Sendable' type '() -> gid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getgid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public let getuid = Darwin.getuid
94 | public typealias pid_t = Darwin.pid_t
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:93:14: warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
91 | public let geteuid = Darwin.geteuid
92 | public let getgid = Darwin.getgid
93 | public let getuid = Darwin.getuid
| |- warning: let 'getuid' is not concurrency-safe because non-'Sendable' type '() -> uid_t' (aka '() -> UInt32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public typealias pid_t = Darwin.pid_t
95 | public let posix_spawn = Darwin.posix_spawn
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:95:37: error: 'posix_spawn' is unavailable in watchOS
93 | public let getuid = Darwin.getuid
94 | public typealias pid_t = Darwin.pid_t
95 | public let posix_spawn = Darwin.posix_spawn
| `- error: 'posix_spawn' is unavailable in watchOS
96 | public let posix_spawnp = Darwin.posix_spawnp
97 | public let waitpid = Darwin.waitpid
Darwin.posix_spawn:2:13: note: 'posix_spawn' has been explicitly marked unavailable here
1 | @available(watchOS, unavailable)
2 | public func posix_spawn(_: UnsafeMutablePointer<pid_t>!, _: UnsafePointer<CChar>!, _: UnsafePointer<posix_spawn_file_actions_t?>!, _: UnsafePointer<posix_spawnattr_t?>!, _ __argv: UnsafePointer<UnsafeMutablePointer<CChar>?>!, _ __envp: UnsafePointer<UnsafeMutablePointer<CChar>?>!) -> Int32
| `- note: 'posix_spawn' has been explicitly marked unavailable here
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:95:14: warning: let 'posix_spawn' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
93 | public let getuid = Darwin.getuid
94 | public typealias pid_t = Darwin.pid_t
95 | public let posix_spawn = Darwin.posix_spawn
| |- warning: let 'posix_spawn' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'posix_spawn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public let posix_spawnp = Darwin.posix_spawnp
97 | public let waitpid = Darwin.waitpid
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:96:14: warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
94 | public typealias pid_t = Darwin.pid_t
95 | public let posix_spawn = Darwin.posix_spawn
96 | public let posix_spawnp = Darwin.posix_spawnp
| |- warning: let 'posix_spawnp' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pid_t>?, UnsafePointer<CChar>?, UnsafePointer<posix_spawn_file_actions_t?>?, UnsafePointer<posix_spawnattr_t?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?, UnsafePointer<UnsafeMutablePointer<CChar>?>?) -> Int32' (aka '(Optional<UnsafeMutablePointer<Int32>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutableRawPointer>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>, Optional<UnsafePointer<Optional<UnsafeMutablePointer<Int8>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'posix_spawnp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public let waitpid = Darwin.waitpid
98 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:97:14: warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
95 | public let posix_spawn = Darwin.posix_spawn
96 | public let posix_spawnp = Darwin.posix_spawnp
97 | public let waitpid = Darwin.waitpid
| |- warning: let 'waitpid' is not concurrency-safe because non-'Sendable' type '(pid_t, UnsafeMutablePointer<Int32>?, Int32) -> pid_t' (aka '(Int32, Optional<UnsafeMutablePointer<Int32>>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'waitpid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | public let getenv = Darwin.getenv
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:99:14: warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
97 | public let waitpid = Darwin.waitpid
98 |
99 | public let getenv = Darwin.getenv
| |- warning: let 'getenv' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getenv' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | // signals
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:119:14: warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<rlimit>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
117 | // rlimit
118 | public typealias rlimit = Darwin.rlimit
119 | public let getrlimit = Darwin.getrlimit
| |- warning: let 'getrlimit' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<rlimit>?) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getrlimit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | public let RLIMIT_NOFILE = Darwin.RLIMIT_NOFILE
121 | public let _SC_OPEN_MAX = Darwin._SC_OPEN_MAX
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift:122:14: warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
120 | public let RLIMIT_NOFILE = Darwin.RLIMIT_NOFILE
121 | public let _SC_OPEN_MAX = Darwin._SC_OPEN_MAX
122 | public let sysconf = Darwin.sysconf
| |- warning: let 'sysconf' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sysconf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | #endif
124 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift:16:12: warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
14 | return (value << 8) + (value >> 8);
15 | }
16 | public let htons = ntohs // same thing, swap bytes :-)
| |- warning: let 'htons' is not concurrency-safe because non-'Sendable' type '(CUnsignedShort) -> CUnsignedShort' (aka '(UInt16) -> UInt16') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:59:14: warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
57 | import Darwin
58 |
59 | public let socket = Darwin.socket
| |- warning: let 'socket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'socket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public let poll = Darwin.poll
61 | public let bind = Darwin.bind
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:60:14: warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
58 |
59 | public let socket = Darwin.socket
60 | public let poll = Darwin.poll
| |- warning: let 'poll' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<pollfd>?, nfds_t, Int32) -> Int32' (aka '(Optional<UnsafeMutablePointer<pollfd>>, UInt32, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public let bind = Darwin.bind
62 | public let connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:61:14: warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
59 | public let socket = Darwin.socket
60 | public let poll = Darwin.poll
61 | public let bind = Darwin.bind
| |- warning: let 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public let connect = Darwin.connect
63 | public let listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:62:14: warning: let 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
60 | public let poll = Darwin.poll
61 | public let bind = Darwin.bind
62 | public let connect = Darwin.connect
| |- warning: let 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'connect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public let listen = Darwin.listen
64 | public let accept = Darwin.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:63:14: warning: let 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
61 | public let bind = Darwin.bind
62 | public let connect = Darwin.connect
63 | public let listen = Darwin.listen
| |- warning: let 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'listen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public let accept = Darwin.accept
65 | public let shutdown = Darwin.shutdown
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:64:14: warning: let 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
62 | public let connect = Darwin.connect
63 | public let listen = Darwin.listen
64 | public let accept = Darwin.accept
| |- warning: let 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public let shutdown = Darwin.shutdown
66 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:65:14: warning: let 'shutdown' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
63 | public let listen = Darwin.listen
64 | public let accept = Darwin.accept
65 | public let shutdown = Darwin.shutdown
| |- warning: let 'shutdown' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shutdown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public let getsockname = Darwin.getsockname
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:67:14: warning: let 'getsockname' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
65 | public let shutdown = Darwin.shutdown
66 |
67 | public let getsockname = Darwin.getsockname
| |- warning: let 'getsockname' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getsockname' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public let getpeername = Darwin.getpeername
69 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:68:14: warning: let 'getpeername' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | public let getsockname = Darwin.getsockname
68 | public let getpeername = Darwin.getpeername
| |- warning: let 'getpeername' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getpeername' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | public let setsockopt = Darwin.setsockopt
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:70:14: warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
68 | public let getpeername = Darwin.getpeername
69 |
70 | public let setsockopt = Darwin.setsockopt
| |- warning: let 'setsockopt' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32, UnsafeRawPointer?, socklen_t) -> Int32' (aka '(Int32, Int32, Int32, Optional<UnsafeRawPointer>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setsockopt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public let getaddrinfo = Darwin.getaddrinfo
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:72:14: warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
70 | public let setsockopt = Darwin.setsockopt
71 |
72 | public let getaddrinfo = Darwin.getaddrinfo
| |- warning: let 'getaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafePointer<CChar>?, UnsafePointer<addrinfo>?, UnsafeMutablePointer<UnsafeMutablePointer<addrinfo>?>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<addrinfo>>, Optional<UnsafeMutablePointer<Optional<UnsafeMutablePointer<addrinfo>>>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getaddrinfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public let freeaddrinfo = Darwin.freeaddrinfo
74 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift:73:14: warning: let 'freeaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<addrinfo>?) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | public let getaddrinfo = Darwin.getaddrinfo
73 | public let freeaddrinfo = Darwin.freeaddrinfo
| |- warning: let 'freeaddrinfo' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<addrinfo>?) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'freeaddrinfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 | public let SOCK_STREAM = Darwin.SOCK_STREAM
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:28:14: warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
26 | public typealias time_t = Darwin.time_t
27 |
28 | public let time = Darwin.time
| |- warning: let 'time' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<time_t>?) -> time_t' (aka '(Optional<UnsafeMutablePointer<Int>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public let gmtime_r = Darwin.gmtime_r
30 | public let localtime_r = Darwin.localtime_r
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:29:14: warning: let 'gmtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | public let time = Darwin.time
29 | public let gmtime_r = Darwin.gmtime_r
| |- warning: let 'gmtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmtime_r' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public let localtime_r = Darwin.localtime_r
31 | public let strftime = Darwin.strftime
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:30:14: warning: let 'localtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
28 | public let time = Darwin.time
29 | public let gmtime_r = Darwin.gmtime_r
30 | public let localtime_r = Darwin.localtime_r
| |- warning: let 'localtime_r' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<time_t>?, UnsafeMutablePointer<tm>?) -> UnsafeMutablePointer<tm>?' (aka '(Optional<UnsafePointer<Int>>, Optional<UnsafeMutablePointer<tm>>) -> Optional<UnsafeMutablePointer<tm>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localtime_r' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public let strftime = Darwin.strftime
32 | #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift:31:14: warning: let 'strftime' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int, UnsafePointer<CChar>?, UnsafePointer<tm>?) -> Int' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<tm>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
29 | public let gmtime_r = Darwin.gmtime_r
30 | public let localtime_r = Darwin.localtime_r
31 | public let strftime = Darwin.strftime
| |- warning: let 'strftime' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<CChar>?, Int, UnsafePointer<CChar>?, UnsafePointer<tm>?) -> Int' (aka '(Optional<UnsafeMutablePointer<Int8>>, Int, Optional<UnsafePointer<Int8>>, Optional<UnsafePointer<tm>>) -> Int') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strftime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:92:1: warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
90 | }
91 |
92 | extension timespec: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timespec' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
93 | @inlinable
94 | public var description : String {
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:104:1: warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
102 | }
103 |
104 | extension timeval: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'timeval' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Darwin' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
105 | @inlinable
106 | public var description : String {
/Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift:51:28: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
49 | host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &cclock);
50 | clock_get_time(cclock, &mts);
51 | mach_port_deallocate(mach_task_self_, cclock);
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | return timespec(mts)
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
SwiftDriverJobDiscovery normal armv7k Compiling time.swift (in target 'xsys' from project 'xsys')
SwiftDriverJobDiscovery normal armv7k Compiling timespec.swift (in target 'xsys' from project 'xsys')
SwiftCompile normal arm64_32 Compiling\ SocketAddress.swift,\ UUID.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/SocketAddress.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/UUID.swift (in target 'xsys' from project 'xsys')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xsys/SocketAddress.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xsys/UUID.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/sockaddr_any.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timeval_any.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name xsys -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.o -index-unit-output-path /xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.o -index-unit-output-path /xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/xsys/SocketAddress.swift (in target 'xsys' from project 'xsys')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xsys/SocketAddress.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xsys/UUID.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/sockaddr_any.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timeval_any.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name xsys -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.o -index-unit-output-path /xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.o -index-unit-output-path /xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/xsys/UUID.swift (in target 'xsys' from project 'xsys')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/POSIXError.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xsys/SocketAddress.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/xsys/UUID.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/dylib.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/misc.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/ntohs.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/sockaddr_any.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/socket.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/time.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timespec.swift /Users/admin/builder/spi-builder-workspace/Sources/xsys/timeval_any.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name xsys -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.o -index-unit-output-path /xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/SocketAddress.o -index-unit-output-path /xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/UUID.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftDriver\ Compilation\ Requirements xsys normal armv7k com.apple.xcode.tools.swift.compiler (in target 'xsys' from project 'xsys')
cd /Users/admin/builder/spi-builder-workspace
builtin-Swift-Compilation-Requirements -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc -module-name xsys -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -target armv7k-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/armv7k/xsys-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
SwiftDriver\ Compilation\ Requirements xsys normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'xsys' from project 'xsys')
cd /Users/admin/builder/spi-builder-workspace
builtin-Swift-Compilation-Requirements -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc -module-name xsys -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -target arm64_32-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/xsys.build/Debug-watchos/xsys.build/Objects-normal/arm64_32/xsys-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'xsys' from project 'xsys')
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal armv7k Emitting\ module\ for\ xsys (in target 'xsys' from project 'xsys')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ xsys (in target 'xsys' from project 'xsys')
(2 failures)
BUILD FAILURE 6.0 watchOS