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 TIM, reference 2.9.3 (1dae1b), with Swift 6.1 for Wasm on 30 May 2025 00:48:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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:         wasm
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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.71s)
Fetched https://github.com/openid/AppAuth-iOS from cache (0.72s)
Computing version for https://github.com/trifork/TIMEncryptedStorage-iOS
Computed https://github.com/trifork/TIMEncryptedStorage-iOS at 2.2.3 (1.36s)
Computing version for https://github.com/openid/AppAuth-iOS
Computed https://github.com/openid/AppAuth-iOS at 1.7.6 (0.62s)
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/wasm32-unknown-wasi/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/wasm32-unknown-wasi/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/wasm32-unknown-wasi/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 OIDAuthState+Mac.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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
[3/15] Compiling OIDLoopbackHTTPServer.m
[3/15] Compiling AppAuth resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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 OIDExternalUserAgentIOSCustomBrowser.m
[3/15] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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 OIDAuthorizationService+Mac.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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 OIDAuthState+Mac.m
[0/12] Compiling OIDExternalUserAgentMac.m
[0/12] Compiling OIDRedirectHTTPHandler.m
[0/12] Compiling OIDExternalUserAgentIOSCustomBrowser.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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 AppAuth resource_bundle_accessor.m
[0/12] Compiling OIDLoopbackHTTPServer.m
[0/12] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm