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 SmartDeviceLink 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/smartdevicelink/sdl_ios.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/smartdevicelink/sdl_ios
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 2c3d561 Merge pull request #2123 from smartdevicelink/master
Submodule path 'bson_c_lib': checked out '48d38d5b7a9b6cffc8171087b68bee5f4649e67d'
Submodule path 'generator/rpc_spec': checked out '6537500b45f65e02d884da9d73d6820ba7b0b1f5'
Submodule 'bson_c_lib' (https://github.com/smartdevicelink/bson_c_lib.git) registered for path 'bson_c_lib'
Submodule 'generator/rpc_spec' (https://github.com/smartdevicelink/rpc_spec.git) registered for path 'generator/rpc_spec'
Cloning into '/Users/admin/builder/spi-builder-workspace/bson_c_lib'...
Cloning into '/Users/admin/builder/spi-builder-workspace/generator/rpc_spec'...
Cloned https://github.com/smartdevicelink/sdl_ios.git
Revision (git rev-parse @):
2c3d561468ee67a4b298e4976a1ac2699853c11e
SUCCESS checkout https://github.com/smartdevicelink/sdl_ios.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/smartdevicelink/sdl_ios.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/578] Write sources
[0/578] Copying SDLLockScreen.storyboard
[2/578] Copying SDLLockScreen.strings
[3/578] Copying Info.plist
[4/578] Copying SDLLockScreen.strings
[9/578] Copying SDLAssets.xcassets
[10/578] Write swift-version-6F35C1178C84523A.txt
[11/578] Compiling SDLWindowType.m
[12/578] Compiling SmartDeviceLink resource_bundle_accessor.m
[13/578] Compiling SDLWeatherData.m
[14/578] Compiling SDLWindowState.m
[15/578] Compiling SDLWindowCapability.m
[16/578] Compiling SDLWayPointType.m
[17/578] Compiling SDLWeatherAlert.m
[18/578] Compiling SDLWiperStatus.m
[19/578] Compiling SDLWindowStatus.m
[20/578] Compiling SDLWarningLightStatus.m
[21/578] Compiling SDLWeatherServiceManifest.m
[22/578] Compiling SDLVrCapabilities.m
[23/578] Compiling SDLVrHelpItem.m
[24/578] Compiling SDLVideoStreamingState.m
[25/578] Compiling SDLVoiceCommand.m
[26/578] Compiling SDLWeatherServiceData.m
/Users/admin/builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingRange.m:48:26: warning: 'init' is deprecated: Use .disabled instead [-Wdeprecated-declarations]
   48 |     return [[self alloc] init];
      |                          ^
/Users/admin/builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingRange.h:33:22: note: 'init' has been explicitly marked deprecated here
   33 | - (instancetype)init __deprecated_msg("Use .disabled instead");
      |                      ^
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
  218 |         #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
      |                                                       ^
1 warning generated.
[27/578] Compiling SDLVideoStreamingRange.m
[28/578] Compiling SDLVideoStreamingProtocol.m
[29/578] Compiling SDLVideoStreamingCodec.m
[30/578] Compiling SDLVideoStreamingFormat.m
In file included from /Users/admin/builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingCapability.m:15:
/Users/admin/builder/spi-builder-workspace/SmartDeviceLink/public/SDLStreamingVideoScaleManager.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
    9 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[31/578] Compiling SDLVideoStreamingCapability.m
[31/578] Compiling SDLVehicleDataResult.m
[31/578] Compiling SDLVehicleDataResultCode.m
[31/578] Compiling SDLVehicleDataNotificationStatus.m
[31/578] Compiling SDLVehicleDataStatus.m
[31/578] Compiling SDLVehicleDataType.m
[31/578] Compiling SDLWindowTypeCapabilities.m
[31/578] Compiling SDLVehicleType.m
[31/578] Compiling SDLVersion.m
[31/578] Compiling SDLVentilationMode.m
Fetching https://github.com/smartdevicelink/bson_c_lib.git
[1/834] Fetching bson_c_lib
Fetched https://github.com/smartdevicelink/bson_c_lib.git from cache (1.09s)
Computing version for https://github.com/smartdevicelink/bson_c_lib.git
Computed https://github.com/smartdevicelink/bson_c_lib.git at 1.2.5 (0.70s)
Creating working copy for https://github.com/smartdevicelink/bson_c_lib.git
Working copy of https://github.com/smartdevicelink/bson_c_lib.git resolved at 1.2.5
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.