Build Information
Failed to build Janus, reference 0.0.7 (b40602), with Swift 6.3 for Linux on 11 Apr 2026 17:40:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/amarantedaniel/JanusSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Compiling Janus WatchRequest.swift
[4/24] Compiling Janus TrickleRequest.swift
[5/24] Compiling Janus AttachPluginResponse.swift
[6/24] Compiling Janus CreateResponse.swift
[7/24] Compiling Janus KeepAliveResponse.swift
[8/24] Compiling Janus ListResult.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/24] Compiling Janus KeepAliveRequest.swift
[10/24] Compiling Janus ListRequest.swift
[11/24] Compiling Janus StartRequest.swift
[12/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 |
[13/24] 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
[14/24] 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
[15/24] 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
[16/27] Compiling Janus Plugin.swift
[17/27] Compiling Janus AttachPluginRequest.swift
[18/27] Compiling Janus CreateRequest.swift
[19/27] Compiling Janus LongPollStartResult.swift
[20/27] Compiling Janus LongPollWatchResult.swift
[21/27] Compiling Janus StartResponse.swift
[22/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!)
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:14:36: error: generic parameter 'C' could not be inferred
12 | completion(.success(response))
13 | } catch {
14 | let jsonResponse = String(decoding: data!, as: UTF8.self)
| `- error: generic parameter 'C' could not be inferred
15 | print(jsonResponse)
16 | completion(.failure(.error(jsonResponse)))
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<C, Encoding>(decoding codeUnits: C, as sourceEncoding: Encoding.Type) where C : Collection, Encoding : _UnicodeEncoding, C.Element == Encoding.CodeUnit}
| `- note: in call to initializer
3 |
[23/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!)
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:14:36: error: generic parameter 'C' could not be inferred
12 | completion(.success(response))
13 | } catch {
14 | let jsonResponse = String(decoding: data!, as: UTF8.self)
| `- error: generic parameter 'C' could not be inferred
15 | print(jsonResponse)
16 | completion(.failure(.error(jsonResponse)))
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<C, Encoding>(decoding codeUnits: C, as sourceEncoding: Encoding.Type) where C : Collection, Encoding : _UnicodeEncoding, C.Element == Encoding.CodeUnit}
| `- note: in call to initializer
3 |
[24/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!)
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:14:36: error: generic parameter 'C' could not be inferred
12 | completion(.success(response))
13 | } catch {
14 | let jsonResponse = String(decoding: data!, as: UTF8.self)
| `- error: generic parameter 'C' could not be inferred
15 | print(jsonResponse)
16 | completion(.failure(.error(jsonResponse)))
Swift.String.init:2:19: note: in call to initializer
1 | struct String {
2 | @inlinable public init<C, Encoding>(decoding codeUnits: C, as sourceEncoding: Encoding.Type) where C : Collection, Encoding : _UnicodeEncoding, C.Element == Encoding.CodeUnit}
| `- note: in call to initializer
3 |
[25/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
[26/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
[27/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
BUILD FAILURE 6.3 linux