Build Information
Failed to build AtlasKit, reference master (a18af2
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 07:21:38 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/appoly/AtlasKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a18af22 Revert "more fixes to decoding"
Cloned https://github.com/appoly/AtlasKit.git
Revision (git rev-parse @):
a18af22da30bd924e47a63daad1d958e575257a8
SUCCESS checkout https://github.com/appoly/AtlasKit.git at master
========================================
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.82s)
Creating working copy for https://github.com/appoly/AtlasKit.git
Working copy of https://github.com/appoly/AtlasKit.git resolved at master (a18af22)
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 AtlasKitDatasource.swift
[5/9] Compiling AtlasKit AtlasKitAPI.swift
[6/9] Compiling AtlasKit AtlasKitError.swift
[7/9] Compiling AtlasKit AtlasKitPlace.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:99: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
:
97 | search = MKLocalSearch(request: request)
98 | search?.start(completionHandler: { (response, error) in
99 | 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
100 | guard error == nil, let self = self else {
101 | completion(.failure(.generic))
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:101: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
99 | DispatchQueue.main.async { [weak self] in
100 | guard error == nil, let self = self else {
101 | 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'
102 | return
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:101: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
99 | DispatchQueue.main.async { [weak self] in
100 | guard error == nil, let self = self else {
101 | 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'
102 | return
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:134: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
132 | URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
133 | guard let response = response as? HTTPURLResponse, (200..<300).contains(response.statusCode) else {
134 | 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'
135 | return
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:138: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
:
136 | }
137 |
138 | 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
139 | completion(.failure(.generic))
140 | return
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:175: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
173 | URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
174 | guard let response = response as? HTTPURLResponse, (200..<300).contains(response.statusCode) else {
175 | 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'
176 | return
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:179: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
:
177 | }
178 |
179 | 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
180 | completion(.failure(.generic))
181 | return
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:221: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
219 | URLSession.shared.dataTask(with: request) { [weak self] data, response, error in
220 | guard let response = response as? HTTPURLResponse, (200..<300).contains(response.statusCode) else {
221 | 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'
222 | return
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/AtlasKit/AtlasKit.swift:225: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
:
223 | }
224 |
225 | 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
226 | completion(.failure(.generic))
227 | return
BUILD FAILURE 6.0 macosSpm