The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Janus, reference 0.0.7 (b40602), with Swift 6.1 for Wasm on 27 May 2025 19:31:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/amarantedaniel/JanusSwift.git
Reference: 0.0.7
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/amarantedaniel/JanusSwift
 * tag               0.0.7      -> FETCH_HEAD
HEAD is now at b406022 Add support to keepalive requests
Cloned https://github.com/amarantedaniel/JanusSwift.git
Revision (git rev-parse @):
b4060229d323d64680d5829197c4a3e26000fdfc
SUCCESS checkout https://github.com/amarantedaniel/JanusSwift.git at 0.0.7
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/amarantedaniel/JanusSwift.git
https://github.com/amarantedaniel/JanusSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Janus",
  "name" : "Janus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Janus",
      "targets" : [
        "Janus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JanusTests",
      "module_type" : "SwiftTarget",
      "name" : "JanusTests",
      "path" : "Tests/JanusTests",
      "sources" : [
        "JanusAPITests.swift",
        "Stub/APIClientStub.swift"
      ],
      "target_dependencies" : [
        "Janus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Janus",
      "module_type" : "SwiftTarget",
      "name" : "Janus",
      "path" : "Sources/Janus",
      "product_memberships" : [
        "Janus"
      ],
      "sources" : [
        "API/APIClient.swift",
        "API/APIClientProtocol.swift",
        "API/APIError.swift",
        "API/APIRoute.swift",
        "API/URLRequestConvertible.swift",
        "Data/JSEP.swift",
        "Data/Plugin.swift",
        "Data/Request/AttachPluginRequest.swift",
        "Data/Request/CreateRequest.swift",
        "Data/Request/KeepAliveRequest.swift",
        "Data/Request/Streaming/ListRequest.swift",
        "Data/Request/Streaming/StartRequest.swift",
        "Data/Request/Streaming/WatchRequest.swift",
        "Data/Request/TrickleRequest.swift",
        "Data/Response/AttachPluginResponse.swift",
        "Data/Response/CreateResponse.swift",
        "Data/Response/KeepAliveResponse.swift",
        "Data/Response/Streaming/ListResult.swift",
        "Data/Response/Streaming/LongPollStartResult.swift",
        "Data/Response/Streaming/LongPollWatchResult.swift",
        "Data/Response/Streaming/StartResponse.swift",
        "Data/Response/Streaming/WatchResponse.swift",
        "Data/Response/TrickleResponse.swift",
        "JanusAPI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/24] Emitting module Janus
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
[4/27] Compiling Janus APIRoute.swift
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:66:26: error: cannot find 'URLRequest' in scope
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
   |                          `- error: cannot find 'URLRequest' in scope
67 |         urlRequest.httpMethod = method
68 |         urlRequest.httpBody = body
[5/27] Compiling Janus URLRequestConvertible.swift
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:66:26: error: cannot find 'URLRequest' in scope
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
   |                          `- error: cannot find 'URLRequest' in scope
67 |         urlRequest.httpMethod = method
68 |         urlRequest.httpBody = body
[6/27] Compiling Janus JSEP.swift
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:66:26: error: cannot find 'URLRequest' in scope
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
   |                          `- error: cannot find 'URLRequest' in scope
67 |         urlRequest.httpMethod = method
68 |         urlRequest.httpBody = body
[7/27] Compiling Janus WatchRequest.swift
[8/27] Compiling Janus TrickleRequest.swift
[9/27] Compiling Janus AttachPluginResponse.swift
[10/27] Compiling Janus LongPollStartResult.swift
[11/27] Compiling Janus LongPollWatchResult.swift
[12/27] Compiling Janus StartResponse.swift
[13/27] Compiling Janus APIClient.swift
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:9:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |         let decoder = JSONDecoder()
 8 |         decoder.keyDecodingStrategy = .convertFromSnakeCase
 9 |         let task = URLSession.shared.dataTask(with: route.asURLRequest(baseUrl: baseUrl)) { data, _, _ in
   |                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |             do {
11 |                 let response = try decoder.decode(T.self, from: data!)
[14/27] Compiling Janus APIClientProtocol.swift
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:9:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |         let decoder = JSONDecoder()
 8 |         decoder.keyDecodingStrategy = .convertFromSnakeCase
 9 |         let task = URLSession.shared.dataTask(with: route.asURLRequest(baseUrl: baseUrl)) { data, _, _ in
   |                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |             do {
11 |                 let response = try decoder.decode(T.self, from: data!)
[15/27] Compiling Janus APIError.swift
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:9:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |         let decoder = JSONDecoder()
 8 |         decoder.keyDecodingStrategy = .convertFromSnakeCase
 9 |         let task = URLSession.shared.dataTask(with: route.asURLRequest(baseUrl: baseUrl)) { data, _, _ in
   |                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |             do {
11 |                 let response = try decoder.decode(T.self, from: data!)
[16/27] Compiling Janus WatchResponse.swift
/host/spi-builder-workspace/Sources/Janus/Data/Response/Streaming/WatchResponse.swift:4:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
2 |
3 | struct WatchResponse: Decodable {
4 |     let janus = "ack"
  |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
  |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'janus' case to silence this warning
  |         `- note: make the property mutable instead
5 |     let sessionId: Int
6 |     let transaction: String
[17/27] Compiling Janus TrickleResponse.swift
/host/spi-builder-workspace/Sources/Janus/Data/Response/Streaming/WatchResponse.swift:4:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
2 |
3 | struct WatchResponse: Decodable {
4 |     let janus = "ack"
  |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
  |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'janus' case to silence this warning
  |         `- note: make the property mutable instead
5 |     let sessionId: Int
6 |     let transaction: String
[18/27] Compiling Janus JanusAPI.swift
/host/spi-builder-workspace/Sources/Janus/Data/Response/Streaming/WatchResponse.swift:4:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
2 |
3 | struct WatchResponse: Decodable {
4 |     let janus = "ack"
  |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
  |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'janus' case to silence this warning
  |         `- note: make the property mutable instead
5 |     let sessionId: Int
6 |     let transaction: String
[19/27] Compiling Janus Plugin.swift
[20/27] Compiling Janus AttachPluginRequest.swift
[21/27] Compiling Janus CreateRequest.swift
[22/27] Compiling Janus KeepAliveRequest.swift
[23/27] Compiling Janus ListRequest.swift
[24/27] Compiling Janus StartRequest.swift
[25/27] Compiling Janus CreateResponse.swift
[26/27] Compiling Janus KeepAliveResponse.swift
[27/27] Compiling Janus ListResult.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling Janus APIClient.swift
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:9:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |         let decoder = JSONDecoder()
 8 |         decoder.keyDecodingStrategy = .convertFromSnakeCase
 9 |         let task = URLSession.shared.dataTask(with: route.asURLRequest(baseUrl: baseUrl)) { data, _, _ in
   |                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |             do {
11 |                 let response = try decoder.decode(T.self, from: data!)
[3/23] Compiling Janus APIClientProtocol.swift
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:9:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |         let decoder = JSONDecoder()
 8 |         decoder.keyDecodingStrategy = .convertFromSnakeCase
 9 |         let task = URLSession.shared.dataTask(with: route.asURLRequest(baseUrl: baseUrl)) { data, _, _ in
   |                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |             do {
11 |                 let response = try decoder.decode(T.self, from: data!)
[4/23] Compiling Janus APIError.swift
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:9:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |         let decoder = JSONDecoder()
 8 |         decoder.keyDecodingStrategy = .convertFromSnakeCase
 9 |         let task = URLSession.shared.dataTask(with: route.asURLRequest(baseUrl: baseUrl)) { data, _, _ in
   |                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |             do {
11 |                 let response = try decoder.decode(T.self, from: data!)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/26] Emitting module Janus
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
[6/26] Compiling Janus LongPollStartResult.swift
[7/26] Compiling Janus LongPollWatchResult.swift
[8/26] Compiling Janus StartResponse.swift
[9/26] Compiling Janus Plugin.swift
[10/26] Compiling Janus AttachPluginRequest.swift
[11/26] Compiling Janus CreateRequest.swift
[12/26] Compiling Janus KeepAliveRequest.swift
[13/26] Compiling Janus ListRequest.swift
[14/26] Compiling Janus StartRequest.swift
[15/26] Compiling Janus CreateResponse.swift
[16/26] Compiling Janus KeepAliveResponse.swift
[17/26] Compiling Janus ListResult.swift
[18/26] Compiling Janus WatchRequest.swift
[19/26] Compiling Janus TrickleRequest.swift
[20/26] Compiling Janus AttachPluginResponse.swift
[21/26] Compiling Janus APIRoute.swift
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:66:26: error: cannot find 'URLRequest' in scope
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
   |                          `- error: cannot find 'URLRequest' in scope
67 |         urlRequest.httpMethod = method
68 |         urlRequest.httpBody = body
[22/26] Compiling Janus URLRequestConvertible.swift
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:66:26: error: cannot find 'URLRequest' in scope
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
   |                          `- error: cannot find 'URLRequest' in scope
67 |         urlRequest.httpMethod = method
68 |         urlRequest.httpBody = body
[23/26] Compiling Janus JSEP.swift
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:65:40: error: cannot find type 'URLRequest' in scope
63 |     }
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
   |                                        `- error: cannot find type 'URLRequest' in scope
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
67 |         urlRequest.httpMethod = method
/host/spi-builder-workspace/Sources/Janus/API/URLRequestConvertible.swift:4:40: error: cannot find type 'URLRequest' in scope
2 |
3 | protocol URLRequestConvertible {
4 |     func asURLRequest(baseUrl: URL) -> URLRequest
  |                                        `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Janus/API/APIRoute.swift:66:26: error: cannot find 'URLRequest' in scope
64 |
65 |     func asURLRequest(baseUrl: URL) -> URLRequest {
66 |         var urlRequest = URLRequest(url: url(baseUrl: baseUrl))
   |                          `- error: cannot find 'URLRequest' in scope
67 |         urlRequest.httpMethod = method
68 |         urlRequest.httpBody = body
[24/26] Compiling Janus WatchResponse.swift
/host/spi-builder-workspace/Sources/Janus/Data/Response/Streaming/WatchResponse.swift:4:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
2 |
3 | struct WatchResponse: Decodable {
4 |     let janus = "ack"
  |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
  |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'janus' case to silence this warning
  |         `- note: make the property mutable instead
5 |     let sessionId: Int
6 |     let transaction: String
[25/26] Compiling Janus TrickleResponse.swift
/host/spi-builder-workspace/Sources/Janus/Data/Response/Streaming/WatchResponse.swift:4:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
2 |
3 | struct WatchResponse: Decodable {
4 |     let janus = "ack"
  |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
  |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'janus' case to silence this warning
  |         `- note: make the property mutable instead
5 |     let sessionId: Int
6 |     let transaction: String
[26/26] Compiling Janus JanusAPI.swift
/host/spi-builder-workspace/Sources/Janus/Data/Response/Streaming/WatchResponse.swift:4:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
2 |
3 | struct WatchResponse: Decodable {
4 |     let janus = "ack"
  |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
  |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'janus' case to silence this warning
  |         `- note: make the property mutable instead
5 |     let sessionId: Int
6 |     let transaction: String
BUILD FAILURE 6.1 wasm