Build Information
Failed to build LocaleManager, reference 1.4.0 (37e44b
), with Swift 6.0 for tvOS using Xcode 16.0 on 31 Oct 2024 08:21:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LocaleManager -destination generic/platform=tvOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amosavian/LocaleManager.git
Reference: 1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amosavian/LocaleManager
* tag 1.4.0 -> FETCH_HEAD
HEAD is now at 37e44b1 Fixed build error
Cloned https://github.com/amosavian/LocaleManager.git
Revision (git rev-parse @):
37e44b18774b352b6de1ae18f2d5992f0a8c6d8e
SUCCESS checkout https://github.com/amosavian/LocaleManager.git at 1.4.0
========================================
Build
========================================
Selected platform: tvOS
Swift version: 6.0
Building package at path: $PWD
https://github.com/amosavian/LocaleManager.git
Command line invocation:
/Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
LocaleManager: /Users/admin/builder/spi-builder-workspace
resolved source packages: LocaleManager
{
"dependencies" : [
],
"manifest_display_name" : "LocaleManager",
"name" : "LocaleManager",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LocaleManager",
"targets" : [
"LocaleManager"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LocaleManagerTests",
"module_type" : "SwiftTarget",
"name" : "LocaleManagerTests",
"path" : "Tests/LocaleManagerTests",
"sources" : [
"LocaleManagerTests.swift"
],
"target_dependencies" : [
"LocaleManager"
],
"type" : "test"
},
{
"c99name" : "LocaleManager",
"module_type" : "SwiftTarget",
"name" : "LocaleManager",
"path" : "Sources/LocaleManager",
"product_memberships" : [
"LocaleManager"
],
"sources" : [
"LocaleManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"LocaleManager"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LocaleManager -destination generic/platform=tvOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
/Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme LocaleManager -destination generic/platform=tvOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
LocaleManager: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'LocaleManager' in project 'LocaleManager'
➜ Explicit dependency on target 'LocaleManager' in project 'LocaleManager'
Target 'LocaleManager' in project 'LocaleManager' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: e55cac33a23a24dba22e9683cfc0745e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/e55cac33a23a24dba22e9683cfc0745e.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/LocaleManager.modulemap (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/LocaleManager.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/LocaleManager.DependencyMetadataFileList (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/LocaleManager.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.SwiftFileList (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-OutputFileMap.json (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.LinkFileList (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.LinkFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/LocaleManager.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/LocaleManager.modulemap (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/LocaleManager.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos
SwiftDriver LocaleManager normal arm64 com.apple.xcode.tools.swift.compiler (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name LocaleManager -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -target arm64-apple-tvos12.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 -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-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/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.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/LocaleManager.build/Debug-appletvos/LocaleManager.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.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/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ LocaleManager (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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/.swiftpm/xcode -resource-dir /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name LocaleManager -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.1 -target-sdk-name appletvos18.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.abi.json
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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/.swiftpm/xcode -resource-dir /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name LocaleManager -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.1 -target-sdk-name appletvos18.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: warning: static property 'updateHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var updateHandler: () -> Void = {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: convert 'updateHandler' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var updateHandler: () -> Void = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: annotate 'updateHandler' with '@MainActor' if property should only be accessed from the main actor
@objc public static var updateHandler: () -> Void = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var updateHandler: () -> Void = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: warning: static property 'rootViewController' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: convert 'rootViewController' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: annotate 'rootViewController' with '@MainActor' if property should only be accessed from the main actor
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: warning: static property 'customTranslation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: convert 'customTranslation' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: annotate 'customTranslation' with '@MainActor' if property should only be accessed from the main actor
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: warning: static property 'originalAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var originalAlignment = "lm_originalAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: convert 'originalAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var originalAlignment = "lm_originalAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: annotate 'originalAlignment' with '@MainActor' if property should only be accessed from the main actor
static var originalAlignment = "lm_originalAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var originalAlignment = "lm_originalAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: warning: static property 'forcedAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var forcedAlignment = "lm_forcedAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: convert 'forcedAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var forcedAlignment = "lm_forcedAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: annotate 'forcedAlignment' with '@MainActor' if property should only be accessed from the main actor
static var forcedAlignment = "lm_forcedAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var forcedAlignment = "lm_forcedAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: warning: static property 'originalAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var originalAlignment = "lm_originalAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: convert 'originalAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var originalAlignment = "lm_originalAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: annotate 'originalAlignment' with '@MainActor' if property should only be accessed from the main actor
static var originalAlignment = "lm_originalAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var originalAlignment = "lm_originalAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: warning: static property 'forcedAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var forcedAlignment = "lm_forcedAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: convert 'forcedAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var forcedAlignment = "lm_forcedAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: annotate 'forcedAlignment' with '@MainActor' if property should only be accessed from the main actor
static var forcedAlignment = "lm_forcedAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var forcedAlignment = "lm_forcedAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: warning: static property 'savedLanguageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var savedLanguageNames: [String: String] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: convert 'savedLanguageNames' to a 'let' constant to make 'Sendable' shared state immutable
private static var savedLanguageNames: [String: String] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: annotate 'savedLanguageNames' with '@MainActor' if property should only be accessed from the main actor
private static var savedLanguageNames: [String: String] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var savedLanguageNames: [String: String] = [:]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: warning: static property 'cachePreffered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
fileprivate static var cachePreffered: Locale?
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: convert 'cachePreffered' to a 'let' constant to make 'Sendable' shared state immutable
fileprivate static var cachePreffered: Locale?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: annotate 'cachePreffered' with '@MainActor' if property should only be accessed from the main actor
fileprivate static var cachePreffered: Locale?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
fileprivate static var cachePreffered: Locale?
^
nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ LocaleManager.swift /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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/.swiftpm/xcode -resource-dir /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name LocaleManager -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.1 -target-sdk-name appletvos18.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.o -index-unit-output-path /LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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/.swiftpm/xcode -resource-dir /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name LocaleManager -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.1 -target-sdk-name appletvos18.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.o -index-unit-output-path /LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: warning: static property 'updateHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var updateHandler: () -> Void = {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: convert 'updateHandler' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var updateHandler: () -> Void = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: annotate 'updateHandler' with '@MainActor' if property should only be accessed from the main actor
@objc public static var updateHandler: () -> Void = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var updateHandler: () -> Void = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: warning: static property 'rootViewController' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: convert 'rootViewController' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: annotate 'rootViewController' with '@MainActor' if property should only be accessed from the main actor
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: warning: static property 'customTranslation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: convert 'customTranslation' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: annotate 'customTranslation' with '@MainActor' if property should only be accessed from the main actor
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: warning: static property 'originalAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var originalAlignment = "lm_originalAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: convert 'originalAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var originalAlignment = "lm_originalAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: annotate 'originalAlignment' with '@MainActor' if property should only be accessed from the main actor
static var originalAlignment = "lm_originalAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var originalAlignment = "lm_originalAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: warning: static property 'forcedAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var forcedAlignment = "lm_forcedAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: convert 'forcedAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var forcedAlignment = "lm_forcedAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: annotate 'forcedAlignment' with '@MainActor' if property should only be accessed from the main actor
static var forcedAlignment = "lm_forcedAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var forcedAlignment = "lm_forcedAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: warning: static property 'originalAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var originalAlignment = "lm_originalAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: convert 'originalAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var originalAlignment = "lm_originalAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: annotate 'originalAlignment' with '@MainActor' if property should only be accessed from the main actor
static var originalAlignment = "lm_originalAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var originalAlignment = "lm_originalAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: warning: static property 'forcedAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var forcedAlignment = "lm_forcedAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: convert 'forcedAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var forcedAlignment = "lm_forcedAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: annotate 'forcedAlignment' with '@MainActor' if property should only be accessed from the main actor
static var forcedAlignment = "lm_forcedAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var forcedAlignment = "lm_forcedAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: warning: static property 'savedLanguageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var savedLanguageNames: [String: String] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: convert 'savedLanguageNames' to a 'let' constant to make 'Sendable' shared state immutable
private static var savedLanguageNames: [String: String] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: annotate 'savedLanguageNames' with '@MainActor' if property should only be accessed from the main actor
private static var savedLanguageNames: [String: String] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var savedLanguageNames: [String: String] = [:]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: warning: static property 'cachePreffered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
fileprivate static var cachePreffered: Locale?
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: convert 'cachePreffered' to a 'let' constant to make 'Sendable' shared state immutable
fileprivate static var cachePreffered: Locale?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: annotate 'cachePreffered' with '@MainActor' if property should only be accessed from the main actor
fileprivate static var cachePreffered: Locale?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
fileprivate static var cachePreffered: Locale?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:79:44: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let windows = UIApplication.shared.windows
^
UIKit.UIApplication:34:25: note: property declared here
@MainActor open var windows: [UIWindow] { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:79:37: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let windows = UIApplication.shared.windows
^
UIKit.UIApplication:3:20: note: class property declared here
open class var shared: UIApplication { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:82:24: warning: main actor-isolated property 'rootViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
window.rootViewController = rootViewController
^
UIKit.UIWindow:30:25: note: mutation of this property is only permitted within the actor
@MainActor open var rootViewController: UIViewController? { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:83:67: warning: main actor-isolated property 'storyboard' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
} else if let storyboard = window.rootViewController?.storyboard, let id = window.rootViewController?.value(forKey: "storyboardIdentifier") as? String {
^
UIKit.UIViewController:24:25: note: property declared here
@MainActor open var storyboard: UIStoryboard? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:83:47: warning: main actor-isolated property 'rootViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
} else if let storyboard = window.rootViewController?.storyboard, let id = window.rootViewController?.value(forKey: "storyboardIdentifier") as? String {
^
UIKit.UIWindow:30:25: note: property declared here
@MainActor open var rootViewController: UIViewController? { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:83:95: warning: main actor-isolated property 'rootViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
} else if let storyboard = window.rootViewController?.storyboard, let id = window.rootViewController?.value(forKey: "storyboardIdentifier") as? String {
^
UIKit.UIWindow:30:25: note: property declared here
@MainActor open var rootViewController: UIViewController? { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:84:24: warning: main actor-isolated property 'rootViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
window.rootViewController = storyboard.instantiateViewController(withIdentifier: id)
^
UIKit.UIWindow:30:25: note: mutation of this property is only permitted within the actor
@MainActor open var rootViewController: UIViewController? { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:84:56: warning: call to main actor-isolated instance method 'instantiateViewController(withIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
window.rootViewController = storyboard.instantiateViewController(withIdentifier: id)
^
UIKit.UIStoryboard:12:26: note: calls to instance method 'instantiateViewController(withIdentifier:)' from outside of its actor context are implicitly asynchronous
@MainActor open func instantiateViewController(withIdentifier identifier: String) -> UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:86:33: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
for view in (window.subviews) {
^
UIKit.UIView:3:25: note: property declared here
@MainActor open var subviews: [UIView] { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:87:22: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
view.removeFromSuperview()
^
UIKit.UIView:5:26: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:88:24: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
window.addSubview(view)
^
UIKit.UIView:12:26: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:93:24: warning: call to main actor-isolated class method 'transition(with:duration:options:animations:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UIView.transition(with: $0, duration: 0.55, options: .transitionFlipFromLeft, animations: nil, completion: nil)
^
UIKit.UIView:28:32: note: calls to class method 'transition(with:duration:options:animations:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open class func transition(with view: UIView, duration: TimeInterval, options: UIView.AnimationOptions = [], animations: (() -> Void)?, completion: ((Bool) -> Void)? = nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:138:9: error: 'UISwitch' is unavailable in tvOS
UISwitch.appearance().semanticContentAttribute = semantic
^~~~~~~~
UIKit.UISwitch:2:23: note: 'UISwitch' has been explicitly marked unavailable here
@MainActor open class UISwitch : UIControl, NSCoding {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:136:29: warning: main actor-isolated property 'semanticContentAttribute' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
UIView.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:25:25: note: mutation of this property is only permitted within the actor
@MainActor open var semanticContentAttribute: UISemanticContentAttribute { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:136:16: warning: call to main actor-isolated class method 'appearance()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UIView.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:60:32: note: calls to class method 'appearance()' from outside of its actor context are implicitly asynchronous
@MainActor open class func appearance() -> Self
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:137:34: warning: main actor-isolated property 'semanticContentAttribute' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
UITableView.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:25:25: note: mutation of this property is only permitted within the actor
@MainActor open var semanticContentAttribute: UISemanticContentAttribute { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:137:21: warning: call to main actor-isolated class method 'appearance()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UITableView.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:60:32: note: calls to class method 'appearance()' from outside of its actor context are implicitly asynchronous
@MainActor open class func appearance() -> Self
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:138:31: warning: main actor-isolated property 'semanticContentAttribute' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
UISwitch.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:25:25: note: mutation of this property is only permitted within the actor
@MainActor open var semanticContentAttribute: UISemanticContentAttribute { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:138:18: warning: call to main actor-isolated class method 'appearance()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UISwitch.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:60:32: note: calls to class method 'appearance()' from outside of its actor context are implicitly asynchronous
@MainActor open class func appearance() -> Self
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
SwiftDriverJobDiscovery normal arm64 Emitting module for LocaleManager (in target 'LocaleManager' from project 'LocaleManager')
SwiftDriver\ Compilation\ Requirements LocaleManager normal arm64 com.apple.xcode.tools.swift.compiler (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name LocaleManager -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -target arm64-apple-tvos12.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 -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-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/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.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/LocaleManager.build/Debug-appletvos/LocaleManager.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.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/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/LocaleManager-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-Swift.h (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/LocaleManager-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/LocaleManager.swiftmodule/arm64-apple-tvos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftmodule (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/LocaleManager.swiftmodule/arm64-apple-tvos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/LocaleManager.swiftmodule/arm64-apple-tvos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.abi.json (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/LocaleManager.swiftmodule/arm64-apple-tvos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/LocaleManager.swiftmodule/arm64-apple-tvos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftdoc (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/LocaleManager.swiftmodule/arm64-apple-tvos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/LocaleManager.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftsourceinfo (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/LocaleManager.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift (in target 'LocaleManager' from project 'LocaleManager')
SwiftCompile normal arm64 Compiling\ LocaleManager.swift /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift (in target 'LocaleManager' from project 'LocaleManager')
Building workspace spi-builder-workspace with scheme LocaleManager
(3 failures)
Command line invocation:
/Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme LocaleManager -destination generic/platform=tvOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
LocaleManager: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'LocaleManager' in project 'LocaleManager'
➜ Explicit dependency on target 'LocaleManager' in project 'LocaleManager'
Target 'LocaleManager' in project 'LocaleManager' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache
SwiftDriver LocaleManager normal arm64 com.apple.xcode.tools.swift.compiler (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name LocaleManager -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -target arm64-apple-tvos12.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 -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-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/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.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/LocaleManager.build/Debug-appletvos/LocaleManager.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.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/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ LocaleManager (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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/.swiftpm/xcode -resource-dir /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name LocaleManager -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.1 -target-sdk-name appletvos18.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.abi.json
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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/.swiftpm/xcode -resource-dir /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name LocaleManager -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.1 -target-sdk-name appletvos18.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: warning: static property 'updateHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var updateHandler: () -> Void = {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: convert 'updateHandler' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var updateHandler: () -> Void = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: annotate 'updateHandler' with '@MainActor' if property should only be accessed from the main actor
@objc public static var updateHandler: () -> Void = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var updateHandler: () -> Void = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: warning: static property 'rootViewController' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: convert 'rootViewController' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: annotate 'rootViewController' with '@MainActor' if property should only be accessed from the main actor
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: warning: static property 'customTranslation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: convert 'customTranslation' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: annotate 'customTranslation' with '@MainActor' if property should only be accessed from the main actor
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: warning: static property 'originalAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var originalAlignment = "lm_originalAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: convert 'originalAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var originalAlignment = "lm_originalAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: annotate 'originalAlignment' with '@MainActor' if property should only be accessed from the main actor
static var originalAlignment = "lm_originalAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var originalAlignment = "lm_originalAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: warning: static property 'forcedAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var forcedAlignment = "lm_forcedAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: convert 'forcedAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var forcedAlignment = "lm_forcedAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: annotate 'forcedAlignment' with '@MainActor' if property should only be accessed from the main actor
static var forcedAlignment = "lm_forcedAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var forcedAlignment = "lm_forcedAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: warning: static property 'originalAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var originalAlignment = "lm_originalAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: convert 'originalAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var originalAlignment = "lm_originalAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: annotate 'originalAlignment' with '@MainActor' if property should only be accessed from the main actor
static var originalAlignment = "lm_originalAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var originalAlignment = "lm_originalAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: warning: static property 'forcedAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var forcedAlignment = "lm_forcedAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: convert 'forcedAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var forcedAlignment = "lm_forcedAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: annotate 'forcedAlignment' with '@MainActor' if property should only be accessed from the main actor
static var forcedAlignment = "lm_forcedAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var forcedAlignment = "lm_forcedAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: warning: static property 'savedLanguageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var savedLanguageNames: [String: String] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: convert 'savedLanguageNames' to a 'let' constant to make 'Sendable' shared state immutable
private static var savedLanguageNames: [String: String] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: annotate 'savedLanguageNames' with '@MainActor' if property should only be accessed from the main actor
private static var savedLanguageNames: [String: String] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var savedLanguageNames: [String: String] = [:]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: warning: static property 'cachePreffered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
fileprivate static var cachePreffered: Locale?
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: convert 'cachePreffered' to a 'let' constant to make 'Sendable' shared state immutable
fileprivate static var cachePreffered: Locale?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: annotate 'cachePreffered' with '@MainActor' if property should only be accessed from the main actor
fileprivate static var cachePreffered: Locale?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
fileprivate static var cachePreffered: Locale?
^
nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ LocaleManager.swift /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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/.swiftpm/xcode -resource-dir /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name LocaleManager -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.1 -target-sdk-name appletvos18.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.o -index-unit-output-path /LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift (in target 'LocaleManager' from project 'LocaleManager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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/.swiftpm/xcode -resource-dir /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.1-22J572-e7fdd8cf9ffd4d4af20823079b51a726.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name LocaleManager -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.1 -target-sdk-name appletvos18.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.o -index-unit-output-path /LocaleManager.build/Debug-appletvos/LocaleManager.build/Objects-normal/arm64/LocaleManager.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: warning: static property 'updateHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var updateHandler: () -> Void = {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: convert 'updateHandler' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var updateHandler: () -> Void = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: annotate 'updateHandler' with '@MainActor' if property should only be accessed from the main actor
@objc public static var updateHandler: () -> Void = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:32:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var updateHandler: () -> Void = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: warning: static property 'rootViewController' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: convert 'rootViewController' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: annotate 'rootViewController' with '@MainActor' if property should only be accessed from the main actor
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:41:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var rootViewController: ((_ window: UIWindow) -> UIViewController?)? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: warning: static property 'customTranslation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: convert 'customTranslation' to a 'let' constant to make 'Sendable' shared state immutable
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: annotate 'customTranslation' with '@MainActor' if property should only be accessed from the main actor
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:48:29: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
@objc public static var customTranslation: ((_ key: String) -> String?)? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: warning: static property 'originalAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var originalAlignment = "lm_originalAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: convert 'originalAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var originalAlignment = "lm_originalAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: annotate 'originalAlignment' with '@MainActor' if property should only be accessed from the main actor
static var originalAlignment = "lm_originalAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:173:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var originalAlignment = "lm_originalAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: warning: static property 'forcedAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var forcedAlignment = "lm_forcedAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: convert 'forcedAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var forcedAlignment = "lm_forcedAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: annotate 'forcedAlignment' with '@MainActor' if property should only be accessed from the main actor
static var forcedAlignment = "lm_forcedAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:174:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var forcedAlignment = "lm_forcedAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: warning: static property 'originalAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var originalAlignment = "lm_originalAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: convert 'originalAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var originalAlignment = "lm_originalAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: annotate 'originalAlignment' with '@MainActor' if property should only be accessed from the main actor
static var originalAlignment = "lm_originalAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:228:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var originalAlignment = "lm_originalAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: warning: static property 'forcedAlignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var forcedAlignment = "lm_forcedAlignment"
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: convert 'forcedAlignment' to a 'let' constant to make 'Sendable' shared state immutable
static var forcedAlignment = "lm_forcedAlignment"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: annotate 'forcedAlignment' with '@MainActor' if property should only be accessed from the main actor
static var forcedAlignment = "lm_forcedAlignment"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:229:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var forcedAlignment = "lm_forcedAlignment"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: warning: static property 'savedLanguageNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var savedLanguageNames: [String: String] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: convert 'savedLanguageNames' to a 'let' constant to make 'Sendable' shared state immutable
private static var savedLanguageNames: [String: String] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: annotate 'savedLanguageNames' with '@MainActor' if property should only be accessed from the main actor
private static var savedLanguageNames: [String: String] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:304:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var savedLanguageNames: [String: String] = [:]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: warning: static property 'cachePreffered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
fileprivate static var cachePreffered: Locale?
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: convert 'cachePreffered' to a 'let' constant to make 'Sendable' shared state immutable
fileprivate static var cachePreffered: Locale?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: annotate 'cachePreffered' with '@MainActor' if property should only be accessed from the main actor
fileprivate static var cachePreffered: Locale?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:369:28: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
fileprivate static var cachePreffered: Locale?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:79:44: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let windows = UIApplication.shared.windows
^
UIKit.UIApplication:34:25: note: property declared here
@MainActor open var windows: [UIWindow] { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:79:37: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let windows = UIApplication.shared.windows
^
UIKit.UIApplication:3:20: note: class property declared here
open class var shared: UIApplication { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:82:24: warning: main actor-isolated property 'rootViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
window.rootViewController = rootViewController
^
UIKit.UIWindow:30:25: note: mutation of this property is only permitted within the actor
@MainActor open var rootViewController: UIViewController? { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:83:67: warning: main actor-isolated property 'storyboard' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
} else if let storyboard = window.rootViewController?.storyboard, let id = window.rootViewController?.value(forKey: "storyboardIdentifier") as? String {
^
UIKit.UIViewController:24:25: note: property declared here
@MainActor open var storyboard: UIStoryboard? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:83:47: warning: main actor-isolated property 'rootViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
} else if let storyboard = window.rootViewController?.storyboard, let id = window.rootViewController?.value(forKey: "storyboardIdentifier") as? String {
^
UIKit.UIWindow:30:25: note: property declared here
@MainActor open var rootViewController: UIViewController? { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:83:95: warning: main actor-isolated property 'rootViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
} else if let storyboard = window.rootViewController?.storyboard, let id = window.rootViewController?.value(forKey: "storyboardIdentifier") as? String {
^
UIKit.UIWindow:30:25: note: property declared here
@MainActor open var rootViewController: UIViewController? { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:84:24: warning: main actor-isolated property 'rootViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
window.rootViewController = storyboard.instantiateViewController(withIdentifier: id)
^
UIKit.UIWindow:30:25: note: mutation of this property is only permitted within the actor
@MainActor open var rootViewController: UIViewController? { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:84:56: warning: call to main actor-isolated instance method 'instantiateViewController(withIdentifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
window.rootViewController = storyboard.instantiateViewController(withIdentifier: id)
^
UIKit.UIStoryboard:12:26: note: calls to instance method 'instantiateViewController(withIdentifier:)' from outside of its actor context are implicitly asynchronous
@MainActor open func instantiateViewController(withIdentifier identifier: String) -> UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:86:33: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
for view in (window.subviews) {
^
UIKit.UIView:3:25: note: property declared here
@MainActor open var subviews: [UIView] { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:87:22: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
view.removeFromSuperview()
^
UIKit.UIView:5:26: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:88:24: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
window.addSubview(view)
^
UIKit.UIView:12:26: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:78:25: note: add '@MainActor' to make class method 'reloadWindows(animated:)' part of global actor 'MainActor'
internal class func reloadWindows(animated: Bool = true) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:93:24: warning: call to main actor-isolated class method 'transition(with:duration:options:animations:completion:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UIView.transition(with: $0, duration: 0.55, options: .transitionFlipFromLeft, animations: nil, completion: nil)
^
UIKit.UIView:28:32: note: calls to class method 'transition(with:duration:options:animations:completion:)' from outside of its actor context are implicitly asynchronous
@MainActor open class func transition(with view: UIView, duration: TimeInterval, options: UIView.AnimationOptions = [], animations: (() -> Void)?, completion: ((Bool) -> Void)? = nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:138:9: error: 'UISwitch' is unavailable in tvOS
UISwitch.appearance().semanticContentAttribute = semantic
^~~~~~~~
UIKit.UISwitch:2:23: note: 'UISwitch' has been explicitly marked unavailable here
@MainActor open class UISwitch : UIControl, NSCoding {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:136:29: warning: main actor-isolated property 'semanticContentAttribute' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
UIView.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:25:25: note: mutation of this property is only permitted within the actor
@MainActor open var semanticContentAttribute: UISemanticContentAttribute { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:136:16: warning: call to main actor-isolated class method 'appearance()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UIView.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:60:32: note: calls to class method 'appearance()' from outside of its actor context are implicitly asynchronous
@MainActor open class func appearance() -> Self
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:137:34: warning: main actor-isolated property 'semanticContentAttribute' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
UITableView.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:25:25: note: mutation of this property is only permitted within the actor
@MainActor open var semanticContentAttribute: UISemanticContentAttribute { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:137:21: warning: call to main actor-isolated class method 'appearance()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UITableView.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:60:32: note: calls to class method 'appearance()' from outside of its actor context are implicitly asynchronous
@MainActor open class func appearance() -> Self
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:138:31: warning: main actor-isolated property 'semanticContentAttribute' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
UISwitch.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:25:25: note: mutation of this property is only permitted within the actor
@MainActor open var semanticContentAttribute: UISemanticContentAttribute { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:138:18: warning: call to main actor-isolated class method 'appearance()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UISwitch.appearance().semanticContentAttribute = semantic
^
UIKit.UIView:60:32: note: calls to class method 'appearance()' from outside of its actor context are implicitly asynchronous
@MainActor open class func appearance() -> Self
^
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:126:29: note: add '@MainActor' to make class method 'apply(locale:animated:)' part of global actor 'MainActor'
@objc public class func apply(locale: Locale?, animated: Bool = true) {
^
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift (in target 'LocaleManager' from project 'LocaleManager')
SwiftCompile normal arm64 Compiling\ LocaleManager.swift /Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift (in target 'LocaleManager' from project 'LocaleManager')
Building workspace spi-builder-workspace with scheme LocaleManager
(3 failures)
BUILD FAILURE 6.0 tvOS