Build Information
Failed to build DigicertSwift with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yasumoto/digicertswift.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/yasumoto/digicertswift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 10272f2 Cloud SSL request too
Cloned https://github.com/yasumoto/digicertswift.git
Revision (git rev-parse @):
10272f299a29b804ab7a3cce688360d934d9e90d
SUCCESS checkout https://github.com/yasumoto/digicertswift.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/yasumoto/digicertswift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module DigicertSwift
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:243:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
241 | let csr: String
242 | let signature_hash: SignatureHash
243 | let organization_units: [String]? = nil
| |- 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 including a 'organization_units' case to silence this warning
| `- note: make the property mutable instead
244 | let server_platform: ServerPlatform? = nil
245 | let profile_option: String? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:244:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
242 | let signature_hash: SignatureHash
243 | let organization_units: [String]? = nil
244 | let server_platform: ServerPlatform? = nil
| |- 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 including a 'server_platform' case to silence this warning
| `- note: make the property mutable instead
245 | let profile_option: String? = nil
246 | }
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:245:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
243 | let organization_units: [String]? = nil
244 | let server_platform: ServerPlatform? = nil
245 | let profile_option: String? = nil
| |- 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 including a 'profile_option' case to silence this warning
| `- note: make the property mutable instead
246 | }
247 |
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:253:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
251 | let organization: RequestOrganization
252 | let validity_years: Int
253 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
| |- 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 including a 'custom_expiration_date' case to silence this warning
| `- note: make the property mutable instead
254 | let comments: String? = nil
255 | let disable_renewal_notifications: Bool? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:254:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
252 | let validity_years: Int
253 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
254 | let comments: String? = nil
| |- 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 including a 'comments' case to silence this warning
| `- note: make the property mutable instead
255 | let disable_renewal_notifications: Bool? = nil
256 | let renewal_of_order_id: Int? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:255:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
253 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
254 | let comments: String? = nil
255 | let disable_renewal_notifications: Bool? = nil
| |- 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 including a 'disable_renewal_notifications' case to silence this warning
| `- note: make the property mutable instead
256 | let renewal_of_order_id: Int? = nil
257 | let disable_ct: Bool? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:256:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
254 | let comments: String? = nil
255 | let disable_renewal_notifications: Bool? = nil
256 | let renewal_of_order_id: Int? = nil
| |- 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 including a 'renewal_of_order_id' case to silence this warning
| `- note: make the property mutable instead
257 | let disable_ct: Bool? = nil
258 | }
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:257:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
255 | let disable_renewal_notifications: Bool? = nil
256 | let renewal_of_order_id: Int? = nil
257 | let disable_ct: Bool? = nil
| |- 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 including a 'disable_ct' case to silence this warning
| `- note: make the property mutable instead
258 | }
259 |
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:307:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
305 | let csr: String
306 | let signature_hash: SignatureHash
307 | let organization_units: [String]? = nil
| |- 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 including a 'organization_units' case to silence this warning
| `- note: make the property mutable instead
308 | let server_platform: ServerPlatform? = nil
309 | let profile_option: String? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:308:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
306 | let signature_hash: SignatureHash
307 | let organization_units: [String]? = nil
308 | let server_platform: ServerPlatform? = nil
| |- 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 including a 'server_platform' case to silence this warning
| `- note: make the property mutable instead
309 | let profile_option: String? = nil
310 | }
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:309:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
307 | let organization_units: [String]? = nil
308 | let server_platform: ServerPlatform? = nil
309 | let profile_option: String? = nil
| |- 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 including a 'profile_option' case to silence this warning
| `- note: make the property mutable instead
310 | }
311 |
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:316:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
314 | let organization: RequestOrganization
315 | let validity_years: Int
316 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
| |- 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 including a 'custom_expiration_date' case to silence this warning
| `- note: make the property mutable instead
317 | let comments: String? = nil
318 | let disable_renewal_notifications: Bool? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:317:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
315 | let validity_years: Int
316 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
317 | let comments: String? = nil
| |- 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 including a 'comments' case to silence this warning
| `- note: make the property mutable instead
318 | let disable_renewal_notifications: Bool? = nil
319 | let renewal_of_order_id: Int? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:318:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
316 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
317 | let comments: String? = nil
318 | let disable_renewal_notifications: Bool? = nil
| |- 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 including a 'disable_renewal_notifications' case to silence this warning
| `- note: make the property mutable instead
319 | let renewal_of_order_id: Int? = nil
320 | let disable_ct: Bool? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:319:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
317 | let comments: String? = nil
318 | let disable_renewal_notifications: Bool? = nil
319 | let renewal_of_order_id: Int? = nil
| |- 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 including a 'renewal_of_order_id' case to silence this warning
| `- note: make the property mutable instead
320 | let disable_ct: Bool? = nil
321 | }
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:320:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
318 | let disable_renewal_notifications: Bool? = nil
319 | let renewal_of_order_id: Int? = nil
320 | let disable_ct: Bool? = nil
| |- 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 including a 'disable_ct' case to silence this warning
| `- note: make the property mutable instead
321 | }
322 |
[4/4] Compiling DigicertSwift DigicertSwift.swift
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:78:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
76 |
77 | if let requestURL = URL(string: requestString) {
78 | let session = URLSession(configuration: URLSessionConfiguration.default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
79 | var request = URLRequest(url: requestURL)
80 |
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:78:77: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
76 |
77 | if let requestURL = URL(string: requestString) {
78 | let session = URLSession(configuration: URLSessionConfiguration.default)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
79 | var request = URLRequest(url: requestURL)
80 |
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:79:27: error: cannot find 'URLRequest' in scope
77 | if let requestURL = URL(string: requestString) {
78 | let session = URLSession(configuration: URLSessionConfiguration.default)
79 | var request = URLRequest(url: requestURL)
| `- error: cannot find 'URLRequest' in scope
80 |
81 | request.httpMethod = method
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:90:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
88 | let task = session.dataTask(with: request) {
89 | if let responded = $1 as? HTTPURLResponse {
90 | if responded.statusCode != 200 && responded.statusCode != 201 {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
91 | print("Non-200 response was: \(responded)")
92 | if let data = $0 {
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:90:65: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
88 | let task = session.dataTask(with: request) {
89 | if let responded = $1 as? HTTPURLResponse {
90 | if responded.statusCode != 200 && responded.statusCode != 201 {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
91 | print("Non-200 response was: \(responded)")
92 | if let data = $0 {
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:243:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
241 | let csr: String
242 | let signature_hash: SignatureHash
243 | let organization_units: [String]? = nil
| |- 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 including a 'organization_units' case to silence this warning
| `- note: make the property mutable instead
244 | let server_platform: ServerPlatform? = nil
245 | let profile_option: String? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:244:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
242 | let signature_hash: SignatureHash
243 | let organization_units: [String]? = nil
244 | let server_platform: ServerPlatform? = nil
| |- 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 including a 'server_platform' case to silence this warning
| `- note: make the property mutable instead
245 | let profile_option: String? = nil
246 | }
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:245:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
243 | let organization_units: [String]? = nil
244 | let server_platform: ServerPlatform? = nil
245 | let profile_option: String? = nil
| |- 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 including a 'profile_option' case to silence this warning
| `- note: make the property mutable instead
246 | }
247 |
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:253:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
251 | let organization: RequestOrganization
252 | let validity_years: Int
253 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
| |- 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 including a 'custom_expiration_date' case to silence this warning
| `- note: make the property mutable instead
254 | let comments: String? = nil
255 | let disable_renewal_notifications: Bool? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:254:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
252 | let validity_years: Int
253 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
254 | let comments: String? = nil
| |- 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 including a 'comments' case to silence this warning
| `- note: make the property mutable instead
255 | let disable_renewal_notifications: Bool? = nil
256 | let renewal_of_order_id: Int? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:255:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
253 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
254 | let comments: String? = nil
255 | let disable_renewal_notifications: Bool? = nil
| |- 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 including a 'disable_renewal_notifications' case to silence this warning
| `- note: make the property mutable instead
256 | let renewal_of_order_id: Int? = nil
257 | let disable_ct: Bool? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:256:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
254 | let comments: String? = nil
255 | let disable_renewal_notifications: Bool? = nil
256 | let renewal_of_order_id: Int? = nil
| |- 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 including a 'renewal_of_order_id' case to silence this warning
| `- note: make the property mutable instead
257 | let disable_ct: Bool? = nil
258 | }
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:257:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
255 | let disable_renewal_notifications: Bool? = nil
256 | let renewal_of_order_id: Int? = nil
257 | let disable_ct: Bool? = nil
| |- 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 including a 'disable_ct' case to silence this warning
| `- note: make the property mutable instead
258 | }
259 |
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:307:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
305 | let csr: String
306 | let signature_hash: SignatureHash
307 | let organization_units: [String]? = nil
| |- 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 including a 'organization_units' case to silence this warning
| `- note: make the property mutable instead
308 | let server_platform: ServerPlatform? = nil
309 | let profile_option: String? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:308:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
306 | let signature_hash: SignatureHash
307 | let organization_units: [String]? = nil
308 | let server_platform: ServerPlatform? = nil
| |- 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 including a 'server_platform' case to silence this warning
| `- note: make the property mutable instead
309 | let profile_option: String? = nil
310 | }
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:309:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
307 | let organization_units: [String]? = nil
308 | let server_platform: ServerPlatform? = nil
309 | let profile_option: String? = nil
| |- 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 including a 'profile_option' case to silence this warning
| `- note: make the property mutable instead
310 | }
311 |
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:316:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
314 | let organization: RequestOrganization
315 | let validity_years: Int
316 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
| |- 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 including a 'custom_expiration_date' case to silence this warning
| `- note: make the property mutable instead
317 | let comments: String? = nil
318 | let disable_renewal_notifications: Bool? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:317:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
315 | let validity_years: Int
316 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
317 | let comments: String? = nil
| |- 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 including a 'comments' case to silence this warning
| `- note: make the property mutable instead
318 | let disable_renewal_notifications: Bool? = nil
319 | let renewal_of_order_id: Int? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:318:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
316 | let custom_expiration_date: String? = nil //TODO Make this YYYY-MM-DD format
317 | let comments: String? = nil
318 | let disable_renewal_notifications: Bool? = nil
| |- 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 including a 'disable_renewal_notifications' case to silence this warning
| `- note: make the property mutable instead
319 | let renewal_of_order_id: Int? = nil
320 | let disable_ct: Bool? = nil
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:319:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
317 | let comments: String? = nil
318 | let disable_renewal_notifications: Bool? = nil
319 | let renewal_of_order_id: Int? = nil
| |- 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 including a 'renewal_of_order_id' case to silence this warning
| `- note: make the property mutable instead
320 | let disable_ct: Bool? = nil
321 | }
/host/spi-builder-workspace/Sources/DigicertSwift/DigicertSwift.swift:320:13: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
318 | let disable_renewal_notifications: Bool? = nil
319 | let renewal_of_order_id: Int? = nil
320 | let disable_ct: Bool? = nil
| |- 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 including a 'disable_ct' case to silence this warning
| `- note: make the property mutable instead
321 | }
322 |
BUILD FAILURE 6.0 linux