Build Information
Successful build of CNKit with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/cnkit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/cnkit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 997e348 linebreaks \o/
Cloned https://github.com/kiliankoe/cnkit.git
Revision (git rev-parse @):
997e348445178dad21b759f8c8ec4b4d28916310
SUCCESS checkout https://github.com/kiliankoe/cnkit.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/kiliankoe/cnkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/30] Emitting module CNKit
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/CLLocationCoordinate2D.swift:3:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
1 | import struct CoreLocation.CLLocationCoordinate2D
2 |
3 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | public static func ==(lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
5 | return lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/Color.swift:41:9: warning: 'public' modifier is redundant for property declared in a public extension
39 | #elseif os(macOS)
40 | /// The color this room should be displayed as.
41 | public var color: NSColor? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
42 | return NSColor(withRGB: self.rawColor)
43 | }
[4/33] Compiling CNKit Result.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:64:35: warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
38 |
39 | extension Tiles {
40 | public enum Zoomlevel: Int {
| `- note: consider making enum 'Zoomlevel' conform to the 'Sendable' protocol
41 | case one = 1
42 | case two = 2
:
62 |
63 | queue.async {
64 | let yVals = Array(0..<zoomLevel.rawValue)
| `- warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | let xVals = Array(0..<zoomLevel.rawValue * 6) // Does 6 here really cover everything for all buildings?
66 |
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:78:17: warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 | DispatchQueue.main.async {
78 | completion(tiles)
| |- warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> 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'
79 | }
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:69:99: warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
38 |
39 | extension Tiles {
40 | public enum Zoomlevel: Int {
| `- note: consider making enum 'Zoomlevel' conform to the 'Sendable' protocol
41 | case one = 1
42 | case two = 2
:
67 | let tileCandidates = yVals.flatMap { y -> [FloorplanTile] in
68 | return xVals.map { x in
69 | let url = Tiles.floorplanURL(building: building, floor: floor, x: x, y: y, z: zoomLevel)
| `- warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
70 | return FloorplanTile(xPos: x, yPos: y, url: url)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:69:99: warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
38 |
39 | extension Tiles {
40 | public enum Zoomlevel: Int {
| `- note: consider making enum 'Zoomlevel' conform to the 'Sendable' protocol
41 | case one = 1
42 | case two = 2
:
67 | let tileCandidates = yVals.flatMap { y -> [FloorplanTile] in
68 | return xVals.map { x in
69 | let url = Tiles.floorplanURL(building: building, floor: floor, x: x, y: y, z: zoomLevel)
| `- warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
70 | return FloorplanTile(xPos: x, yPos: y, url: url)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:78:17: warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 | DispatchQueue.main.async {
78 | completion(tiles)
| |- warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> 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'
79 | }
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:78:28: warning: capture of 'tiles' with non-sendable type '[FloorplanTile]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 |
32 | /// Position and URL for a floorplan tile image.
33 | public struct FloorplanTile {
| `- note: consider making struct 'FloorplanTile' conform to the 'Sendable' protocol
34 | public let xPos: Int
35 | public let yPos: Int
:
76 |
77 | DispatchQueue.main.async {
78 | completion(tiles)
| `- warning: capture of 'tiles' with non-sendable type '[FloorplanTile]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 | }
80 | }
[5/33] Compiling CNKit Ternary.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:64:35: warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
38 |
39 | extension Tiles {
40 | public enum Zoomlevel: Int {
| `- note: consider making enum 'Zoomlevel' conform to the 'Sendable' protocol
41 | case one = 1
42 | case two = 2
:
62 |
63 | queue.async {
64 | let yVals = Array(0..<zoomLevel.rawValue)
| `- warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | let xVals = Array(0..<zoomLevel.rawValue * 6) // Does 6 here really cover everything for all buildings?
66 |
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:78:17: warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 | DispatchQueue.main.async {
78 | completion(tiles)
| |- warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> 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'
79 | }
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:69:99: warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
38 |
39 | extension Tiles {
40 | public enum Zoomlevel: Int {
| `- note: consider making enum 'Zoomlevel' conform to the 'Sendable' protocol
41 | case one = 1
42 | case two = 2
:
67 | let tileCandidates = yVals.flatMap { y -> [FloorplanTile] in
68 | return xVals.map { x in
69 | let url = Tiles.floorplanURL(building: building, floor: floor, x: x, y: y, z: zoomLevel)
| `- warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
70 | return FloorplanTile(xPos: x, yPos: y, url: url)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:69:99: warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
38 |
39 | extension Tiles {
40 | public enum Zoomlevel: Int {
| `- note: consider making enum 'Zoomlevel' conform to the 'Sendable' protocol
41 | case one = 1
42 | case two = 2
:
67 | let tileCandidates = yVals.flatMap { y -> [FloorplanTile] in
68 | return xVals.map { x in
69 | let url = Tiles.floorplanURL(building: building, floor: floor, x: x, y: y, z: zoomLevel)
| `- warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
70 | return FloorplanTile(xPos: x, yPos: y, url: url)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:78:17: warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 | DispatchQueue.main.async {
78 | completion(tiles)
| |- warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> 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'
79 | }
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:78:28: warning: capture of 'tiles' with non-sendable type '[FloorplanTile]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 |
32 | /// Position and URL for a floorplan tile image.
33 | public struct FloorplanTile {
| `- note: consider making struct 'FloorplanTile' conform to the 'Sendable' protocol
34 | public let xPos: Int
35 | public let yPos: Int
:
76 |
77 | DispatchQueue.main.async {
78 | completion(tiles)
| `- warning: capture of 'tiles' with non-sendable type '[FloorplanTile]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 | }
80 | }
[6/33] Compiling CNKit Tiles.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:64:35: warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
38 |
39 | extension Tiles {
40 | public enum Zoomlevel: Int {
| `- note: consider making enum 'Zoomlevel' conform to the 'Sendable' protocol
41 | case one = 1
42 | case two = 2
:
62 |
63 | queue.async {
64 | let yVals = Array(0..<zoomLevel.rawValue)
| `- warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | let xVals = Array(0..<zoomLevel.rawValue * 6) // Does 6 here really cover everything for all buildings?
66 |
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:78:17: warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 | DispatchQueue.main.async {
78 | completion(tiles)
| |- warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> 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'
79 | }
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:69:99: warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
38 |
39 | extension Tiles {
40 | public enum Zoomlevel: Int {
| `- note: consider making enum 'Zoomlevel' conform to the 'Sendable' protocol
41 | case one = 1
42 | case two = 2
:
67 | let tileCandidates = yVals.flatMap { y -> [FloorplanTile] in
68 | return xVals.map { x in
69 | let url = Tiles.floorplanURL(building: building, floor: floor, x: x, y: y, z: zoomLevel)
| `- warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
70 | return FloorplanTile(xPos: x, yPos: y, url: url)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:69:99: warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
38 |
39 | extension Tiles {
40 | public enum Zoomlevel: Int {
| `- note: consider making enum 'Zoomlevel' conform to the 'Sendable' protocol
41 | case one = 1
42 | case two = 2
:
67 | let tileCandidates = yVals.flatMap { y -> [FloorplanTile] in
68 | return xVals.map { x in
69 | let url = Tiles.floorplanURL(building: building, floor: floor, x: x, y: y, z: zoomLevel)
| `- warning: capture of 'zoomLevel' with non-sendable type 'Tiles.Zoomlevel' in an isolated closure; this is an error in the Swift 6 language mode
70 | return FloorplanTile(xPos: x, yPos: y, url: url)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:78:17: warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |
77 | DispatchQueue.main.async {
78 | completion(tiles)
| |- warning: capture of 'completion' with non-sendable type '([FloorplanTile]) -> 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'
79 | }
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Tiles.swift:78:28: warning: capture of 'tiles' with non-sendable type '[FloorplanTile]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 |
32 | /// Position and URL for a floorplan tile image.
33 | public struct FloorplanTile {
| `- note: consider making struct 'FloorplanTile' conform to the 'Sendable' protocol
34 | public let xPos: Int
35 | public let yPos: Int
:
76 |
77 | DispatchQueue.main.async {
78 | completion(tiles)
| `- warning: capture of 'tiles' with non-sendable type '[FloorplanTile]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 | }
80 | }
[7/33] Compiling CNKit Timetable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:38:17: warning: capture of 'completion' with non-sendable type '(Result<Self.CollectionType>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | error == nil
37 | else {
38 | completion(.failure(Error.response))
| |- warning: capture of 'completion' with non-sendable type '(Result<Self.CollectionType>) -> 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'
39 | return
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:71:13: warning: capture of 'rawDataHandler' with non-sendable type '((Data) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 |
70 | // To be used for storing raw responses elsewhere.
71 | rawDataHandler?(data)
| |- warning: capture of 'rawDataHandler' with non-sendable type '((Data) -> 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'
72 |
73 | if let error = try? JSONDecoder().decode(APIError.self, from: newlinestrippedData) {
[8/33] Compiling CNKit Transport.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:38:17: warning: capture of 'completion' with non-sendable type '(Result<Self.CollectionType>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | error == nil
37 | else {
38 | completion(.failure(Error.response))
| |- warning: capture of 'completion' with non-sendable type '(Result<Self.CollectionType>) -> 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'
39 | return
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:71:13: warning: capture of 'rawDataHandler' with non-sendable type '((Data) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 |
70 | // To be used for storing raw responses elsewhere.
71 | rawDataHandler?(data)
| |- warning: capture of 'rawDataHandler' with non-sendable type '((Data) -> 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'
72 |
73 | if let error = try? JSONDecoder().decode(APIError.self, from: newlinestrippedData) {
[9/33] Compiling CNKit APIResource.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:38:17: warning: capture of 'completion' with non-sendable type '(Result<Self.CollectionType>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | error == nil
37 | else {
38 | completion(.failure(Error.response))
| |- warning: capture of 'completion' with non-sendable type '(Result<Self.CollectionType>) -> 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'
39 | return
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/APIResource.swift:71:13: warning: capture of 'rawDataHandler' with non-sendable type '((Data) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 |
70 | // To be used for storing raw responses elsewhere.
71 | rawDataHandler?(data)
| |- warning: capture of 'rawDataHandler' with non-sendable type '((Data) -> 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'
72 |
73 | if let error = try? JSONDecoder().decode(APIError.self, from: newlinestrippedData) {
[10/33] Compiling CNKit RoomType.swift
[11/33] Compiling CNKit Route.swift
[12/33] Compiling CNKit Search.swift
[13/33] Compiling CNKit CanteenMenu.swift
[14/33] Compiling CNKit Floor.swift
[15/33] Compiling CNKit Hash.swift
[16/33] Compiling CNKit MKMapRect.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/URL.swift:28:13: warning: mutation of captured var 'contentLength' in concurrently-executing code; this is an error in the Swift 6 language mode
26 | return
27 | }
28 | contentLength = content
| `- warning: mutation of captured var 'contentLength' in concurrently-executing code; this is an error in the Swift 6 language mode
29 | sema.signal()
30 | }
[17/33] Compiling CNKit String.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/URL.swift:28:13: warning: mutation of captured var 'contentLength' in concurrently-executing code; this is an error in the Swift 6 language mode
26 | return
27 | }
28 | contentLength = content
| `- warning: mutation of captured var 'contentLength' in concurrently-executing code; this is an error in the Swift 6 language mode
29 | sema.signal()
30 | }
[18/33] Compiling CNKit URL.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/URL.swift:28:13: warning: mutation of captured var 'contentLength' in concurrently-executing code; this is an error in the Swift 6 language mode
26 | return
27 | }
28 | contentLength = content
| `- warning: mutation of captured var 'contentLength' in concurrently-executing code; this is an error in the Swift 6 language mode
29 | sema.signal()
30 | }
[19/33] Compiling CNKit Login.swift
[20/33] Compiling CNKit RoomID.swift
[21/33] Compiling CNKit RoomInfo.swift
[22/33] Compiling CNKit APIError.swift
[23/33] Compiling CNKit Building.swift
[24/33] Compiling CNKit Campus.swift
[25/33] Compiling CNKit Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/CLLocationCoordinate2D.swift:3:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
1 | import struct CoreLocation.CLLocationCoordinate2D
2 |
3 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | public static func ==(lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
5 | return lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude
[26/33] Compiling CNKit Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/CLLocationCoordinate2D.swift:3:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
1 | import struct CoreLocation.CLLocationCoordinate2D
2 |
3 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | public static func ==(lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
5 | return lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude
[27/33] Compiling CNKit CLLocationCoordinate2D.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/CLLocationCoordinate2D.swift:3:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
1 | import struct CoreLocation.CLLocationCoordinate2D
2 |
3 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | public static func ==(lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
5 | return lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude
[28/33] Compiling CNKit URLRequest.swift
[29/33] Compiling CNKit Resource.swift
[30/33] Compiling CNKit ResourceRepresentable.swift
[31/33] Compiling CNKit Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/Color.swift:41:9: warning: 'public' modifier is redundant for property declared in a public extension
39 | #elseif os(macOS)
40 | /// The color this room should be displayed as.
41 | public var color: NSColor? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
42 | return NSColor(withRGB: self.rawColor)
43 | }
[32/33] Compiling CNKit Dictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/Color.swift:41:9: warning: 'public' modifier is redundant for property declared in a public extension
39 | #elseif os(macOS)
40 | /// The color this room should be displayed as.
41 | public var color: NSColor? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
42 | return NSColor(withRGB: self.rawColor)
43 | }
[33/33] Compiling CNKit Int.swift
/Users/admin/builder/spi-builder-workspace/Sources/CNKit/Extensions/Color.swift:41:9: warning: 'public' modifier is redundant for property declared in a public extension
39 | #elseif os(macOS)
40 | /// The color this room should be displayed as.
41 | public var color: NSColor? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
42 | return NSColor(withRGB: self.rawColor)
43 | }
Build complete! (31.21s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CNKit",
"name" : "CNKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CNKit",
"targets" : [
"CNKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CNKitTests",
"module_type" : "SwiftTarget",
"name" : "CNKitTests",
"path" : "Tests/CNKitTests",
"sources" : [
"AccessibilityInfoTests.swift",
"BuildingComplexTests.swift",
"CampusTests.swift",
"CanteenMenuTests.swift",
"ColorTests.swift",
"ErrorTests.swift",
"FloorTests.swift",
"HashTests.swift",
"LoginTests.swift",
"MKMapRectTests.swift",
"ResourceTests.swift",
"ResultTests.swift",
"RoomIDTests.swift",
"RoomInfoTests.swift",
"RouteTests.swift",
"SearchTests.swift",
"TilesTests.swift",
"TimetableTests.swift",
"TransportTests.swift"
],
"target_dependencies" : [
"CNKit"
],
"type" : "test"
},
{
"c99name" : "CNKit",
"module_type" : "SwiftTarget",
"name" : "CNKit",
"path" : "Sources/CNKit",
"product_memberships" : [
"CNKit"
],
"sources" : [
"AModels/APIError.swift",
"AModels/Building.swift",
"AModels/Campus.swift",
"AModels/CanteenMenu.swift",
"AModels/Floor.swift",
"AModels/Hash.swift",
"AModels/Login.swift",
"AModels/RoomID.swift",
"AModels/RoomInfo.swift",
"AModels/RoomType.swift",
"AModels/Route.swift",
"AModels/Search.swift",
"AModels/Timetable.swift",
"AModels/Transport.swift",
"APIResource.swift",
"Config.swift",
"Error.swift",
"Extensions/CLLocationCoordinate2D.swift",
"Extensions/Color.swift",
"Extensions/Dictionary.swift",
"Extensions/Int.swift",
"Extensions/MKMapRect.swift",
"Extensions/String.swift",
"Extensions/URL.swift",
"Extensions/URLRequest.swift",
"Resource.swift",
"ResourceRepresentable.swift",
"Result.swift",
"Ternary.swift",
"Tiles.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.