The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TIM, reference 2.9.3 (1dae1b), with Swift 6.1 for Android on 30 May 2025 00:48:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/trifork/TIM-iOS.git
Reference: 2.9.3
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/trifork/TIM-iOS
 * tag               2.9.3      -> FETCH_HEAD
HEAD is now at 1dae1be Merge pull request #30 from trifork/niha/app-auth-update
Cloned https://github.com/trifork/TIM-iOS.git
Revision (git rev-parse @):
1dae1be45a2f49da42b5a3b5f95a113c9fcf98bc
SUCCESS checkout https://github.com/trifork/TIM-iOS.git at 2.9.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/trifork/TIM-iOS.git
https://github.com/trifork/TIM-iOS.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "appauth-ios",
      "requirement" : {
        "exact" : [
          "1.7.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/openid/AppAuth-iOS"
    },
    {
      "identity" : "timencryptedstorage-ios",
      "requirement" : {
        "exact" : [
          "2.2.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/trifork/TIMEncryptedStorage-iOS"
    }
  ],
  "manifest_display_name" : "TIM",
  "name" : "TIM",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "TIM",
      "targets" : [
        "TIM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TIMTests",
      "module_type" : "SwiftTarget",
      "name" : "TIMTests",
      "path" : "Tests/TIMTests",
      "sources" : [
        "AppAuthControllerTests.swift",
        "DataConvertableTests.swift",
        "JWTExtensionTests.swift",
        "TIMAppBackgroundMonitorDefaultTests.swift",
        "TIMAuthDefaultTests.swift",
        "TIMConfigurationTests.swift",
        "TIMStorageDefaultTests.swift",
        "TIMStorageErrorTests.swift",
        "TIMTests.swift"
      ],
      "target_dependencies" : [
        "TIM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TIM",
      "module_type" : "SwiftTarget",
      "name" : "TIM",
      "path" : "Sources/TIM",
      "product_dependencies" : [
        "AppAuth",
        "TIMEncryptedStorage"
      ],
      "product_memberships" : [
        "TIM"
      ],
      "sources" : [
        "AppAuth/AppAuthController.swift",
        "AppAuth/AppAuthControllerMock.swift",
        "AppAuth/AuthASWebAuthenticationSession.swift",
        "AppAuth/AuthSFController.swift",
        "Extensions/JWT+Extensions.swift",
        "Extensions/String+DataConvertable.swift",
        "Extensions/TimeInterval+DataConvertable.swift",
        "Helpers/JWTDecoder.swift",
        "Helpers/TIMLogger.swift",
        "Models/Errors.swift",
        "Models/TIMCallbackModels.swift",
        "Models/TIMConfiguration.swift",
        "Models/TIMOpenIDConfiguration.swift",
        "Protocols/TIMAppBackgroundMonitor.swift",
        "Protocols/TIMAuth.swift",
        "Protocols/TIMDataStorage.swift",
        "TIM.swift",
        "TIMInternal/TIMAppBackgroundMonitorDefault.swift",
        "TIMInternal/TIMAuthDefault.swift",
        "TIMInternal/TIMDataStorageDefault.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/openid/AppAuth-iOS
Fetching https://github.com/trifork/TIMEncryptedStorage-iOS
[1/490] Fetching timencryptedstorage-ios
[491/9588] Fetching timencryptedstorage-ios, appauth-ios
Fetched https://github.com/trifork/TIMEncryptedStorage-iOS from cache (0.30s)
[1183/9098] Fetching appauth-ios
Fetched https://github.com/openid/AppAuth-iOS from cache (0.57s)
Computing version for https://github.com/trifork/TIMEncryptedStorage-iOS
Computed https://github.com/trifork/TIMEncryptedStorage-iOS at 2.2.3 (1.11s)
Computing version for https://github.com/openid/AppAuth-iOS
Computed https://github.com/openid/AppAuth-iOS at 1.7.6 (0.79s)
Creating working copy for https://github.com/trifork/TIMEncryptedStorage-iOS
Working copy of https://github.com/trifork/TIMEncryptedStorage-iOS resolved at 2.2.3
Creating working copy for https://github.com/openid/AppAuth-iOS
Working copy of https://github.com/openid/AppAuth-iOS resolved at 1.7.6
Building for debugging...
[0/15] Write sources
[2/15] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/15] Compiling OIDAuthorizationService+Mac.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/15] Compiling OIDRedirectHTTPHandler.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/15] Compiling OIDExternalUserAgentMac.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/15] Compiling AppAuth resource_bundle_accessor.m
[3/15] Compiling OIDExternalUserAgentIOSCustomBrowser.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/15] Compiling OIDLoopbackHTTPServer.m
[3/15] Compiling OIDAuthState+Mac.m
[3/15] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/12] Compiling OIDRedirectHTTPHandler.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/12] Compiling OIDExternalUserAgentMac.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/12] Compiling OIDLoopbackHTTPServer.m
[0/12] Compiling OIDExternalUserAgentIOSCustomBrowser.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/12] Compiling OIDAuthState+Mac.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    [0/12] Compiling OIDAuthorizationService+Mac.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/AppAuth.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation[0/12] Compiling AppAuth resource_bundle_accessor.m
[0/12] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android