Build Information
Failed to build GeoMonitor, reference main (37767d
), with Swift 6.1 for watchOS using Xcode 16.3 on 27 Apr 2025 13:47:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme GeoMonitor -destination generic/platform=watchOS
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skedgo/GeoMonitor.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/skedgo/GeoMonitor
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 37767d6 Fix log messages
Cloned https://github.com/skedgo/GeoMonitor.git
Revision (git rev-parse @):
37767d625be8229f073ee2b7281848e2c6511e67
SUCCESS checkout https://github.com/skedgo/GeoMonitor.git at main
========================================
Build
========================================
Selected platform: watchOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/skedgo/GeoMonitor.git
https://github.com/skedgo/GeoMonitor.git
{
"dependencies" : [
],
"manifest_display_name" : "GeoMonitor",
"name" : "GeoMonitor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "GeoMonitor",
"targets" : [
"GeoMonitor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GeoMonitorTests",
"module_type" : "SwiftTarget",
"name" : "GeoMonitorTests",
"path" : "Tests/GeoMonitorTests",
"sources" : [
"GeoMonitorTests.swift"
],
"target_dependencies" : [
"GeoMonitor"
],
"type" : "test"
},
{
"c99name" : "GeoMonitor",
"module_type" : "SwiftTarget",
"name" : "GeoMonitor",
"path" : "Sources/GeoMonitor",
"product_memberships" : [
"GeoMonitor"
],
"sources" : [
"GeoMonitor.swift",
"PrioritizedRegion.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
GeoMonitor: /Users/admin/builder/spi-builder-workspace
resolved source packages: GeoMonitor
{
"dependencies" : [
],
"manifest_display_name" : "GeoMonitor",
"name" : "GeoMonitor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "GeoMonitor",
"targets" : [
"GeoMonitor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GeoMonitorTests",
"module_type" : "SwiftTarget",
"name" : "GeoMonitorTests",
"path" : "Tests/GeoMonitorTests",
"sources" : [
"GeoMonitorTests.swift"
],
"target_dependencies" : [
"GeoMonitor"
],
"type" : "test"
},
{
"c99name" : "GeoMonitor",
"module_type" : "SwiftTarget",
"name" : "GeoMonitor",
"path" : "Sources/GeoMonitor",
"product_memberships" : [
"GeoMonitor"
],
"sources" : [
"GeoMonitor.swift",
"PrioritizedRegion.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"GeoMonitor"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme GeoMonitor -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Command line invocation:
/Applications/Xcode-16.3.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 GeoMonitor -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Resolved source packages:
GeoMonitor: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'GeoMonitor' in project 'GeoMonitor'
➜ Explicit dependency on target 'GeoMonitor' in project 'GeoMonitor'
Target 'GeoMonitor' in project 'GeoMonitor' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 97374c3d49d7960981f87c535a5a6fc9
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/97374c3d49d7960981f87c535a5a6fc9.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.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
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-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.SwiftFileList (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor_const_extract_protocols.json (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor_const_extract_protocols.json (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.SwiftFileList (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.LinkFileList (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-OutputFileMap.json (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.SwiftConstValuesFileList (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.LinkFileList (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.SwiftConstValuesFileList (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor-OutputFileMap.json (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor_const_extract_protocols.json (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.SwiftFileList (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.SwiftConstValuesFileList (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.LinkFileList (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/GeoMonitor.modulemap (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/GeoMonitor.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/GeoMonitor.DependencyStaticMetadataFileList (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/GeoMonitor.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/GeoMonitor.DependencyMetadataFileList (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/GeoMonitor.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor-OutputFileMap.json (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/GeoMonitor.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/GeoMonitor.modulemap (in target 'GeoMonitor' from project 'GeoMonitor')
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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/GeoMonitor.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos
SwiftDriver GeoMonitor normal armv7k com.apple.xcode.tools.swift.compiler (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name GeoMonitor -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos6.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver GeoMonitor normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name GeoMonitor -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos6.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor-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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver GeoMonitor normal arm64 com.apple.xcode.tools.swift.compiler (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name GeoMonitor -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos6.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor-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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal armv7k Emitting\ module\ for\ GeoMonitor (in target 'GeoMonitor' from project 'GeoMonitor')
EmitSwiftModule normal armv7k (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:24:16: warning: static property 'currentLocationRegionMaximumRadius' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:24:16: note: convert 'currentLocationRegionMaximumRadius' to a 'let' constant to make 'Sendable' shared state immutable
static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:24:16: note: add '@MainActor' to make static property 'currentLocationRegionMaximumRadius' part of global actor 'MainActor'
static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:24:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:25:16: warning: static property 'currentLocationRegionRadiusDelta' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var currentLocationRegionRadiusDelta: CLLocationDistance = 2_000
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:25:16: note: convert 'currentLocationRegionRadiusDelta' to a 'let' constant to make 'Sendable' shared state immutable
static var currentLocationRegionRadiusDelta: CLLocationDistance = 2_000
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:25:16: note: add '@MainActor' to make static property 'currentLocationRegionRadiusDelta' part of global actor 'MainActor'
static var currentLocationRegionRadiusDelta: CLLocationDistance = 2_000
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:25:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var currentLocationRegionRadiusDelta: CLLocationDistance = 2_000
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:26:16: warning: static property 'maximumDistanceToRegionCenter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var maximumDistanceToRegionCenter: CLLocationDistance = 10_000
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:26:16: note: convert 'maximumDistanceToRegionCenter' to a 'let' constant to make 'Sendable' shared state immutable
static var maximumDistanceToRegionCenter: CLLocationDistance = 10_000
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:26:16: note: add '@MainActor' to make static property 'maximumDistanceToRegionCenter' part of global actor 'MainActor'
static var maximumDistanceToRegionCenter: CLLocationDistance = 10_000
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:26:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var maximumDistanceToRegionCenter: CLLocationDistance = 10_000
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:27:16: warning: static property 'maximumDistanceForPriorityPruningCenter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var maximumDistanceForPriorityPruningCenter: CLLocationDistance = 5_000
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:27:16: note: convert 'maximumDistanceForPriorityPruningCenter' to a 'let' constant to make 'Sendable' shared state immutable
static var maximumDistanceForPriorityPruningCenter: CLLocationDistance = 5_000
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:27:16: note: add '@MainActor' to make static property 'maximumDistanceForPriorityPruningCenter' part of global actor 'MainActor'
static var maximumDistanceForPriorityPruningCenter: CLLocationDistance = 5_000
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:27:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var maximumDistanceForPriorityPruningCenter: CLLocationDistance = 5_000
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:28:16: warning: static property 'currentLocationFetchTimeOut' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var currentLocationFetchTimeOut: TimeInterval = 30
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:28:16: note: convert 'currentLocationFetchTimeOut' to a 'let' constant to make 'Sendable' shared state immutable
static var currentLocationFetchTimeOut: TimeInterval = 30
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:28:16: note: add '@MainActor' to make static property 'currentLocationFetchTimeOut' part of global actor 'MainActor'
static var currentLocationFetchTimeOut: TimeInterval = 30
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:28:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var currentLocationFetchTimeOut: TimeInterval = 30
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:29:16: warning: static property 'currentLocationFetchRecency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var currentLocationFetchRecency: TimeInterval = 10
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:29:16: note: convert 'currentLocationFetchRecency' to a 'let' constant to make 'Sendable' shared state immutable
static var currentLocationFetchRecency: TimeInterval = 10
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:29:16: note: add '@MainActor' to make static property 'currentLocationFetchRecency' part of global actor 'MainActor'
static var currentLocationFetchRecency: TimeInterval = 10
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:29:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var currentLocationFetchRecency: TimeInterval = 10
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:30:16: warning: static property 'minIntervalBetweenEnteringSameRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var minIntervalBetweenEnteringSameRegion: TimeInterval = 120
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:30:16: note: convert 'minIntervalBetweenEnteringSameRegion' to a 'let' constant to make 'Sendable' shared state immutable
static var minIntervalBetweenEnteringSameRegion: TimeInterval = 120
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:30:16: note: add '@MainActor' to make static property 'minIntervalBetweenEnteringSameRegion' part of global actor 'MainActor'
static var minIntervalBetweenEnteringSameRegion: TimeInterval = 120
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:30:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var minIntervalBetweenEnteringSameRegion: TimeInterval = 120
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didEnterRegion:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didExitRegion:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didVisit:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:47: error: 'authorizationStatus' is only available in watchOS 7.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:47: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:22:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:104: error: 'authorizationStatus' is only available in watchOS 7.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:104: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:22:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:277:27: error: 'startMonitoringVisits()' is unavailable in watchOS
locationManager.startMonitoringVisits()
^~~~~~~~~~~~~~~~~~~~~
CoreLocation.CLLocationManager.startMonitoringVisits:3:13: note: 'startMonitoringVisits()' has been explicitly marked unavailable here
open func startMonitoringVisits()}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:279:27: error: 'stopMonitoringVisits()' is unavailable in watchOS
locationManager.stopMonitoringVisits()
^~~~~~~~~~~~~~~~~~~~
CoreLocation.CLLocationManager.stopMonitoringVisits:3:13: note: 'stopMonitoringVisits()' has been explicitly marked unavailable here
open func stopMonitoringVisits()}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:77: error: 'CLVisit' is unavailable in watchOS
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h:31:12: note: 'CLVisit' has been explicitly marked unavailable here
@interface CLVisit : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:588:15: warning: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:588:15: note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:504:23: note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
extension GeoMonitor: CLLocationManagerDelegate {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: warning: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: warning: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:618:15: warning: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:618:15: note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:623:15: warning: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:623:15: note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: error: cannot override 'locationManagerDidPauseLocationUpdates' which has been marked unavailable
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
CoreLocation.CLLocationManagerDelegate.locationManagerDidPauseLocationUpdates:3:17: note: 'locationManagerDidPauseLocationUpdates' has been explicitly marked unavailable here
optional func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: warning: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: error: cannot override 'locationManagerDidResumeLocationUpdates' which has been marked unavailable
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
CoreLocation.CLLocationManagerDelegate.locationManagerDidResumeLocationUpdates:3:17: note: 'locationManagerDidResumeLocationUpdates' has been explicitly marked unavailable here
optional func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: warning: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: warning: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
nonisolated
Failed frontend command:
/Applications/Xcode-16.3.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/GeoMonitor/GeoMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift -target armv7k-apple-watchos6.0 -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.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.3.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 -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name GeoMonitor -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.abi.json
SwiftCompile normal armv7k Compiling\ PrioritizedRegion.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ GeoMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ GeoMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ GeoMonitor (in target 'GeoMonitor' from project 'GeoMonitor')
Failed frontend command:
/Applications/Xcode-16.3.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/GeoMonitor/GeoMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift -target arm64-apple-watchos6.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.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.3.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 -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name GeoMonitor -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.abi.json
EmitSwiftModule normal arm64 (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:24:16: warning: static property 'currentLocationRegionMaximumRadius' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:24:16: note: convert 'currentLocationRegionMaximumRadius' to a 'let' constant to make 'Sendable' shared state immutable
static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:24:16: note: add '@MainActor' to make static property 'currentLocationRegionMaximumRadius' part of global actor 'MainActor'
static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:24:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:25:16: warning: static property 'currentLocationRegionRadiusDelta' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var currentLocationRegionRadiusDelta: CLLocationDistance = 2_000
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:25:16: note: convert 'currentLocationRegionRadiusDelta' to a 'let' constant to make 'Sendable' shared state immutable
static var currentLocationRegionRadiusDelta: CLLocationDistance = 2_000
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:25:16: note: add '@MainActor' to make static property 'currentLocationRegionRadiusDelta' part of global actor 'MainActor'
static var currentLocationRegionRadiusDelta: CLLocationDistance = 2_000
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:25:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var currentLocationRegionRadiusDelta: CLLocationDistance = 2_000
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:26:16: warning: static property 'maximumDistanceToRegionCenter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var maximumDistanceToRegionCenter: CLLocationDistance = 10_000
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:26:16: note: convert 'maximumDistanceToRegionCenter' to a 'let' constant to make 'Sendable' shared state immutable
static var maximumDistanceToRegionCenter: CLLocationDistance = 10_000
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:26:16: note: add '@MainActor' to make static property 'maximumDistanceToRegionCenter' part of global actor 'MainActor'
static var maximumDistanceToRegionCenter: CLLocationDistance = 10_000
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:26:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var maximumDistanceToRegionCenter: CLLocationDistance = 10_000
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:27:16: warning: static property 'maximumDistanceForPriorityPruningCenter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var maximumDistanceForPriorityPruningCenter: CLLocationDistance = 5_000
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:27:16: note: convert 'maximumDistanceForPriorityPruningCenter' to a 'let' constant to make 'Sendable' shared state immutable
static var maximumDistanceForPriorityPruningCenter: CLLocationDistance = 5_000
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:27:16: note: add '@MainActor' to make static property 'maximumDistanceForPriorityPruningCenter' part of global actor 'MainActor'
static var maximumDistanceForPriorityPruningCenter: CLLocationDistance = 5_000
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:27:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var maximumDistanceForPriorityPruningCenter: CLLocationDistance = 5_000
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:28:16: warning: static property 'currentLocationFetchTimeOut' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var currentLocationFetchTimeOut: TimeInterval = 30
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:28:16: note: convert 'currentLocationFetchTimeOut' to a 'let' constant to make 'Sendable' shared state immutable
static var currentLocationFetchTimeOut: TimeInterval = 30
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:28:16: note: add '@MainActor' to make static property 'currentLocationFetchTimeOut' part of global actor 'MainActor'
static var currentLocationFetchTimeOut: TimeInterval = 30
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:28:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var currentLocationFetchTimeOut: TimeInterval = 30
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:29:16: warning: static property 'currentLocationFetchRecency' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var currentLocationFetchRecency: TimeInterval = 10
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:29:16: note: convert 'currentLocationFetchRecency' to a 'let' constant to make 'Sendable' shared state immutable
static var currentLocationFetchRecency: TimeInterval = 10
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:29:16: note: add '@MainActor' to make static property 'currentLocationFetchRecency' part of global actor 'MainActor'
static var currentLocationFetchRecency: TimeInterval = 10
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:29:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var currentLocationFetchRecency: TimeInterval = 10
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:30:16: warning: static property 'minIntervalBetweenEnteringSameRegion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var minIntervalBetweenEnteringSameRegion: TimeInterval = 120
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:30:16: note: convert 'minIntervalBetweenEnteringSameRegion' to a 'let' constant to make 'Sendable' shared state immutable
static var minIntervalBetweenEnteringSameRegion: TimeInterval = 120
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:30:16: note: add '@MainActor' to make static property 'minIntervalBetweenEnteringSameRegion' part of global actor 'MainActor'
static var minIntervalBetweenEnteringSameRegion: TimeInterval = 120
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:30:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var minIntervalBetweenEnteringSameRegion: TimeInterval = 120
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didEnterRegion:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didExitRegion:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didVisit:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:47: error: 'authorizationStatus' is only available in watchOS 7.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:47: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:22:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:104: error: 'authorizationStatus' is only available in watchOS 7.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:104: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:22:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:277:27: error: 'startMonitoringVisits()' is unavailable in watchOS
locationManager.startMonitoringVisits()
^~~~~~~~~~~~~~~~~~~~~
CoreLocation.CLLocationManager.startMonitoringVisits:3:13: note: 'startMonitoringVisits()' has been explicitly marked unavailable here
open func startMonitoringVisits()}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:279:27: error: 'stopMonitoringVisits()' is unavailable in watchOS
locationManager.stopMonitoringVisits()
^~~~~~~~~~~~~~~~~~~~
CoreLocation.CLLocationManager.stopMonitoringVisits:3:13: note: 'stopMonitoringVisits()' has been explicitly marked unavailable here
open func stopMonitoringVisits()}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:77: error: 'CLVisit' is unavailable in watchOS
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h:31:12: note: 'CLVisit' has been explicitly marked unavailable here
@interface CLVisit : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:588:15: warning: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:588:15: note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:504:23: note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
extension GeoMonitor: CLLocationManagerDelegate {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: warning: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: warning: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:618:15: warning: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:618:15: note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:623:15: warning: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:623:15: note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: error: cannot override 'locationManagerDidPauseLocationUpdates' which has been marked unavailable
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
CoreLocation.CLLocationManagerDelegate.locationManagerDidPauseLocationUpdates:3:17: note: 'locationManagerDidPauseLocationUpdates' has been explicitly marked unavailable here
optional func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: warning: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: error: cannot override 'locationManagerDidResumeLocationUpdates' which has been marked unavailable
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
CoreLocation.CLLocationManagerDelegate.locationManagerDidResumeLocationUpdates:3:17: note: 'locationManagerDidResumeLocationUpdates' has been explicitly marked unavailable here
optional func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: warning: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: warning: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
nonisolated
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ GeoMonitor (in target 'GeoMonitor' from project 'GeoMonitor')
EmitSwiftModule normal arm64_32 (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ GeoMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ PrioritizedRegion.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ PrioritizedRegion.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
EmitSwiftModule normal armv7k (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftEmitModule normal armv7k Emitting\ module\ for\ GeoMonitor (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftEmitModule normal arm64 Emitting\ module\ for\ GeoMonitor (in target 'GeoMonitor' from project 'GeoMonitor')
EmitSwiftModule normal arm64 (in target 'GeoMonitor' from project 'GeoMonitor')
Building workspace spi-builder-workspace with scheme GeoMonitor
(5 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
GeoMonitor: /Users/admin/builder/spi-builder-workspace
resolved source packages: GeoMonitor
{
"dependencies" : [
],
"manifest_display_name" : "GeoMonitor",
"name" : "GeoMonitor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "GeoMonitor",
"targets" : [
"GeoMonitor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GeoMonitorTests",
"module_type" : "SwiftTarget",
"name" : "GeoMonitorTests",
"path" : "Tests/GeoMonitorTests",
"sources" : [
"GeoMonitorTests.swift"
],
"target_dependencies" : [
"GeoMonitor"
],
"type" : "test"
},
{
"c99name" : "GeoMonitor",
"module_type" : "SwiftTarget",
"name" : "GeoMonitor",
"path" : "Sources/GeoMonitor",
"product_memberships" : [
"GeoMonitor"
],
"sources" : [
"GeoMonitor.swift",
"PrioritizedRegion.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"GeoMonitor"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme GeoMonitor -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-16.3.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 GeoMonitor -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
GeoMonitor: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'GeoMonitor' in project 'GeoMonitor'
➜ Explicit dependency on target 'GeoMonitor' in project 'GeoMonitor'
Target 'GeoMonitor' in project 'GeoMonitor' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 230ca439bca8a78d13d3a48d08978d89
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/230ca439bca8a78d13d3a48d08978d89.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
SwiftDriver GeoMonitor normal armv7k com.apple.xcode.tools.swift.compiler (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name GeoMonitor -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos6.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver GeoMonitor normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name GeoMonitor -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos6.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor-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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver GeoMonitor normal arm64 com.apple.xcode.tools.swift.compiler (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name GeoMonitor -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos6.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor-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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64/GeoMonitor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal armv7k Emitting\ module\ for\ GeoMonitor (in target 'GeoMonitor' from project 'GeoMonitor')
EmitSwiftModule normal armv7k (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didEnterRegion:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didExitRegion:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didVisit:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:47: error: 'authorizationStatus' is only available in watchOS 7.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:47: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:22:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:104: error: 'authorizationStatus' is only available in watchOS 7.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:104: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:22:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:277:27: error: 'startMonitoringVisits()' is unavailable in watchOS
locationManager.startMonitoringVisits()
^~~~~~~~~~~~~~~~~~~~~
CoreLocation.CLLocationManager.startMonitoringVisits:3:13: note: 'startMonitoringVisits()' has been explicitly marked unavailable here
open func startMonitoringVisits()}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:279:27: error: 'stopMonitoringVisits()' is unavailable in watchOS
locationManager.stopMonitoringVisits()
^~~~~~~~~~~~~~~~~~~~
CoreLocation.CLLocationManager.stopMonitoringVisits:3:13: note: 'stopMonitoringVisits()' has been explicitly marked unavailable here
open func stopMonitoringVisits()}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:77: error: 'CLVisit' is unavailable in watchOS
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h:31:12: note: 'CLVisit' has been explicitly marked unavailable here
@interface CLVisit : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:588:15: warning: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:588:15: note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:504:23: note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
extension GeoMonitor: CLLocationManagerDelegate {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: warning: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: warning: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:618:15: warning: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:618:15: note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:623:15: warning: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:623:15: note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: error: cannot override 'locationManagerDidPauseLocationUpdates' which has been marked unavailable
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
CoreLocation.CLLocationManagerDelegate.locationManagerDidPauseLocationUpdates:3:17: note: 'locationManagerDidPauseLocationUpdates' has been explicitly marked unavailable here
optional func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: warning: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: error: cannot override 'locationManagerDidResumeLocationUpdates' which has been marked unavailable
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
CoreLocation.CLLocationManagerDelegate.locationManagerDidResumeLocationUpdates:3:17: note: 'locationManagerDidResumeLocationUpdates' has been explicitly marked unavailable here
optional func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: warning: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: warning: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
nonisolated
Failed frontend command:
/Applications/Xcode-16.3.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/GeoMonitor/GeoMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift -target armv7k-apple-watchos6.0 -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.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 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.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.3.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 -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name GeoMonitor -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/armv7k/GeoMonitor.abi.json
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ GeoMonitor (in target 'GeoMonitor' from project 'GeoMonitor')
Failed frontend command:
/Applications/Xcode-16.3.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/GeoMonitor/GeoMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift -target arm64_32-apple-watchos6.0 -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.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 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.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.3.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 -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name GeoMonitor -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.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/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeoMonitor.build/Debug-watchos/GeoMonitor.build/Objects-normal/arm64_32/GeoMonitor.abi.json
EmitSwiftModule normal arm64_32 (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didEnterRegion:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didExitRegion:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: error: cannot override 'locationManager' which has been marked unavailable
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
CoreLocation.CLLocationManagerDelegate.locationManager:3:17: note: 'locationManager(_:didVisit:)' has been explicitly marked unavailable here
optional func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:47: error: 'authorizationStatus' is only available in watchOS 7.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:47: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:22:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:104: error: 'authorizationStatus' is only available in watchOS 7.0 or newer
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:256:104: note: add 'if #available' version check
if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:22:14: note: add @available attribute to enclosing class
public class GeoMonitor: NSObject, ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:277:27: error: 'startMonitoringVisits()' is unavailable in watchOS
locationManager.startMonitoringVisits()
^~~~~~~~~~~~~~~~~~~~~
CoreLocation.CLLocationManager.startMonitoringVisits:3:13: note: 'startMonitoringVisits()' has been explicitly marked unavailable here
open func startMonitoringVisits()}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:279:27: error: 'stopMonitoringVisits()' is unavailable in watchOS
locationManager.stopMonitoringVisits()
^~~~~~~~~~~~~~~~~~~~
CoreLocation.CLLocationManager.stopMonitoringVisits:3:13: note: 'stopMonitoringVisits()' has been explicitly marked unavailable here
open func stopMonitoringVisits()}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:77: error: 'CLVisit' is unavailable in watchOS
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h:31:12: note: 'CLVisit' has been explicitly marked unavailable here
@interface CLVisit : NSObject <NSSecureCoding, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:588:15: warning: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:588:15: note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:504:23: note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
extension GeoMonitor: CLLocationManagerDelegate {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: warning: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:506:15: note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: warning: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:549:15: note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:618:15: warning: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:618:15: note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:623:15: warning: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:623:15: note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: error: cannot override 'locationManagerDidPauseLocationUpdates' which has been marked unavailable
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
CoreLocation.CLLocationManagerDelegate.locationManagerDidPauseLocationUpdates:3:17: note: 'locationManagerDidPauseLocationUpdates' has been explicitly marked unavailable here
optional func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: warning: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:610:15: note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: error: cannot override 'locationManagerDidResumeLocationUpdates' which has been marked unavailable
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
CoreLocation.CLLocationManagerDelegate.locationManagerDidResumeLocationUpdates:3:17: note: 'locationManagerDidResumeLocationUpdates' has been explicitly marked unavailable here
optional func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager)}
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: warning: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:614:15: note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: warning: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'; this is an error in the Swift 6 language mode
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:567:15: note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
^
nonisolated
SwiftCompile normal arm64_32 Compiling\ PrioritizedRegion.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ GeoMonitor (in target 'GeoMonitor' from project 'GeoMonitor')
EmitSwiftModule normal arm64 (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ GeoMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ PrioritizedRegion.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ GeoMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ PrioritizedRegion.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/PrioritizedRegion.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ GeoMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift (in target 'GeoMonitor' from project 'GeoMonitor')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
EmitSwiftModule normal armv7k (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftEmitModule normal armv7k Emitting\ module\ for\ GeoMonitor (in target 'GeoMonitor' from project 'GeoMonitor')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ GeoMonitor (in target 'GeoMonitor' from project 'GeoMonitor')
EmitSwiftModule normal arm64_32 (in target 'GeoMonitor' from project 'GeoMonitor')
Building workspace spi-builder-workspace with scheme GeoMonitor
(5 failures)
BUILD FAILURE 6.1 watchOS