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 tripadvisor-swift, reference main (1b432a), with Swift 6.1 for Wasm on 2 Dec 2025 07:08:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zunda-pixel/tripadvisor-swift.git
Reference: main
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/zunda-pixel/tripadvisor-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1b432a5 Bump actions/checkout from 5 to 6 (#37)
Cloned https://github.com/zunda-pixel/tripadvisor-swift.git
Revision (git rev-parse @):
1b432a535ee11e5555c3b1f8e8b7a1f4cec86250
SUCCESS checkout https://github.com/zunda-pixel/tripadvisor-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/zunda-pixel/tripadvisor-swift.git
https://github.com/zunda-pixel/tripadvisor-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types"
    },
    {
      "identity" : "swift-tagged",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-tagged"
    },
    {
      "identity" : "swift-currency",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/zunda-pixel/swift-currency"
    },
    {
      "identity" : "http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/zunda-pixel/http-client"
    }
  ],
  "manifest_display_name" : "tripadvisor-swift",
  "name" : "tripadvisor-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "TripadvisorKit",
      "targets" : [
        "TripadvisorKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TripadvisorKitTests",
      "module_type" : "SwiftTarget",
      "name" : "TripadvisorKitTests",
      "path" : "Tests/TripadvisorKitTests",
      "sources" : [
        "TripadvisorKitTests.swift"
      ],
      "target_dependencies" : [
        "TripadvisorKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TripadvisorKit",
      "module_type" : "SwiftTarget",
      "name" : "TripadvisorKit",
      "path" : "Sources/TripadvisorKit",
      "product_dependencies" : [
        "HTTPTypes",
        "HTTPTypesFoundation",
        "Tagged",
        "Currency",
        "HTTPClient"
      ],
      "product_memberships" : [
        "TripadvisorKit"
      ],
      "sources" : [
        "API/Category.swift",
        "API/Language.swift",
        "API/LocationDetail.swift",
        "API/LocationPhotos.swift",
        "API/LocationPoint.swift",
        "API/LocationReviews.swift",
        "API/PhotoSourceFilter.swift",
        "API/Radius.swift",
        "API/SearchLocation.swift",
        "API/SearchNearLocation.swift",
        "Constants.swift",
        "JSONDecoder++.swift",
        "Model/Address.swift",
        "Model/Ancestor.swift",
        "Model/Hours.swift",
        "Model/Image.swift",
        "Model/LabelContent.swift",
        "Model/Location.swift",
        "Model/Period.swift",
        "Model/Photo.swift",
        "Model/Ranking.swift",
        "Model/Review.swift",
        "Model/User.swift",
        "Request/LocationDetailRequest.swift",
        "Request/LocationPhotosRequest.swift",
        "Request/LocationReviewsRequest.swift",
        "Request/Request.swift",
        "Request/SearchLocationsRequest.swift",
        "Request/SearchNearLocationsRequest.swift",
        "Response/LocationsResponse.swift",
        "Response/PhotosResponse.swift",
        "Response/ReviewsResponse.swift",
        "TripadvisorKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/pointfreeco/swift-tagged
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/zunda-pixel/swift-currency
Fetching https://github.com/zunda-pixel/http-client
[1/18] Fetching swift-currency
[19/961] Fetching swift-currency, swift-http-types
[86/1117] Fetching swift-currency, swift-http-types, http-client
[1118/2335] Fetching swift-currency, swift-http-types, http-client, swift-tagged
Fetched https://github.com/apple/swift-http-types from cache (0.26s)
Fetched https://github.com/zunda-pixel/http-client from cache (0.26s)
Fetched https://github.com/zunda-pixel/swift-currency from cache (0.27s)
Fetched https://github.com/pointfreeco/swift-tagged from cache (0.27s)
Computing version for https://github.com/zunda-pixel/swift-currency
Computed https://github.com/zunda-pixel/swift-currency at 0.0.1 (0.83s)
Computing version for https://github.com/pointfreeco/swift-tagged
Computed https://github.com/pointfreeco/swift-tagged at 0.10.0 (2.75s)
Computing version for https://github.com/zunda-pixel/http-client
Computed https://github.com/zunda-pixel/http-client at 0.3.1 (0.72s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (1.85s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.1
Creating working copy for https://github.com/pointfreeco/swift-tagged
Working copy of https://github.com/pointfreeco/swift-tagged resolved at 0.10.0
Creating working copy for https://github.com/zunda-pixel/swift-currency
Working copy of https://github.com/zunda-pixel/swift-currency resolved at 0.0.1
Creating working copy for https://github.com/zunda-pixel/http-client
Working copy of https://github.com/zunda-pixel/http-client resolved at 0.3.1
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/21] Compiling HTTPTypes ISOLatin1String.swift
[9/22] Emitting module Currency
[10/22] Compiling Currency Currency.swift
[11/23] Compiling HTTPTypes HTTPParsedFields.swift
[12/23] Compiling HTTPTypes HTTPRequest.swift
[13/23] Compiling HTTPTypes HTTPResponse.swift
[15/23] Compiling HTTPTypes NIOLock.swift
[16/23] Compiling HTTPTypes HTTPRequest+URL.swift
[17/23] Compiling Tagged UUID.swift
[18/23] Compiling Tagged Tagged.swift
[19/23] Emitting module Tagged
[21/24] Emitting module HTTPTypes
[22/24] Compiling HTTPTypes HTTPFields.swift
[23/24] Compiling HTTPTypes HTTPField.swift
[24/24] Compiling HTTPTypes HTTPFieldName.swift
[26/31] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 49 |
 50 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 51 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 52 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 53 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
153 |
154 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
155 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
156 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:59:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 57 |     public func data(
 58 |         for request: HTTPRequest,
 59 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 60 |     ) async throws -> (Data, HTTPResponse) {
 61 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:80:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 78 |         for request: HTTPRequest,
 79 |         fromFile fileURL: URL,
 80 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 81 |     ) async throws -> (Data, HTTPResponse) {
 82 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:101:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 99 |         for request: HTTPRequest,
100 |         from bodyData: Data,
101 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
102 |     ) async throws -> (Data, HTTPResponse) {
103 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:120:19: error: cannot find type 'URLSessionTaskDelegate' in scope
118 |     public func download(
119 |         for request: HTTPRequest,
120 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
121 |     ) async throws -> (URL, HTTPResponse) {
122 |         guard let urlRequest = URLRequest(httpRequest: request) else {
[27/31] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[28/31] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/31] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[30/31] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[31/31] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 49 |
 50 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 51 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 52 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 53 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
153 |
154 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
155 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
156 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 |     ///
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Tagged UUID.swift
[3/15] Compiling Currency Currency.swift
[4/15] Emitting module Currency
[6/16] Compiling HTTPTypes HTTPRequest+URL.swift
[7/16] Compiling Tagged Tagged.swift
[8/16] Emitting module Tagged
[9/18] Compiling HTTPTypes ISOLatin1String.swift
[11/18] Compiling HTTPTypes HTTPParsedFields.swift
[12/18] Compiling HTTPTypes NIOLock.swift
[13/18] Emitting module HTTPTypes
[14/18] Compiling HTTPTypes HTTPResponse.swift
[15/18] Compiling HTTPTypes HTTPRequest.swift
[16/18] Compiling HTTPTypes HTTPFields.swift
[17/18] Compiling HTTPTypes HTTPField.swift
[18/18] Compiling HTTPTypes HTTPFieldName.swift
[20/25] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 49 |
 50 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 51 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 52 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 53 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
153 |
154 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
155 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
156 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:59:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 57 |     public func data(
 58 |         for request: HTTPRequest,
 59 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 60 |     ) async throws -> (Data, HTTPResponse) {
 61 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:80:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 78 |         for request: HTTPRequest,
 79 |         fromFile fileURL: URL,
 80 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 81 |     ) async throws -> (Data, HTTPResponse) {
 82 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:101:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 99 |         for request: HTTPRequest,
100 |         from bodyData: Data,
101 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
102 |     ) async throws -> (Data, HTTPResponse) {
103 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:120:19: error: cannot find type 'URLSessionTaskDelegate' in scope
118 |     public func download(
119 |         for request: HTTPRequest,
120 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
121 |     ) async throws -> (URL, HTTPResponse) {
122 |         guard let urlRequest = URLRequest(httpRequest: request) else {
[21/25] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/25] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[23/25] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[24/25] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[25/25] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 49 |
 50 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 51 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 52 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 53 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
153 |
154 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
155 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
156 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 |     ///
BUILD FAILURE 6.1 wasm