This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LGV_MeetingSDK with Swift 6.0 for macOS (SPM).

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/LittleGreenViper/LGV_MeetingSDK.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LittleGreenViper/LGV_MeetingSDK
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/LittleGreenViper/LGV_MeetingSDK.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/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_LGV_MeetingServer.swift
[4/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 |     /**
[5/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_LGV_MeetingServer.Transport.Parser.swift
[6/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.
[7/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_LGV_MeetingServer.Transport.swift
[8/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_Protocols.swift
[9/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_Transport_Protocol.swift
[10/12] Compiling LGV_MeetingSDK LGV_MeetingSDK_Organization_Protocol.swift
[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_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)
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
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.