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 DropboxAuth, reference master (1040bc), with Swift 6.0 for Linux on 1 Nov 2024 12:19:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jellybeansoup/ios-dropbox-auth.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/jellybeansoup/ios-dropbox-auth
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1040bc3 Add a missing public header to the umbrella
Cloned https://github.com/jellybeansoup/ios-dropbox-auth.git
Revision (git rev-parse @):
1040bc3a6b131282b31cadab5973e26f9578ae89
SUCCESS checkout https://github.com/jellybeansoup/ios-dropbox-auth.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jellybeansoup/ios-dropbox-auth.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
/host/spi-builder-workspace/src/DropboxAuth/JDBAuthManager.m:25:1: error: use of '@import' when modules are disabled
   25 | @import SafariServices;
      | ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAuthManager.m:26:1: error: use of '@import' when modules are disabled
   26 | @import AuthenticationServices;
      | ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAuthManager.m:27:9: fatal error: 'CommonCrypto/CommonHMAC.h' file not found
   27 | #import <CommonCrypto/CommonHMAC.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
[0/3] Compiling DropboxAuth JDBAuthManager.m
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.m:25:1: error: use of '@import' when modules are disabled
   25 | @import Security;
      | ^
In file included from /host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.m:26:
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:25:1: error: use of '@import' when modules are disabled
   25 | @import Foundation;
      | ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:27:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   27 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:29:33: error: cannot find interface declaration for 'NSObject', superclass of 'JDBKeychainManager'
   29 | @interface JDBKeychainManager : NSObject
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:31:4: error: expected a type
   31 | + (BOOL)setValue:(NSString *)value forKey:(NSString *)key;
      |    ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:31:19: error: expected a type
   31 | + (BOOL)setValue:(NSString *)value forKey:(NSString *)key;
      |                   ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:31:44: error: expected a type
   31 | + (BOOL)setValue:(NSString *)value forKey:(NSString *)key;
      |                                            ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:33:4: error: expected a type
   33 | + (NSString * _Nullable)valueForKey:(NSString *)key;
      |    ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:33:38: error: expected a type
   33 | + (NSString * _Nullable)valueForKey:(NSString *)key;
      |                                      ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:35:4: error: expected a type
   35 | + (BOOL)removeValueForKey:(NSString *)key;
      |    ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:35:28: error: expected a type
   35 | + (BOOL)removeValueForKey:(NSString *)key;
      |                            ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:37:4: error: expected a type
   37 | + (NSArray<NSString *> *)getAll;
      |    ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:39:4: error: expected a type
   39 | + (BOOL)clearAll;
      |    ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.h:45:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
   45 | NS_ASSUME_NONNULL_END
      | ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.m:30:4: error: expected a type
   30 | + (BOOL)setValue:(NSString *)value forKey:(NSString *)key {
      |    ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.m:30:19: error: expected a type
   30 | + (BOOL)setValue:(NSString *)value forKey:(NSString *)key {
      |                   ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.m:30:44: error: expected a type
   30 | + (BOOL)setValue:(NSString *)value forKey:(NSString *)key {
      |                                            ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.m:44:4: error: expected a type
   44 | + (NSString *)valueForKey:(NSString *)key {
      |    ^
/host/spi-builder-workspace/src/DropboxAuth/JDBKeychainManager.m:44:28: error: expected a type
   44 | + (NSString *)valueForKey:(NSString *)key {
      |                            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[0/3] Compiling DropboxAuth JDBKeychainManager.m
In file included from /host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.m:25:
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:25:1: error: use of '@import' when modules are disabled
   25 | @import Foundation;
      | ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:27:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   27 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:29:29: error: cannot find interface declaration for 'NSObject', superclass of 'JDBAccessToken'
   29 | @interface JDBAccessToken : NSObject
      | ~~~~~~~~~~~~~~~~~~~~~~~~~   ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:32:41: error: unknown type name 'NSString'
   32 | @property (nonatomic, strong, readonly) NSString *accessToken;
      |                                         ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:32:1: error: property with 'retain (or strong)' attribute must be of object type
   32 | @property (nonatomic, strong, readonly) NSString *accessToken;
      | ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:35:41: error: unknown type name 'NSString'
   35 | @property (nonatomic, strong, readonly) NSString *uid;
      |                                         ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:35:1: error: property with 'retain (or strong)' attribute must be of object type
   35 | @property (nonatomic, strong, readonly) NSString *uid;
      | ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:38:38: error: expected a type
   38 | - (instancetype)initWithAccessToken:(NSString *)accessToken uid:(NSString *)uid NS_SWIFT_NAME(init(string:uid:));
      |                                      ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:38:66: error: expected a type
   38 | - (instancetype)initWithAccessToken:(NSString *)accessToken uid:(NSString *)uid NS_SWIFT_NAME(init(string:uid:));
      |                                                                  ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:38:94: error: expected ':'
   38 | - (instancetype)initWithAccessToken:(NSString *)accessToken uid:(NSString *)uid NS_SWIFT_NAME(init(string:uid:));
      |                                                                                              ^
      |                                                                                              :
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:38:94: error: expected ';' after method prototype
   38 | - (instancetype)initWithAccessToken:(NSString *)accessToken uid:(NSString *)uid NS_SWIFT_NAME(init(string:uid:));
      |                                                                                              ^
      |                                                                                              ;
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:43:4: error: expected a type
   43 | - (NSURLRequest *)signedRequestFromRequest:(NSURLRequest *)request NS_SWIFT_NAME(signedRequest(from:));
      |    ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:43:45: error: expected a type
   43 | - (NSURLRequest *)signedRequestFromRequest:(NSURLRequest *)request NS_SWIFT_NAME(signedRequest(from:));
      |                                             ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:43:81: error: expected ':'
   43 | - (NSURLRequest *)signedRequestFromRequest:(NSURLRequest *)request NS_SWIFT_NAME(signedRequest(from:));
      |                                                                                 ^
      |                                                                                 :
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:43:81: error: expected ';' after method prototype
   43 | - (NSURLRequest *)signedRequestFromRequest:(NSURLRequest *)request NS_SWIFT_NAME(signedRequest(from:));
      |                                                                                 ^
      |                                                                                 ;
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:51:4: error: expected a type
   51 | - (NSURLRequest *)signedRequestWithURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval NS_SWIFT_NAME(signedRequest(with:cachePolicy:timeoutInterval:));
      |    ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:51:41: error: expected a type
   51 | - (NSURLRequest *)signedRequestWithURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval NS_SWIFT_NAME(signedRequest(with:cachePolicy:timeoutInterval:));
      |                                         ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:51:66: error: expected a type
   51 | - (NSURLRequest *)signedRequestWithURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval NS_SWIFT_NAME(signedRequest(with:cachePolicy:timeoutInterval:));
      |                                                                  ^
/host/spi-builder-workspace/src/DropboxAuth/JDBAccessToken.h:51:119: error: expected a type
   51 | - (NSURLRequest *)signedRequestWithURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval NS_SWIFT_NAME(signedRequest(with:cachePolicy:timeoutInterval:));
      |                                                                                                                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[0/3] Compiling DropboxAuth JDBAccessToken.m
BUILD FAILURE 6.0 linux