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 AppAuth, reference master (145104), with Swift 6.1 for Wasm on 30 May 2025 21:37:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/openid/AppAuth-iOS.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/openid/AppAuth-iOS
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 145104f Prepare for 2.0.0 release. (#921)
Cloned https://github.com/openid/AppAuth-iOS.git
Revision (git rev-parse @):
145104f5ea9d58ae21b60add007c33c1cc0c948e
SUCCESS checkout https://github.com/openid/AppAuth-iOS.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/openid/AppAuth-iOS.git
https://github.com/openid/AppAuth-iOS.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AppAuth",
  "name" : "AppAuth",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "AppAuthCore",
      "targets" : [
        "AppAuthCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AppAuth",
      "targets" : [
        "AppAuth"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AppAuthTV",
      "targets" : [
        "AppAuthTV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppAuthTVTests",
      "module_type" : "ClangTarget",
      "name" : "AppAuthTVTests",
      "path" : "UnitTests/AppAuthTV",
      "sources" : [
        "OIDTVAuthorizationRequestTests.m",
        "OIDTVAuthorizationResponseTests.m",
        "OIDTVTokenRequestTests.m"
      ],
      "target_dependencies" : [
        "AppAuthTV"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppAuthTV",
      "module_type" : "ClangTarget",
      "name" : "AppAuthTV",
      "path" : "Sources/AppAuthTV",
      "product_memberships" : [
        "AppAuthTV"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/AppAuthTV/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "OIDTVAuthorizationRequest.m",
        "OIDTVAuthorizationResponse.m",
        "OIDTVAuthorizationService.m",
        "OIDTVServiceConfiguration.m",
        "OIDTVTokenRequest.m"
      ],
      "target_dependencies" : [
        "AppAuthCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppAuthCoreTests",
      "module_type" : "ClangTarget",
      "name" : "AppAuthCoreTests",
      "path" : "UnitTests",
      "sources" : [
        "OIDAuthStateTests.m",
        "OIDAuthorizationRequestTests.m",
        "OIDAuthorizationResponseTests.m",
        "OIDEndSessionRequestTests.m",
        "OIDGrantTypesTests.m",
        "OIDRPProfileCode.m",
        "OIDRegistrationRequestTests.m",
        "OIDRegistrationResponseTests.m",
        "OIDResponseTypesTests.m",
        "OIDScopesTests.m",
        "OIDServiceConfigurationTests.m",
        "OIDServiceDiscoveryTests.m",
        "OIDTokenRequestTests.m",
        "OIDTokenResponseTests.m",
        "OIDTokenUtilitiesTests.m",
        "OIDURLQueryComponentTests.m",
        "OIDURLQueryComponentTestsIOS7.m",
        "OIDURLSessionProviderTests.m"
      ],
      "target_dependencies" : [
        "AppAuthCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppAuthCoreSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "AppAuthCoreSwiftTests",
      "path" : "UnitTests",
      "sources" : [
        "OIDSwiftTests.swift"
      ],
      "target_dependencies" : [
        "AppAuthCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppAuthCore",
      "module_type" : "ClangTarget",
      "name" : "AppAuthCore",
      "path" : "Sources/AppAuthCore",
      "product_memberships" : [
        "AppAuthCore",
        "AppAuth",
        "AppAuthTV"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/AppAuthCore/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "OIDAuthState.m",
        "OIDAuthorizationRequest.m",
        "OIDAuthorizationResponse.m",
        "OIDAuthorizationService.m",
        "OIDClientMetadataParameters.m",
        "OIDEndSessionRequest.m",
        "OIDEndSessionResponse.m",
        "OIDError.m",
        "OIDErrorUtilities.m",
        "OIDFieldMapping.m",
        "OIDGrantTypes.m",
        "OIDIDToken.m",
        "OIDRegistrationRequest.m",
        "OIDRegistrationResponse.m",
        "OIDResponseTypes.m",
        "OIDScopeUtilities.m",
        "OIDScopes.m",
        "OIDServiceConfiguration.m",
        "OIDServiceDiscovery.m",
        "OIDTokenRequest.m",
        "OIDTokenResponse.m",
        "OIDTokenUtilities.m",
        "OIDURLQueryComponent.m",
        "OIDURLSessionProvider.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppAuth",
      "module_type" : "ClangTarget",
      "name" : "AppAuth",
      "path" : "Sources/AppAuth",
      "product_memberships" : [
        "AppAuth"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/AppAuth/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "iOS/OIDAuthState+IOS.m",
        "iOS/OIDAuthorizationService+IOS.m",
        "iOS/OIDExternalUserAgentCatalyst.m",
        "iOS/OIDExternalUserAgentIOS.m",
        "iOS/OIDExternalUserAgentIOSCustomBrowser.m",
        "macOS/LoopbackHTTPServer/OIDLoopbackHTTPServer.m",
        "macOS/OIDAuthState+Mac.m",
        "macOS/OIDAuthorizationService+Mac.m",
        "macOS/OIDExternalUserAgentMac.m",
        "macOS/OIDRedirectHTTPHandler.m"
      ],
      "target_dependencies" : [
        "AppAuthCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
warning: 'spi-builder-workspace': ignoring target 'AppAuthTVTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppAuthCoreTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
warning: 'spi-builder-workspace': ignoring target 'AppAuthTVTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppAuthCoreTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/45] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppAuthCore.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/45] Compiling AppAuthCore OIDURLSessionProvider.m
[3/45] Compiling AppAuthCore OIDServiceDiscovery.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppAuthTV.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/45] Compiling AppAuthTV resource_bundle_accessor.m
[3/45] Compiling AppAuthCore OIDServiceConfiguration.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppAuthCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/45] Compiling AppAuthCore OIDTokenResponse.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppAuthCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/45] Compiling AppAuthCore OIDTokenRequest.m
[3/45] Compiling AppAuthCore OIDURLQueryComponent.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppAuthCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/45] Compiling AppAuthCore OIDTokenUtilities.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
warning: 'spi-builder-workspace': ignoring target 'AppAuthTVTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppAuthCoreTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': found 22 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/UnitTests/AppAuthTV/OIDTVAuthorizationRequestTests.m
    /host/spi-builder-workspace/UnitTests/OIDURLQueryComponentTestsIOS7.m
    /host/spi-builder-workspace/UnitTests/OIDURLSessionProviderTests.m
    /host/spi-builder-workspace/UnitTests/OIDGrantTypesTests.m
    /host/spi-builder-workspace/UnitTests/OIDEndSessionRequestTests.m
    /host/spi-builder-workspace/UnitTests/OIDRegistrationRequestTests.m
    /host/spi-builder-workspace/UnitTests/OIDResponseTypesTests.m
    /host/spi-builder-workspace/UnitTests/OIDRegistrationResponseTests.m
    /host/spi-builder-workspace/UnitTests/OIDScopesTests.m
    /host/spi-builder-workspace/UnitTests/OIDServiceDiscoveryTests.m
    /host/spi-builder-workspace/UnitTests/OIDAuthorizationRequestTests.m
    /host/spi-builder-workspace/UnitTests/AppAuthTV/OIDTVAuthorizationResponseTests.m
    /host/spi-builder-workspace/UnitTests/OIDAuthStateTests.m
    /host/spi-builder-workspace/UnitTests/AppAuthTV/OIDTVTokenRequestTests.m
    /host/spi-builder-workspace/UnitTests/OIDAuthorizationResponseTests.m
    /host/spi-builder-workspace/UnitTests/OIDTokenResponseTests.m
    /host/spi-builder-workspace/UnitTests/OIDTokenRequestTests.m
    /host/spi-builder-workspace/UnitTests/OIDTokenUtilitiesTests.m
    /host/spi-builder-workspace/UnitTests/OIDURLQueryComponentTests.m
    /host/spi-builder-workspace/UnitTests/UnitTestsInfo.plist
    /host/spi-builder-workspace/UnitTests/OIDServiceConfigurationTests.m
    /host/spi-builder-workspace/UnitTests/OIDRPProfileCode.m
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppAuthCore.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/42] Compiling AppAuthCore OIDTokenUtilities.m
[0/42] Compiling AppAuth resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppAuthCore.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/42] Compiling AppAuthCore OIDURLSessionProvider.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/42] Compiling OIDAuthorizationService+Mac.m
[0/42] 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.
[0/42] Compiling OIDAuthState+Mac.m
[0/42] Compiling OIDExternalUserAgentMac.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/AppAuthCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/42] Compiling AppAuthCore OIDURLQueryComponent.m
BUILD FAILURE 6.1 wasm