Build Information
Failed to build Janus, reference 0.0.7 (b40602), with Swift 6.2 for Linux on 18 Jun 2025 15:58:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path: $PWD
https://github.com/amarantedaniel/JanusSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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 CreateResponse.swift
[5/27] Compiling Janus KeepAliveResponse.swift
[6/27] Compiling Janus ListResult.swift
[7/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
[8/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
[9/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
[10/27] Compiling Janus LongPollStartResult.swift
[11/27] Compiling Janus LongPollWatchResult.swift
[12/27] Compiling Janus StartResponse.swift
[13/27] Compiling Janus KeepAliveRequest.swift
[14/27] Compiling Janus ListRequest.swift
[15/27] Compiling Janus StartRequest.swift
[16/27] Compiling Janus WatchRequest.swift
[17/27] Compiling Janus TrickleRequest.swift
[18/27] Compiling Janus AttachPluginResponse.swift
[19/27] Compiling Janus Plugin.swift
[20/27] Compiling Janus AttachPluginRequest.swift
[21/27] Compiling Janus CreateRequest.swift
[22/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
[23/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
[24/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
[25/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 |
[26/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 |
[27/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 |
BUILD FAILURE 6.2 linux