The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DropboxAuth, reference master (1040bc), with Swift 6.2 (beta) for Android on 18 Jun 2025 20:40:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jellybeansoup/ios-dropbox-auth.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-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
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:));
      |                                                                                              ^
      |                                                                                              :
[0/3] Compiling DropboxAuth JDBAccessToken.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;
      | ^
[0/3] Compiling DropboxAuth JDBKeychainManager.m
BUILD FAILURE 6.2 android