The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NerdzNetworking, reference 2.0.2 (2e5465), with Swift 6.1 for Wasm on 29 May 2025 10:59:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/nerdzlab/NerdzNetworking.git
Reference: 2.0.2
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/nerdzlab/NerdzNetworking
 * tag               2.0.2      -> FETCH_HEAD
HEAD is now at 2e54650 - updated podspec;
Cloned https://github.com/nerdzlab/NerdzNetworking.git
Revision (git rev-parse @):
2e54650dc3b71be7d9464bc1e4be38eeadb580b8
SUCCESS checkout https://github.com/nerdzlab/NerdzNetworking.git at 2.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nerdzlab/NerdzNetworking.git
https://github.com/nerdzlab/NerdzNetworking.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "trustkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.4",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/datatheorem/TrustKit.git"
    }
  ],
  "manifest_display_name" : "NerdzNetworking",
  "name" : "NerdzNetworking",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "NerdzNetworking",
      "targets" : [
        "NerdzNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NerdzNetworking",
      "module_type" : "SwiftTarget",
      "name" : "NerdzNetworking",
      "path" : "Sources/NerdzNetworking",
      "product_dependencies" : [
        "TrustKit"
      ],
      "product_memberships" : [
        "NerdzNetworking"
      ],
      "sources" : [
        "Core/Endpoint.swift",
        "Core/ExecutionOperation.swift",
        "Core/ObservationManager.swift",
        "Core/RequestDataDispatcher.swift",
        "Core/RequestExecuter.swift",
        "Core/RequestExecutionWrapper.swift",
        "Core/RequestFactory.swift",
        "Core/RequestRetryingManager.swift",
        "Mapping/DataMappable/Data+DataMappable.swift",
        "Mapping/DataMappable/String+DataMappable.swift",
        "Mapping/Mapper.swift",
        "Mapping/NoDataMappable/Data+NoDataMappable.swift",
        "Mapping/NoDataMappable/Empty+NoDataMappable.swift",
        "Mapping/NoDataMappable/Optional+NoDataMappable.swift",
        "Mapping/NoDataMappable/String+NoDataMappable.swift",
        "Mapping/ResponseConverters/ClosureResponseConverter.swift",
        "Mapping/ResponseConverters/KeyPathResponseConverter.swift",
        "Mapping/ResponseConverters/ResponseJsonConverter.swift",
        "Models/DebugInfo.swift",
        "Models/Default/DefaultRequest.swift",
        "Models/Default/DefaultRequestData.swift",
        "Models/Default/Multipart/DefaultMultipartFile.swift",
        "Models/Default/Multipart/DefaultMultipartFormDataRequest.swift",
        "Models/Default/Multipart/DefaultMultipartRequestData.swift",
        "Models/Default/RequestRetriers/AuthTokenRetrier.swift",
        "Models/Default/RequestRetriers/RequestFailureRetrier.swift",
        "Models/Default/Responses/Empty.swift",
        "Models/Default/Responses/Status.swift",
        "Models/DescriptiveDecodingError.swift",
        "Models/ErrorResponse.swift",
        "Models/HTTPMethod.swift",
        "Models/Headers/AuthToken.swift",
        "Models/Headers/Dictionary+RequestHeader.swift",
        "Models/Headers/RequestHeaderKey.swift",
        "Models/Internal/InternalMultipartRequestData.swift",
        "Models/Internal/InternalRequestData.swift",
        "Models/MimeType.swift",
        "Models/Multipart/MultipartRequestData+Create.swift",
        "Models/Multipart/MultipartRequestData.swift",
        "Models/Multipart/MultipartResourceConvertable/DefaultSolutions/Data+MultipartResourceConvertable.swift",
        "Models/Multipart/MultipartResourceConvertable/DefaultSolutions/InputStream+MultipartResourceConvertible.swift",
        "Models/Multipart/MultipartResourceConvertable/DefaultSolutions/String+MultipartResourceConvertible.swift",
        "Models/Multipart/MultipartResourceConvertable/DefaultSolutions/URL+MultipartResourceConvertable.swift",
        "Models/Multipart/MultipartResourceConvertable/MultipartResourceConvertable.swift",
        "Models/Multipart/SerialInputStream.swift",
        "Models/Protocols/DataMappable.swift",
        "Models/Protocols/DispatchOperation.swift",
        "Models/Protocols/MultipartFormDataRequest.swift",
        "Models/Protocols/NoDataMappable.swift",
        "Models/Protocols/Request.swift",
        "Models/Protocols/RequestData.swift",
        "Models/Protocols/RequestRetrier/OnRequestRequestRetrier.swift",
        "Models/Protocols/RequestRetrier/OnServerErrorRequestRetrier.swift",
        "Models/Protocols/RequestRetrier/OnStatusCodesRequestRetrier.swift",
        "Models/Protocols/RequestRetrier/RequestRetrier.swift",
        "Models/Protocols/ServerError.swift",
        "Models/Protocols/TokenContainer.swift",
        "Models/RequestBody.swift",
        "Models/StatusCode.swift",
        "Tools/Extensions/URLRequest+cURL.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/datatheorem/TrustKit.git
[1/7037] Fetching trustkit
Fetched https://github.com/datatheorem/TrustKit.git from cache (0.70s)
Computing version for https://github.com/datatheorem/TrustKit.git
Computed https://github.com/datatheorem/TrustKit.git at 3.0.6 (1.85s)
Creating working copy for https://github.com/datatheorem/TrustKit.git
Working copy of https://github.com/datatheorem/TrustKit.git resolved at 3.0.6
Building for debugging...
[0/25] Copying PrivacyInfo.xcprivacy
[1/25] Write sources
[2/25] Write swift-version-24593BA9C3E375BF.txt
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.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/25] Compiling TrustKit resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.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/25] Compiling TrustKit TSKPinningValidatorResult.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.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/25] Compiling TrustKit TrustKit.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/25] Compiling TrustKit TSKTrustKitConfig.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.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/25] Compiling TSKNSURLSessionDelegateProxy.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/25] Compiling TrustKit parse_configuration.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1[3/25] Compiling TrustKit TSKPinningValidator.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/25] Compiling TrustKit configuration_utils.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/TrustKit.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/23] Compiling TrustKit TrustKit.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.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/23] Compiling TrustKit TSKTrustKitConfig.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.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/23] Compiling TrustKit configuration_utils.m
[0/23] Compiling TSKNSURLSessionDelegateProxy.m
[0/23] Compiling TrustKit TSKPinningValidator.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.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/23] Compiling TrustKit TSKPinningValidatorResult.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/TrustKit.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/23] Compiling TrustKit parse_configuration.m
[0/23] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm