Build Information
Failed to build Janus, reference master (93acb3), with Swift 6.2 for Android on 18 Jun 2025 15:57:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amarantedaniel/JanusSwift.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 93acb32 Remove untrue sentence from readme
Cloned https://github.com/amarantedaniel/JanusSwift.git
Revision (git rev-parse @):
93acb32407dc46f2a1d8460b57961b2b30c798bf
SUCCESS checkout https://github.com/amarantedaniel/JanusSwift.git at master
========================================
Build
========================================
Selected platform: android
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.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 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
[5/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
[6/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
[7/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 |
[8/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 |
[9/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 |
[10/27] Compiling Janus WatchRequest.swift
[11/27] Compiling Janus TrickleRequest.swift
[12/27] Compiling Janus AttachPluginResponse.swift
[13/27] Compiling Janus KeepAliveRequest.swift
[14/27] Compiling Janus ListRequest.swift
[15/27] Compiling Janus StartRequest.swift
[16/27] Compiling Janus Plugin.swift
[17/27] Compiling Janus AttachPluginRequest.swift
[18/27] Compiling Janus CreateRequest.swift
[19/27] Compiling Janus CreateResponse.swift
[20/27] Compiling Janus KeepAliveResponse.swift
[21/27] Compiling Janus ListResult.swift
[22/27] Compiling Janus LongPollStartResult.swift
[23/27] Compiling Janus LongPollWatchResult.swift
[24/27] Compiling Janus StartResponse.swift
[25/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
[26/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
[27/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
BUILD FAILURE 6.2 android