Build Information
Failed to build LGV_MeetingSDK, reference 2.10.7 (5336a3
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 15:44:10 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LittleGreenViper/LGV_MeetingSDK.git
Reference: 2.10.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LittleGreenViper/LGV_MeetingSDK
* tag 2.10.7 -> FETCH_HEAD
HEAD is now at 5336a38 The next start date function had some issues that were fixed.
Cloned https://github.com/LittleGreenViper/LGV_MeetingSDK.git
Revision (git rev-parse @):
5336a3884754bd161e9378c3c2ca70e4704e615c
SUCCESS checkout https://github.com/LittleGreenViper/LGV_MeetingSDK.git at 2.10.7
========================================
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": "lgv_meetingsdk",
"name": "LGV_MeetingSDK",
"url": "https://github.com/LittleGreenViper/LGV_MeetingSDK.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LGV_MeetingSDK",
"dependencies": [
]
}
]
}
Fetching https://github.com/LittleGreenViper/LGV_MeetingSDK.git
[1/3833] Fetching lgv_meetingsdk
Fetched https://github.com/LittleGreenViper/LGV_MeetingSDK.git from cache (1.94s)
Creating working copy for https://github.com/LittleGreenViper/LGV_MeetingSDK.git
Working copy of https://github.com/LittleGreenViper/LGV_MeetingSDK.git resolved at 2.10.7 (5336a38)
warning: '.resolve-product-dependencies': dependency 'lgv_meetingsdk' 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/LittleGreenViper/LGV_MeetingSDK.git
{
"dependencies" : [
],
"manifest_display_name" : "LGV_MeetingSDK",
"name" : "LGV_MeetingSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "LGV_MeetingSDK",
"targets" : [
"LGV_MeetingSDK"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LGV_MeetingSDK",
"module_type" : "SwiftTarget",
"name" : "LGV_MeetingSDK",
"path" : "Sources/LGV_MeetingSDK",
"product_memberships" : [
"LGV_MeetingSDK"
],
"sources" : [
"Protocols/LGV_MeetingSDK_Meeting_Protocols.swift",
"Protocols/LGV_MeetingSDK_Organization_Protocol.swift",
"Protocols/LGV_MeetingSDK_Protocols.swift",
"Protocols/LGV_MeetingSDK_Transport_Protocol.swift",
"Types/LGV_MeetingSDK.swift",
"Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServer.Transport.Parser.swift",
"Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServer.Transport.swift",
"Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServer.swift",
"Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServerTransport.Initiator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_LGV_MeetingServer.Transport.swift
[4/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_LGV_MeetingServerTransport.Initiator.swift
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServerTransport.Initiator.swift:46:77: warning: capture of 'inSearchType' with non-sendable type 'LGV_MeetingSDK_Meeting_Data_Set.SearchConstraints' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 |
45 | URLSession.shared.dataTask(with: urlRequest) { data, response, error in
46 | let emptyResponse = LGV_MeetingSDK_Meeting_Data_Set(searchType: inSearchType, searchRefinements: inSearchRefinements)
| `- warning: capture of 'inSearchType' with non-sendable type 'LGV_MeetingSDK_Meeting_Data_Set.SearchConstraints' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | guard let response = response as? HTTPURLResponse else {
48 | inCompletion(emptyResponse, LGV_MeetingSDK_Meeting_Data_Set.Error.CommunicationError.missingResponseError(error: error))
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingSDK.swift:395:17: note: consider making enum 'SearchConstraints' conform to the 'Sendable' protocol
393 | These are enums that describe the "main" search parameters.
394 | */
395 | public enum SearchConstraints: CustomDebugStringConvertible, Codable {
| `- note: consider making enum 'SearchConstraints' conform to the 'Sendable' protocol
396 | /* ############################################################## */
397 | /**
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServerTransport.Initiator.swift:46:110: warning: capture of 'inSearchRefinements' with non-sendable type 'Set<LGV_MeetingSDK_Meeting_Data_Set.Search_Refinements>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 |
45 | URLSession.shared.dataTask(with: urlRequest) { data, response, error in
46 | let emptyResponse = LGV_MeetingSDK_Meeting_Data_Set(searchType: inSearchType, searchRefinements: inSearchRefinements)
| `- warning: capture of 'inSearchRefinements' with non-sendable type 'Set<LGV_MeetingSDK_Meeting_Data_Set.Search_Refinements>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | guard let response = response as? HTTPURLResponse else {
48 | inCompletion(emptyResponse, LGV_MeetingSDK_Meeting_Data_Set.Error.CommunicationError.missingResponseError(error: error))
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingSDK.swift:630:17: note: consider making enum 'Search_Refinements' conform to the 'Sendable' protocol
628 | The main search can have "refinements" applied, that filter the response further.
629 | */
630 | public enum Search_Refinements: CustomDebugStringConvertible, Hashable, Codable {
| `- note: consider making enum 'Search_Refinements' conform to the 'Sendable' protocol
631 | /* ############################################################## */
632 | /**
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServerTransport.Initiator.swift:48:17: warning: capture of 'inCompletion' with non-sendable type 'LGV_MeetingSDK_LGV_MeetingServer.Transport.Initiator.MeetingSearchCallbackClosure' (aka '(Optional<any LGV_MeetingSDK_Meeting_Data_Set_Protocol>, Optional<any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | let emptyResponse = LGV_MeetingSDK_Meeting_Data_Set(searchType: inSearchType, searchRefinements: inSearchRefinements)
47 | guard let response = response as? HTTPURLResponse else {
48 | inCompletion(emptyResponse, LGV_MeetingSDK_Meeting_Data_Set.Error.CommunicationError.missingResponseError(error: error))
| |- warning: capture of 'inCompletion' with non-sendable type 'LGV_MeetingSDK_LGV_MeetingServer.Transport.Initiator.MeetingSearchCallbackClosure' (aka '(Optional<any LGV_MeetingSDK_Meeting_Data_Set_Protocol>, Optional<any Error>) -> ()') 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'
49 | return
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServerTransport.Initiator.swift:60:25: warning: capture of 'self' with non-sendable type 'LGV_MeetingSDK_LGV_MeetingServer.Transport.Initiator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | if let data = data,
59 | "application/json" == response.mimeType {
60 | self.parser.parseThis(searchType: inSearchType, searchRefinements: inSearchRefinements, data: data, refCon: inRefCon) { inParsedMeetings, inError in
| `- warning: capture of 'self' with non-sendable type 'LGV_MeetingSDK_LGV_MeetingServer.Transport.Initiator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | if var parsedData = inParsedMeetings {
62 | parsedData.extraInfo = urlRequest.url?.absoluteString ?? ""
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServer.swift:69:22: note: class 'Initiator' does not conform to the 'Sendable' protocol
67 | We make it a class, so it will be referencable.
68 | */
69 | public class Initiator {
| `- note: class 'Initiator' does not conform to the 'Sendable' protocol
70 | /* ########################################################## */
71 | /**
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServerTransport.Initiator.swift:60:133: warning: capture of 'inRefCon' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | if let data = data,
59 | "application/json" == response.mimeType {
60 | self.parser.parseThis(searchType: inSearchType, searchRefinements: inSearchRefinements, data: data, refCon: inRefCon) { inParsedMeetings, inError in
| `- warning: capture of 'inRefCon' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 | if var parsedData = inParsedMeetings {
62 | parsedData.extraInfo = urlRequest.url?.absoluteString ?? ""
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServerTransport.Initiator.swift:63:33: warning: capture of 'self' with non-sendable type 'LGV_MeetingSDK_LGV_MeetingServer.Transport.Initiator' in an isolated closure; this is an error in the Swift 6 language mode
61 | if var parsedData = inParsedMeetings {
62 | parsedData.extraInfo = urlRequest.url?.absoluteString ?? ""
63 | self.transport?.sdkInstance?.lastSearch = parsedData
| `- warning: capture of 'self' with non-sendable type 'LGV_MeetingSDK_LGV_MeetingServer.Transport.Initiator' in an isolated closure; this is an error in the Swift 6 language mode
64 | inCompletion(parsedData, inError)
65 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServer.swift:69:22: note: class 'Initiator' does not conform to the 'Sendable' protocol
67 | We make it a class, so it will be referencable.
68 | */
69 | public class Initiator {
| `- note: class 'Initiator' does not conform to the 'Sendable' protocol
70 | /* ########################################################## */
71 | /**
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingServer/LGV_MeetingSDK_LGV_MeetingServerTransport.Initiator.swift:64:33: warning: capture of 'inCompletion' with non-sendable type 'LGV_MeetingSDK_LGV_MeetingServer.Transport.Initiator.MeetingSearchCallbackClosure' (aka '(Optional<any LGV_MeetingSDK_Meeting_Data_Set_Protocol>, Optional<any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
62 | parsedData.extraInfo = urlRequest.url?.absoluteString ?? ""
63 | self.transport?.sdkInstance?.lastSearch = parsedData
64 | inCompletion(parsedData, inError)
| |- warning: capture of 'inCompletion' with non-sendable type 'LGV_MeetingSDK_LGV_MeetingServer.Transport.Initiator.MeetingSearchCallbackClosure' (aka '(Optional<any LGV_MeetingSDK_Meeting_Data_Set_Protocol>, Optional<any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 | } else {
66 | inCompletion(emptyResponse, inError)
[5/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_LGV_MeetingServer.swift
[6/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_Protocols.swift
[7/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_Transport_Protocol.swift
[8/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_Organization_Protocol.swift
[9/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_LGV_MeetingServer.Transport.Parser.swift
[10/12] Emitting module LGV_MeetingSDK
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingSDK.swift:51:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
49 | // MARK: - Hashable Conformance for CLLocationCoordinate2D -
50 | /* ###################################################################################################################################### */
51 | extension CLLocationCoordinate2D: Hashable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
52 | /* ############################################################## */
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingSDK.swift:67: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
65 | // MARK: - Equatable Conformance for CLLocationCoordinate2D -
66 | /* ###################################################################################################################################### */
67 | 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
68 | /* ############################################################## */
69 | /**
[11/12] Compiling LGV_MeetingSDK LGV_MeetingSDK.swift
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingSDK.swift:51:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
49 | // MARK: - Hashable Conformance for CLLocationCoordinate2D -
50 | /* ###################################################################################################################################### */
51 | extension CLLocationCoordinate2D: Hashable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
52 | /* ############################################################## */
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingSDK.swift:67: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
65 | // MARK: - Equatable Conformance for CLLocationCoordinate2D -
66 | /* ###################################################################################################################################### */
67 | 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
68 | /* ############################################################## */
69 | /**
[12/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_Meeting_Protocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Protocols/LGV_MeetingSDK_Meeting_Protocols.swift:396:34: error: 'now' is only available in macOS 12 or newer
382 | // MARK: Accessor Methods
383 | /* ###################################################################################################################################### */
384 | extension LGV_MeetingSDK_Meeting_TimeInformation {
| `- note: add @available attribute to enclosing extension
385 | /* ################################################################## */
386 | /**
:
392 | > NOTE: If the date is invalid, then the distant future will be returned.
393 | */
394 | public mutating func getNextStartDate(isAdjusted inAdjust: Bool = false) -> Date {
| `- note: add @available attribute to enclosing instance method
395 | // We do this, to cast our current timezone to the meeting's.
396 | let adjustedNow: Date = .now.convert(from: .current, to: timeZone)
| |- error: 'now' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
397 |
398 | // We do it this way, in case we are not adjusting a meeting in another timezone.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/LGV_MeetingSDK/Types/LGV_MeetingServer/README.md
BUILD FAILURE 6.0 macosSpm