Build Information
Failed to build AtlasKit, reference 0.2.1 (02c563
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 07:21:19 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appoly/AtlasKit.git
Reference: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/appoly/AtlasKit
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at 02c5632 Test updates
Cloned https://github.com/appoly/AtlasKit.git
Revision (git rev-parse @):
02c56321bd1cb6a156b1291054c36855431716e0
SUCCESS checkout https://github.com/appoly/AtlasKit.git at 0.2.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "atlaskit",
"name": "AtlasKit",
"url": "https://github.com/appoly/AtlasKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AtlasKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/appoly/AtlasKit.git
[1/325] Fetching atlaskit
Fetched https://github.com/appoly/AtlasKit.git from cache (0.85s)
Creating working copy for https://github.com/appoly/AtlasKit.git
Working copy of https://github.com/appoly/AtlasKit.git resolved at 0.2.1 (02c5632)
warning: '.resolve-product-dependencies': dependency 'atlaskit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/appoly/AtlasKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling AtlasKit GoogleHelper.swift
[4/9] Compiling AtlasKit AtlasKitPlace.swift
[5/9] Compiling AtlasKit AtlasKitError.swift
[6/9] Compiling AtlasKit AtlasKitDatasource.swift
[7/9] Compiling AtlasKit AtlasKitAPI.swift
[8/9] Emitting module AtlasKit
[9/9] Compiling AtlasKit AtlasKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:45:13: warning: capture of 'self' with non-sendable type 'AtlasKit?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 |
16 |
17 | public class AtlasKit {
| `- note: class 'AtlasKit' does not conform to the 'Sendable' protocol
18 |
19 | // MARK: - Variables
:
43 | searchTimer?.invalidate()
44 | searchTimer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in
45 | self?.performSearch(term, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'AtlasKit?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | })
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:45:51: warning: capture of 'completion' with non-sendable type '(Result<[AtlasKitPlace], AtlasKitError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 | searchTimer?.invalidate()
44 | searchTimer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in
45 | self?.performSearch(term, completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<[AtlasKitPlace], AtlasKitError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
46 | })
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:53:26: error: 'withUnsafeThrowingContinuation(isolation:_:)' is only available in macOS 10.15 or newer
15 |
16 |
17 | public class AtlasKit {
| `- note: add @available attribute to enclosing class
18 |
19 | // MARK: - Variables
:
49 |
50 | @available(iOS 15.0.0, *)
51 | public func performSearchWithDelay(_ term: String, delay: TimeInterval) async throws -> [AtlasKitPlace] {
| `- note: add @available attribute to enclosing instance method
52 | searchTimer?.invalidate()
53 | return try await withUnsafeThrowingContinuation { continuation in
| |- error: 'withUnsafeThrowingContinuation(isolation:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | DispatchQueue.main.async { [weak self] in
55 | self?.searchTimer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:56:62: error: 'resume(with:)' is only available in macOS 10.15 or newer
15 |
16 |
17 | public class AtlasKit {
| `- note: add @available attribute to enclosing class
18 |
19 | // MARK: - Variables
:
49 |
50 | @available(iOS 15.0.0, *)
51 | public func performSearchWithDelay(_ term: String, delay: TimeInterval) async throws -> [AtlasKitPlace] {
| `- note: add @available attribute to enclosing instance method
52 | searchTimer?.invalidate()
53 | return try await withUnsafeThrowingContinuation { continuation in
54 | DispatchQueue.main.async { [weak self] in
55 | self?.searchTimer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in
56 | self?.performSearch(term) { continuation.resume(with: $0) }
| |- error: 'resume(with:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | })
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:53:58: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:53:57: note: expanded code originates here
15 |
16 |
17 | public class AtlasKit {
| `- note: add @available attribute to enclosing class
18 |
19 | // MARK: - Variables
:
49 |
50 | @available(iOS 15.0.0, *)
51 | public func performSearchWithDelay(_ term: String, delay: TimeInterval) async throws -> [AtlasKitPlace] {
| `- note: add @available attribute to enclosing instance method
52 | searchTimer?.invalidate()
53 | return try await withUnsafeThrowingContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift
|51 |
|52 |
|53 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------------------
54 | DispatchQueue.main.async { [weak self] in
55 | self?.searchTimer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:55:17: warning: capture of 'self' with non-sendable type 'AtlasKit?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 |
16 |
17 | public class AtlasKit {
| `- note: class 'AtlasKit' does not conform to the 'Sendable' protocol
18 |
19 | // MARK: - Variables
:
53 | return try await withUnsafeThrowingContinuation { continuation in
54 | DispatchQueue.main.async { [weak self] in
55 | self?.searchTimer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in
| `- warning: capture of 'self' with non-sendable type 'AtlasKit?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | self?.performSearch(term) { continuation.resume(with: $0) }
57 | })
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:56:21: warning: capture of 'self' with non-sendable type 'AtlasKit?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 |
16 |
17 | public class AtlasKit {
| `- note: class 'AtlasKit' does not conform to the 'Sendable' protocol
18 |
19 | // MARK: - Variables
:
54 | DispatchQueue.main.async { [weak self] in
55 | self?.searchTimer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in
56 | self?.performSearch(term) { continuation.resume(with: $0) }
| `- warning: capture of 'self' with non-sendable type 'AtlasKit?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | })
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:65:26: error: 'withUnsafeThrowingContinuation(isolation:_:)' is only available in macOS 10.15 or newer
15 |
16 |
17 | public class AtlasKit {
| `- note: add @available attribute to enclosing class
18 |
19 | // MARK: - Variables
:
62 |
63 | @available(iOS 15.0.0, *)
64 | public func performSearch(_ term: String) async throws -> [AtlasKitPlace] {
| `- note: add @available attribute to enclosing instance method
65 | return try await withUnsafeThrowingContinuation { continuation in
| |- error: 'withUnsafeThrowingContinuation(isolation:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | performSearch(term, completion: { continuation.resume(with: $0) })
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:66:60: error: 'resume(with:)' is only available in macOS 10.15 or newer
15 |
16 |
17 | public class AtlasKit {
| `- note: add @available attribute to enclosing class
18 |
19 | // MARK: - Variables
:
62 |
63 | @available(iOS 15.0.0, *)
64 | public func performSearch(_ term: String) async throws -> [AtlasKitPlace] {
| `- note: add @available attribute to enclosing instance method
65 | return try await withUnsafeThrowingContinuation { continuation in
66 | performSearch(term, completion: { continuation.resume(with: $0) })
| |- error: 'resume(with:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:65:58: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:65:57: note: expanded code originates here
15 |
16 |
17 | public class AtlasKit {
| `- note: add @available attribute to enclosing class
18 |
19 | // MARK: - Variables
:
62 |
63 | @available(iOS 15.0.0, *)
64 | public func performSearch(_ term: String) async throws -> [AtlasKitPlace] {
| `- note: add @available attribute to enclosing instance method
65 | return try await withUnsafeThrowingContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift
|63 |
|64 |
|65 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------------------
66 | performSearch(term, completion: { continuation.resume(with: $0) })
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:97:46: warning: capture of 'self' with non-sendable type 'AtlasKit' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 |
16 |
17 | public class AtlasKit {
| `- note: class 'AtlasKit' does not conform to the 'Sendable' protocol
18 |
19 | // MARK: - Variables
:
95 | search = MKLocalSearch(request: request)
96 | search?.start(completionHandler: { (response, error) in
97 | DispatchQueue.main.async { [weak self] in
| `- warning: capture of 'self' with non-sendable type 'AtlasKit' in a `@Sendable` closure; this is an error in the Swift 6 language mode
98 | guard error == nil, let self = self else {
99 | completion(.failure(.generic))
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:99:21: warning: capture of 'completion' with non-sendable type '(Result<[AtlasKitPlace], AtlasKitError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | DispatchQueue.main.async { [weak self] in
98 | guard error == nil, let self = self else {
99 | completion(.failure(.generic))
| |- warning: capture of 'completion' with non-sendable type '(Result<[AtlasKitPlace], AtlasKitError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 | return
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:99:21: warning: capture of 'completion' with non-sendable type '(Result<[AtlasKitPlace], AtlasKitError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | DispatchQueue.main.async { [weak self] in
98 | guard error == nil, let self = self else {
99 | completion(.failure(.generic))
| |- warning: capture of 'completion' with non-sendable type '(Result<[AtlasKitPlace], AtlasKitError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 | return
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:132:17: warning: capture of 'completion' with non-sendable type '(Result<[AtlasKitPlace], AtlasKitError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 | URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
131 | guard let response = response as? HTTPURLResponse, (200..<300).contains(response.statusCode) else {
132 | completion(.failure(.generic))
| |- warning: capture of 'completion' with non-sendable type '(Result<[AtlasKitPlace], AtlasKitError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
133 | return
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:136:61: warning: capture of 'self' with non-sendable type 'AtlasKit?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 |
16 |
17 | public class AtlasKit {
| `- note: class 'AtlasKit' does not conform to the 'Sendable' protocol
18 |
19 | // MARK: - Variables
:
134 | }
135 |
136 | guard error == nil, let data = data, let self = self else {
| `- warning: capture of 'self' with non-sendable type 'AtlasKit?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 | completion(.failure(.generic))
138 | return
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:173:17: warning: capture of 'completion' with non-sendable type '(Result<[AtlasKitPlace], AtlasKitError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 | URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
172 | guard let response = response as? HTTPURLResponse, (200..<300).contains(response.statusCode) else {
173 | completion(.failure(.generic))
| |- warning: capture of 'completion' with non-sendable type '(Result<[AtlasKitPlace], AtlasKitError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
174 | return
175 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:177:61: warning: capture of 'self' with non-sendable type 'AtlasKit?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 |
16 |
17 | public class AtlasKit {
| `- note: class 'AtlasKit' does not conform to the 'Sendable' protocol
18 |
19 | // MARK: - Variables
:
175 | }
176 |
177 | guard error == nil, let data = data, let self = self else {
| `- warning: capture of 'self' with non-sendable type 'AtlasKit?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
178 | completion(.failure(.generic))
179 | return
BUILD FAILURE 6.0 macosSpm